Skip to content

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

@rocktavious

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.

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