Skip to content

[dropshot-api-manager] explain how to fix validation failures on blessed versions - #175

Merged
sunshowers merged 1 commit into
jj-stack/dropshot-api-manager-types-add-validationcontext-version-rmuopzuvfrom
jj-stack/dropshot-api-manager-explain-how-to-fix-validation-failures-on-blessed-versions-zvwsqvxt
Nov 6, 2026
Merged

sunshowers merged 1 commit into
jj-stack/dropshot-api-manager-types-add-validationcontext-version-rmuopzuvfrom
jj-stack/dropshot-api-manager-explain-how-to-fix-validation-failures-on-blessed-versions-zvwsqvxt

Conversation

@sunshowers

Copy link
Copy Markdown
Collaborator

When a blessed version fails validation, the only output was the error itself followed by "fix failures, then run generate to update". That doesn't help, since a blessed document can't be regenerated.

Attach a help line to validation errors on blessed versions.

  • In all cases, it says the fix is to add a new API version.
  • For an older blessed version, it also explains how to skip rules that are newer than that version.

Skipping every blessed version, which the current docs suggest, would also skip the latest blessed version, so it isn't what the help recommends. (We would really like the latest version to pass validation, whether or not it is blessed!)

@sunshowers
sunshowers added this pull request to stack #176 November 6, 2026 04:18
@sunshowers

sunshowers commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator Author

Revision history

Version Changes from previous version Submitted commit
3 (current) 57bf41fa..2eade35b 2eade35b
2 f01cd1d3..57bf41fa 57bf41fa
1 Initial version f01cd1d3

Generated by jj-stack from this pull request's force-push history.

@sunshowers
sunshowers force-pushed the jj-stack/dropshot-api-manager-explain-how-to-fix-validation-failures-on-blessed-versions-zvwsqvxt branch from f01cd1d to 57bf41f Compare November 6, 2026 04:20
…sed versions

When a blessed version fails validation, the only output was the
error itself followed by "fix failures, then run generate to update".
That doesn't help, since a blessed document can't be regenerated.

Attach a help line to validation errors on blessed versions.

* In all cases, it says the fix is to add a new API version.
* For an older blessed version, it also explains how to skip rules that
  are newer than that version.

Skipping every blessed version, which the current docs suggest, would also skip
the latest blessed version, so it isn't what the help recommends. (We would really
like the latest version to pass validation, whether or not it is blessed!)
@sunshowers
sunshowers force-pushed the jj-stack/dropshot-api-manager-explain-how-to-fix-validation-failures-on-blessed-versions-zvwsqvxt branch from 57bf41f to 2eade35 Compare November 6, 2026 04:26
@sunshowers
sunshowers merged commit b72269a into main Nov 6, 2026
6 checks passed
@sunshowers
sunshowers deleted the jj-stack/dropshot-api-manager-explain-how-to-fix-validation-failures-on-blessed-versions-zvwsqvxt branch November 6, 2026 04:32
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