Commit 163e343
fix: Prevent queue_test from overwriting completed test status
When multiple GitHub Actions workflows complete for the same commit,
the webhook handler was calling queue_test() for all platforms, even
if a test had already started or completed. This caused the GitHub
status to be overwritten from "All tests passed" back to "Tests queued".
Timeline of the bug:
1. Linux build completes → queue_test(linux) → "Tests queued"
2. Linux test completes → "All tests passed" (SUCCESS)
3. Windows build completes → queue_test(linux) called again
→ "Tests queued" overwrites the SUCCESS status!
Fix: Check if test already has progress before posting "Tests queued".
If the test has any progress entries, skip the status update.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 1e2e20a commit 163e343
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1321 | 1321 | | |
1322 | 1322 | | |
1323 | 1323 | | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
1324 | 1332 | | |
1325 | 1333 | | |
1326 | 1334 | | |
| |||
0 commit comments