Repository navigation
Theme remaining Console sign-in and set-password replies - #1345
Merged
Merged
Conversation
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
Preserve status codes, message text, retry links and
Retry-After: 60. Reuse the existing password-off notice.Closes #1167
Evidence
Before: Each regression failed against its bare reply: missing Theme for the two 401s and 429;
text/plaininstead of HTML for the 503.After: Each focused regression passed after its implementation:
Final validation passed:
cargo fmt --check;cargo clippy --all-targets -- -D warnings;CARGO_INCREMENTAL=0 scripts/affected-tests main(3,037 passed, 68 skipped).The initial full-suite attempt stopped on disk exhaustion in Eval Arm fixtures after 428 passes. Cleaned this worktree's Cargo outputs and disabled incremental caching for the rerun.
Test seams
/set-passwordfor an invalid code and disabled email setup; POST/sign-infor refusal and slowdown. Observe the full themed page, stylesheet, message, links, status andRetry-After.Unaddressed findings
Standards
None. The independent review raised 0 findings.
Spec
None. The independent review raised 0 findings.
Security
None. Guidance-mode review of
f202d45a...HEADplus supporting code found no introduced finding: the four replies render only static strings with no attacker input interpolated, status codes andRetry-Afterare unchanged, and the configured theme is allowlist-validated at config load and HTML-escaped at render. Throwaway reflection probes against the/sign-inand/set-passworderror replies passed and were removed; no regression test was kept because no finding was demonstrated.Security review outcome
No unaddressed introduced findings.
Review coverage
Standards and Spec each read all six changed files. Unread changed files: none. Generated-output exclusions: none.
Merge Danger
Door: two-way
Revert the reply rendering and its tests to roll back.
Blast Radius: Console
The sign-in and set-password error pages.
Built with codex codex-cli 0.164.0 · gpt-6.1-sol · xhigh