Commit 4f550bb
fix: Include target_url in GitHub status for timed-out tests
When a test times out due to exceeding the maximum runtime limit, the
GitHub status was set to ERROR but without a target_url. This made it
impossible for users to click through to see what happened - they would
just see "ERROR" with no link.
Root cause: In delete_expired_instances(), update_status_on_github() was
called without the target_url parameter, which resulted in GitHub
displaying a null/empty URL.
Fix: Build the target_url (using url_for with fallback for non-request
context) and pass it to update_status_on_github() so users can navigate
to the test page to see results even when a test times out.
Discovered while investigating why CCExtractor/ccextractor#2007 Linux
test showed ERROR on GitHub with no clickable link. Test #7736 had run
for ~4 hours, executed 116 regression tests (105 failed), but was
canceled due to time limit. The test page existed and showed results,
but GitHub had no link to it.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent 603f340 commit 4f550bb
2 files changed
+47
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
474 | | - | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
475 | 482 | | |
476 | 483 | | |
477 | 484 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1517 | 1517 | | |
1518 | 1518 | | |
1519 | 1519 | | |
| 1520 | + | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
1520 | 1559 | | |
1521 | 1560 | | |
1522 | 1561 | | |
| |||
0 commit comments