fix: multiple test-workflow bugs — draft wipe, dark date pickers, Jira status strings, Tempo gate, hold timer
Aegis CI / lint-and-test (push) Has been cancelled
Snyk Security Scan / Python vulnerabilities (backend) (push) Has been cancelled
Snyk Security Scan / npm vulnerabilities (frontend) (push) Has been cancelled
Snyk Security Scan / Docker image vulnerabilities (backend) (push) Has been cancelled
Aegis CI / lint-and-test (push) Has been cancelled
Snyk Security Scan / Python vulnerabilities (backend) (push) Has been cancelled
Snyk Security Scan / npm vulnerabilities (frontend) (push) Has been cancelled
Snyk Security Scan / Docker image vulnerabilities (backend) (push) Has been cancelled
- Fix the red/blue draft form losing unsaved fields (e.g. execution_start_time) whenever an evidence upload refetches the test — the hydration effect now runs once per test, not on every refetch. - Add color-scheme: dark so native date/time picker popups match the app theme instead of rendering white. - Fix _STATE_TO_JIRA_STATUS: real Jira statuses are 'To Do' and 'Red Team test review', not 'To-Do' and 'RT Test Review' — confirmed live against the actual workflow transitions, which is why Submit to Blue Team never moved the ticket past 'In Progress'. - Tempo worklog sync was silently blocked by TEMPO_ENABLED defaulting to False with no admin-facing toggle, even after configuring a Tempo token via Settings. Now bypassed once an admin or personal token is actually configured, mirroring Jira's DB-backed enabled flag. - Hold now actually pauses the running phase timer (paused_at), and Resume accumulates the held duration into red/blue_paused_seconds — previously the timer kept counting through a hold.
This commit is contained in:
@@ -379,11 +379,11 @@ _STATE_EMOJI: dict[str, str] = {
|
||||
# (reopen_blue_review), that's pushed as "In Progress" directly instead of
|
||||
# through this table — see push_bt_review_reopened().
|
||||
_STATE_TO_JIRA_STATUS: dict[str, str] = {
|
||||
"draft": "To-Do",
|
||||
"draft": "To Do",
|
||||
"red_executing": "In Progress",
|
||||
"red_review": "RT Test Review",
|
||||
"red_review": "Red Team test review",
|
||||
"blue_evaluating": "Queued Blue Team",
|
||||
"blue_review": "Blue Team Test Review",
|
||||
"blue_review": "Blue Team test review",
|
||||
"in_review": "Validation",
|
||||
"validated": "Done",
|
||||
"rejected": "Rejected",
|
||||
|
||||
Reference in New Issue
Block a user