Skip to content

Name the moved nemar admin paths - #589

Merged
neuromechanist merged 1 commit into
stagingfrom
chore/admin-tree-paths
Nov 26, 2026
Merged

neuromechanist merged 1 commit into
stagingfrom
chore/admin-tree-paths

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

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's admin_alert_not_self_service sentence now says nemar 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 was upstream-backfill --execute; --execute stays 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) builds nemar admin repo publish approve, which works on CLIs from before and after the release because repo stays an alias of dataset. Switching it to admin dataset publish approve would break an administrator on an older CLI; it can follow once old CLIs are gone.
  • test/fixtures/publication-review/*.json are captured Worker answers and name nemar 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 pass
  • biome check on the two source files

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying nemar-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2d5144b
Status:🚫  Build failed.

View logs

@neuromechanist
neuromechanist merged commit 51472d1 into staging Nov 26, 2026
3 of 4 checks passed
@neuromechanist
neuromechanist deleted the chore/admin-tree-paths branch November 26, 2026 19:16
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