Skip to content

Commit feb2360

Browse files
ivanbasovclaude
andauthored
fix(ci): bypass commit-age gate when retrying long-running tests (#33)
* fix(ci): disable torch.compile in orientation training to prevent segfault torch.compile=on combined with DataLoader spawn workers during LER validation causes a segfault (20 leaked semaphores, core dumped). Set PREDECODER_TORCH_COMPILE=0 for the Train all orientations step. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * Revert "fix(ci): disable torch.compile in orientation training to prevent segfault" This reverts commit 7f0f6c8. * fix(ci): bypass commit-age gate when retrying long-running tests `github.run_attempt > 1` short-circuits the 24 h commit check so that "Re-run all jobs" from the UI always executes the test jobs, even on quiet days with no recent pushes to main. Signed-off-by: Ivan Basov <ibasov@nvidia.com> Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Signed-off-by: Ivan Basov <ibasov@nvidia.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8ebf31e commit feb2360

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/long-running-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
# Schedule: daily at 02:00 UTC, but skipped if no commits landed on main
1515
# in the last 24 hours (saves GPU runner time on quiet days).
1616
# Manual dispatch always runs regardless of commit activity.
17+
# Re-run attempts (run_attempt > 1) always run, bypassing the commit check —
18+
# this lets you retry failed jobs from the UI even on quiet days.
1719
# All jobs use Python 3.13 (multi-version coverage is handled by short-tier CI).
1820
# See code/tests/README_TEST_TIERS.md for the tier model.
1921

@@ -54,6 +56,9 @@ jobs:
5456
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
5557
echo "has_changes=true" >> "$GITHUB_OUTPUT"
5658
echo "Manual dispatch — always run."
59+
elif [[ "${{ github.run_attempt }}" -gt 1 ]]; then
60+
echo "has_changes=true" >> "$GITHUB_OUTPUT"
61+
echo "Re-run attempt ${{ github.run_attempt }} — always run."
5762
else
5863
SINCE="$(date -u -d '24 hours ago' '+%Y-%m-%dT%H:%M:%SZ' 2>/dev/null || date -u -v-24H '+%Y-%m-%dT%H:%M:%SZ')"
5964
COUNT=$(git log --oneline --since="$SINCE" origin/main | wc -l)

0 commit comments

Comments
 (0)