Watch
1
0
Fork
You've already forked RedFlag
0
RedFlag/web
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Fimeg 6c331e909b update_logs.result: add started/partial/running — fix agent-report badge semantics
The schema only allowed success/failed/partial. The agent sends 'started' as a
progress report and 'partial_failure' when a multi-scanner scan had mixed
results. Both were being remapped to 'failed' by the server's fallthrough
default, so the timeline showed a red FAILED badge for 'starting agent update'
and for scans where only some scanners errored.

Two-value migration (no-data):
  - Add 'started' and 'running' to the update_logs.result CHECK constraint
  - Add them to isValidResult so they pass through without remapping
  - Fix the fallthrough switch: partial_failure -> partial (not -> failed)
  - Clean up if/else chain to a switch while we're in there

UI:
  - STARTED badge (blue spinner) for progress reports
  - PARTIAL badge (amber triangle) for partial results
  - Both ChatTimeline and HistoryTimeline updated

Event renderer:
  - 'started' -> 'Agent binary update initiated'
  - 'partial' for install/update_agent cases
2026-06-05 09:13:42 -04:00
..
public ui: replace stale vite.svg reference with RedFlag favicon 2026-05-22 14:20:26 -04:00
src update_logs.result: add started/partial/running — fix agent-report badge semantics 2026-06-05 09:13:42 -04:00
.env.example refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
Dockerfile refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
index.html ui: replace stale vite.svg reference with RedFlag favicon 2026-05-22 14:20:26 -04:00
nginx.conf refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
package-lock.json fix(web): TypeScript errors for Vite 8 + Rolldown 2026-05-24 20:18:16 -04:00
package.json fix(web): TypeScript errors for Vite 8 + Rolldown 2026-05-24 20:18:16 -04:00
postcss.config.js refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
tailwind.config.js v0.2.1.3: fix dry-run version targeting, migration 046, helper cgroup access, UI refresh 2026-05-31 11:52:36 -04:00
tsconfig.json refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
tsconfig.node.json refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
vite.config.ts refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00