Repository navigation
Name the moved nemar admin paths - #589
Merged
Merged
Conversation
This was referenced Nov 24, 2026
3 tasks done
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.
Merge with nemar-cli epic #2307's release (nemarOrg/nemar-cli#2307).
Summary
nemar-cli groups its admin commands by object (nemar-cli ADR 0135); an old path becomes a stub that exits 1 and names its new path. Four places here name an old path:
src/lib/mail-prefs-api.test.ts:134: the backend'sadmin_alert_not_self_servicesentence now saysnemar admin users email-preferences; the test's copy of it follows.src/lib/account-tier.ts:161(comment):nemar admin users approve <username>..context/handoff.md:52:nemar admin repull upstream-backfill --apply(it wasupstream-backfill --execute;--executestays a hidden alias).test/fixtures/bids-validation/README.md:8:nemar admin fleet e2e-test.Left as they are, on purpose:
cliApproveCommand(src/lib/publication-queue.ts:196, from Suggest the live publish approve command #585) buildsnemar admin repo publish approve, which works on CLIs from before and after the release becauserepostays an alias ofdataset. Switching it toadmin dataset publish approvewould break an administrator on an older CLI; it can follow once old CLIs are gone.test/fixtures/publication-review/*.jsonare captured Worker answers and namenemar admin publish ..., the path from before nemar-cli 0.10.34; they change when the fixtures are next captured from a Worker that runs the release.Test plan
vitest run src/lib/mail-prefs-api.test.ts: 13 passbiome checkon the two source files