Repository navigation
Add Console Update and admin data imports - #1811
Merged
Merged
Conversation
This was referenced Nov 6, 2026
Merged
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
The Console's Update page shows current and latest versions. Theme import now requires
admin; selecting a Theme and Eval judgments retainact. Local-path Eval preparation remains CLI-only. The guide and site describe the administration calls.Closes #1774
Evidence
Execution evidence
cargo test --test update console::admin_update_answers_after_installation_then_console_serves_the_new_version -- --exactfailed:
left: 404,right: 200,{"error":"Unknown Console API endpoint."}.After: Same test passes, including receipt-backed installation into a private copy, response completion, a Console re-exec serving version
99.0.0, and the requester's Console log entry.cargo test --test console admin::machine_changes_require_admin_and_import_theme_content_without_paths -- --exactfailed:
read: /update,left: 404,right: 403.After: Same test passes; read, act and run tokens receive 403 naming admin for every machine-changing route; Theme content round-trips and paths are refused.
python3 .thirdshift-review-lcdzfr/verify-admin-theme.pyfailed withAn admin-only session cannot reach Theme import controls; after the fix, the same command passes. The retained browser test imports and exports withadminalone on desktop and phone. The stale architecture assertion also failed before its correction and now passes, with a retained documentation regression.2c4f4073: full Rust tests, formatting, clippy with warnings denied, and both site and Console browser suites.scripts/affected-tests origin/issue-1768passed the site tests (134.63s) and locked build. Its Console stage had 137 passes and two 5-second sign-in navigation timeouts under parallel load;node --test console/tests/accounts.test.cjsthen passed all 4 tests alone. Focused update, admin HTTP, route/API parity, browser and documentation checks also passed./usr/bin/time -p cargo nextest run --test-threads 3started before CI finished and was stopped after exact-head CI passed: 812.41s including compilation, 288 passes before interruption. The three active tests were interrupted intentionally; this is not a passing local full-suite claim. The cancelled run's processes were reaped.Test seams: the binary's update CLI, the Console over HTTP using existing release fixtures, the route-table parity test, and signed-in browser controls at desktop and phone widths.
Visual evidence
Inbox navigation, 1440×900:
Inbox navigation, 390×844:
New Update page with the release fixture, desktop and phone:
Review coverage
Independent Standards and Spec reviews used issue-1768 at
a7d6e6247fc1c30f7ee993a5e24792af09b5309eas the fixed point and reviewed the final follow-up commit. Standards raised 2 findings, both fixed: admin-only Theme import controls and stale architecture wording. Spec raised 0 findings. Both axes read all 25 changed files, including generated manual hunks. No changed files were left unread; no generated output was excluded.Unaddressed findings
Standards
None. Both findings were reproduced and fixed; the regressions are retained.
Spec
None.
Security
None.
Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
The code change is reversible. Invoking Update replaces the installed binary through the existing receipt-checked installer and restarts the Console.
Blast Radius: Console
Administration requires admin; Theme-import callers with only act must use an admin token.
Built with codex codex-cli 0.164.0 · gpt-6.1-sol · xhigh