fix(handoff): print the shard screen's real path #22
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/admin-shard-path"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The defect
The end-of-run handoff told operators to paste the four values at
<site>/admin/shard. That page moved when the shard screens became part of theuomodule: a module owns one path segment wherever it appears (websiteMODULE_SYSTEM.md§2.8), so the screen is/admin/uo/link, labelled Shard (uo-link) in the sidebar.The old path is worse than a 404. The SPA has no route for it, so it redirects to the dashboard — the link looks like it worked, and the values the operator was just told to paste have nowhere to go. Confirmed by navigating to it on a live deployment with the module installed and started.
The change
ADMIN_SHARD_PATH, carrying why it is not the obvious string — and the distinction that matters when someone next edits this: API routes are not affected by the module namespacing rule and keep/api/v1/admin/shard/*. Only the SPA URL a person types moved.--site-urlhelp text andupdate's protocol-change instruction — now read "Admin → Shard (uo-link)", matching the sidebar.cargo fmt --checkclean,cargo clippy --all-targets -- -D warningsclean,cargo test149 passed.Note on scope
Doc comments elsewhere in the crate still say "Admin → Shard" as shorthand for the screen; those are internal and not wrong, so they are left alone to keep the diff to the defect.
The matching documentation fix —
INSTALL.md§5 andPLAN.md, which both print this block — is docs#174.Releases
This repo releases from
mainon every push, so merging cuts a build whose handoff is correct. Until then, v0.1.0 — what operators download today — prints the old path; docs#174 adds a note saying so.How it was found
Writing the runicgateway.com installation journey (runicgateway.com#10): the printed link was pasted into a real deployment and landed on the dashboard.
AI-assisted: written with Claude Code (Opus 5).
🤖 Generated with Claude Code