Watch
1
0
Fork
You've already forked RedFlag
0
RedFlag/server
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
..
cmd/server swap uuid lib, windows installer pass, README/RAF copy 2026-06-03 15:39:49 -04:00
internal 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
docker-entrypoint.sh refactor: rename aggregator-agent to agent for public release 2026-05-21 13:19:18 -04:00
Dockerfile feat: helper distribution pipeline + dnf discovery/resolve fixes for live gate 2026-05-29 22:04:38 -04:00
go.mod swap uuid lib, windows installer pass, README/RAF copy 2026-06-03 15:39:49 -04:00
go.sum swap uuid lib, windows installer pass, README/RAF copy 2026-06-03 15:39:49 -04:00