Skip to content

[dropshot-api-manager] track per-file state and parse reasons in problems - #126

Merged
sunshowers merged 2 commits into
mainfrom
sunshowers/spr/dropshot-api-manager-track-per-file-state-and-parse-reasons-in-problems
Aug 15, 2026
Merged

[dropshot-api-manager] track per-file state and parse reasons in problems#126
sunshowers merged 2 commits into
mainfrom
sunshowers/spr/dropshot-api-manager-track-per-file-state-and-parse-reasons-in-problems

Conversation

@sunshowers

Copy link
Copy Markdown
Collaborator

Problems that track unparseable files now say what's going on in more detail.

Within a problem summary, ProblemKind's per-file variants gain a FileValidity enum so that tests can assert on that.

Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
Comment on lines 11 to +14
does not match the blessed (upstream) OpenAPI document: versioned-
health/versioned-health-2.0.0-ffffff.json.gitstub. This can
happen if you created this version of the API in this branch, then
merged with an upstream commit that also added the same version
number. In that case, you likely already bumped your local
version number (when you merged the list of supported versions in
Rust) and this file is vestigial. This tool can remove the unused
file for you.
health/versioned-health-2.0.0-ffffff.json.gitstub (could not
be parsed: Git stub "versioned-health/versioned-health-2.0.0-
ffffff.json.gitstub": resolved contents have hash "511899", but

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the duplicate file name here will be fixed in a subsequent commit

@sunshowers
sunshowers merged commit 164e16e into main Aug 15, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant