chore(spec): refresh spec for forensic endpoints + fix spec-check -o flag#13
Merged
Conversation
Catches up the bundled OpenAPI copy to mono main (adds the 5 forensic read endpoints: timeline, trace, rule-evaluations, transitions, policy snapshot). No resources or data sources wire these yet — forensic reads are diagnostic-only and don't map to Terraform resources — but keeping the generated types current lets a future plan/apply flow surface them via a data source if we ever want to. Also fixes the spec-check workflow: `gh api ... -o <file>` has never worked (gh api has no -o flag), so every auto-dispatch would have failed on the download step. Switched to a `> <file>` redirect. Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
internal/generated/types.go. No resources or data sources consume them — forensic reads are diagnostic-only and don't map to Terraform resources — but this keeps the generated types current and silences drift warnings.spec-check.yml: thegh api ... -o <file>command has never worked (gh api has no-oflag), so any spec-update auto-dispatch that reached this repo would have failed on the download step. Switched to a> <file>redirect.Test plan
go build ./...green locallygo test ./...green locally (api + provider + datasources + resources)Made with Cursor