comment once per pr and agent while red, clear the marker on a green build
This commit is contained in:
parent
0bc5a7e475
commit
9fc0e3bf90
1 changed files with 234 additions and 49 deletions
|
|
@ -227,11 +227,12 @@ updates. Each round adds a build and deploy node per failing agent.
|
|||
|
||||
When the build belongs to a merged config PR and `nix` exited with an error or hit
|
||||
its deadline, the controller also comments once on that PR, with its forge
|
||||
account: the agent, the `internal/meta` commit, `nix`'s last lines (at most 4000
|
||||
account: the agent, the `internal/meta` commit of the first red build, `nix`'s last lines (at most 4000
|
||||
bytes), and that the deploy waits and the swarm builds it again every round. A comment
|
||||
carries a marker line with the agent and the commit, and the controller posts
|
||||
only if the PR holds no comment with that marker, so the retry rounds stay quiet
|
||||
until `internal/meta` moves. A `no verdict` failure, and a build that isn't a
|
||||
carries a marker line with the agent, and the controller posts only if the PR
|
||||
holds no comment with that marker. The retry rounds stay quiet whatever commit
|
||||
they build, and the latest error stays on the Jobs page. A green build of the
|
||||
agent for that PR rewrites the marker, so a later red comments again. A `no verdict` failure, and a build that isn't a
|
||||
merged PR's (a new agent, the pin fan-out), leave no comment. When the forge
|
||||
refuses the comment, the controller logs a warning and the node ends as before.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue