Repository navigation
Release review fixes: list against an old Worker - #1797
Merged
Merged
Conversation
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR1797Version: 🤖 Updated on each push. |
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
Fixes from the 0.10.19 production-safety review, so the release ships with them.
nemar admin publish listis correct against a Worker that predates this release. The new default scope sends?status=requested,approving,blocked; the 0.10.18 Worker matches that whole string and shows an empty list while requests exist, and ignores--search. When more than one status is wanted and the answer is empty, the CLI now asks once per status and merges (a no-op on a new Worker, whose empty answer is true), and it checks a search client-side with the same fields and ASCII case folding as the Worker's SQL (shared/publish-list-search.ts, proved against bun:sqlite on a corpus of tricky cases).--jsonkeeps its shape.dataset publish withdrawandadmin verifyagainst an old Worker say that the backend does not support the command yet and exit 1, without the bug-report invitation or a misleading "User not found" hint.list --jsonnow returning active requests by default is stated as a behavior change for scripts, and the deploy-order statements are rewritten to what the code does (publish and deploy are separate workflows minutes apart, in either order; what the new CLI does against an old Worker per command; the ADR 0105 attribution window).Test plan
noUndeclaredVariables,changelog-format,adr-index, and the touched and neighbouring publish and admin CLI suites