Repository navigation
fix: vendor updated openapi.json so BugSource accepts new backend variants - #255
Merged
Merged
Conversation
…iants The backend now emits `review.source` values of `jira`, `github_issue`, and `bug_fix_check`, but the vendored `openapi.json` only declared `review` and `linear`. Progenitor's generated `BugSource` enum therefore rejected real responses, breaking every command that deserializes a review — including `bugs list --status resolved`, `bugs list --status dismissed`, and `bugs show` against any review-bearing bug. Run `cargo xtask generate-openapi` to pull the updated spec from `https://api.detail.dev/public/v1/openapi.json`. The only delta is the three new `BugSource` variants. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
sachiniyer
temporarily deployed
to
integration-tests
April 21, 2026 10:08 — with
GitHub Actions
Inactive
1 of 2 tasks
sachiniyer
added a commit
that referenced
this pull request
Apr 21, 2026
## Summary Patch release shipping #255, which unbreaks `bugs list --status resolved|dismissed` and `bugs show` for reviews sourced from the backend's new `jira`, `github_issue`, and `bug_fix_check` integrations. On merge, the release workflow will tag `v0.2.1` and publish platform artifacts via cargo-dist. ## Test plan - [x] `cargo build` succeeds with version 0.2.1 - [ ] Tag `v0.2.1` is created on merge and release workflow publishes artifacts 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/usedetail/cli/pull/256" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open in Devin Review"> </picture> </a> <!-- devin-review-badge-end --> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4 of 6 tasks
This branch was previously deployed
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
review.sourcevalues ofjira,github_issue, andbug_fix_checkon real bug responses, but the vendoredopenapi.jsononly declaredreviewandlinear.BugSourceenum therefore rejected the actual payload, causing every command that deserializes a review to fail withInvalid Response Payload: unknown variant 'github_issue':detail bugs list --status resolveddetail bugs list --status dismisseddetail bugs list --vulns/--introduced-by(they pull all statuses internally)detail bugs show <bug_id>against any review-bearing bugcargo xtask generate-openapito pull the updated spec fromhttps://api.detail.dev/public/v1/openapi.json. The only delta is the three newBugSourcevariants; progenitor will regenerate the matching Rust enum on build.Test plan
cargo buildsucceeds (progenitor regeneratesBugSourcewith the new variants)cargo run -- bugs list usedetail/cli --status resolved --format jsonnow returns valid JSON instead ofFailed to fetch bugs from repositorycargo run -- bugs list usedetail/cli --status dismissed --format jsonsamebugs_list_all_statusesagainst the live API) go greenCustomer impact
The current 0.2.0 release is broken for any repo with reviews sourced from the new backend integrations. Recommend cutting a patch release after this lands.
🤖 Generated with Claude Code