tftsr-devops_investigation/src/pages
Shaun Arman 1a9c3bd65a
All checks were successful
Test / rust-fmt-check (pull_request) Successful in 1m20s
Test / frontend-tests (pull_request) Successful in 1m41s
Test / frontend-typecheck (pull_request) Successful in 1m43s
Test / rust-clippy (pull_request) Successful in 3m7s
PR Review Automation / review (pull_request) Successful in 4m11s
Test / rust-tests (pull_request) Successful in 4m27s
fix(sudo): enforce username scope and singleton row in sudo_config
Fixes two bugs identified in the AI code review:

1. INSERT OR REPLACE with a freshly generated UUID never matches the
   existing primary key, so it appended rows instead of replacing.
   Switch to DELETE-then-INSERT to guarantee exactly one row.

2. Username defaulted to empty string. Resolve it to the current OS
   user (USER/LOGNAME env vars, fallback 'local') so credentials are
   always bound to a specific user identity.

   test_sudo_password now passes -u <username> to sudo so the test
   runs scoped to the stored user, not an arbitrary one.

UI: show the configured username prominently in status; relabel the
field and add a scope hint below it.

Tests: test_set_sudo_singleton_delete_then_insert, three username
resolution tests.
2026-05-31 15:46:29 -05:00
..
Dashboard feat(ui): fix model dropdown, auth prefill, PII persistence, theme toggle, and Ollama bundle 2026-04-05 19:30:41 -05:00
History fix: lint fixes and formatting cleanup 2026-04-09 20:42:40 -05:00
LogUpload feat(upload): add safe file extension validation and binary text extraction 2026-05-31 13:50:59 -05:00
NewIssue fix: lint fixes and formatting cleanup 2026-04-09 20:42:40 -05:00
Postmortem feat: wire incident response methodology into AI and record triage events 2026-04-19 18:13:47 -05:00
RCA feat: wire incident response methodology into AI and record triage events 2026-04-19 18:13:47 -05:00
Resolution fix: UI contrast issues and ARM64 build failure 2026-04-03 08:05:58 -05:00
Settings fix(sudo): enforce username scope and singleton row in sudo_config 2026-05-31 15:46:29 -05:00
Triage feat(ai): add devops-incident-responder agent with domain auto-detection 2026-04-29 19:41:47 -05:00