mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-19 06:34:43 +01:00
Reused CI runs that passed only after a re-run are now marked instead of shown as clean passes (GST-3054) (#4473)
When /ship reuses a CI run that passed only after its failed jobs were re-run, its CI line and its final summary line now add `rerun= attempts=`. Why: gbrain's CI now records which test files passed on a re-run (gbrain#9690), and a pass on a re-run must read as flaky, never as clean. Nothing to do: runs without that record print as before; a malformed record is refused with `CI_CARRY_RERUN_MALFORMED`. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Review-Finding: p1/outside-voice#1 reader=outside-voice Review-Finding: p1/outside-voice#2 reader=outside-voice Review-Finding: p1/adversarial-native#2 reader=adversarial-native Review-Finding: p1/red-team#1 reader=red-team
This commit is contained in:
1 parent
237371474b
commit
0a6bb42e74
17 files changed
+270
-17
No files matched your search
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"run_id": 6,
|
||||
"run_attempt": 2,
|
||||
"event": "workflow_dispatch",
|
||||
"sha": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
||||
"tree": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
||||
"files": [
|
||||
"test/a.test.ts",
|
||||
"test/b.test.ts",
|
||||
"test/c.test.ts"
|
||||
],
|
||||
"tests": 60,
|
||||
"os": "Linux",
|
||||
"rerun_files": "test/b.test.ts",
|
||||
"attempts": [
|
||||
1,
|
||||
2
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"run_id": 4,
|
||||
"run_attempt": 1,
|
||||
"event": "workflow_dispatch",
|
||||
"sha": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
||||
"tree": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
||||
"files": [
|
||||
"test/a.test.ts",
|
||||
"test/b.test.ts",
|
||||
"test/c.test.ts"
|
||||
],
|
||||
"tests": 60,
|
||||
"os": "Linux"
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"run_id": 5,
|
||||
"run_attempt": 2,
|
||||
"event": "workflow_dispatch",
|
||||
"sha": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
||||
"tree": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
||||
"files": [
|
||||
"test/a.test.ts",
|
||||
"test/b.test.ts",
|
||||
"test/c.test.ts"
|
||||
],
|
||||
"tests": 60,
|
||||
"os": "Linux",
|
||||
"rerun_files": [
|
||||
"test/b.test.ts",
|
||||
"test/c.test.ts"
|
||||
],
|
||||
"attempts": [
|
||||
1,
|
||||
2
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user