Skip to content
This repository was archived by the owner on Sep 10, 2026. It is now read-only.
This repository was archived by the owner on Sep 10, 2026. It is now read-only.

As a user, I would like to ask AI about the deploy events information in OpsLevel #35

Description

@rocktavious

As a user I would like to use the following prompt

Can you tell me when that last deploy happened for service "<insert service alias>" and whom it was done by?

The problem is currently this information is not exposed by opslevel-go. After investigating if we can expose this information we ran into issues where opslevel-go has never yet been used to fill input values of type ISO8601DateTime its only ever been used as a response field or nested field in input. This presents a problem because we need to implement a custom scaler type with special generation functions that generates GraphQL like

query DeployEventsList($end:ISO8601DateTime!

instead of

query DeployEventsList($end:Time!

or

query DeployEventsList($end:String!

both of which our API rejects for wrong type information. I cannot find a work around for this so it's going to require some effort to add this to opslevel-go properly.

Once we have done that we can implement this feature with quite ease in the MCP.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions