Skip to content

ci(aggregator): extend poll deadline 8m → 30m (post-bootstrap fix)#413

Merged
lusoris merged 1 commit intomasterfrom
ci/aggregator-extend-timeout
May 5, 2026
Merged

ci(aggregator): extend poll deadline 8m → 30m (post-bootstrap fix)#413
lusoris merged 1 commit intomasterfrom
ci/aggregator-extend-timeout

Conversation

@lusoris
Copy link
Copy Markdown
Owner

@lusoris lusoris commented May 5, 2026

Summary

First post-#410 run on PR #400 hit the 8-minute poll deadline while the Ubuntu gcc/clang DNN + Windows MSVC builds were still IN_PROGRESS, and the aggregator declared them FAILURE. They would have completed successfully a few minutes later.

The fork's slowest required builds take 12+ minutes; 30-minute poll deadline gives ~2× headroom. Job-level timeout-minutes raised 15 → 35 so the GitHub-side kill doesn't pre-empt the poll.

No semantic change to the aggregator logic; same accept-set (success/skipped/neutral, plus "never appeared" = path-filter rejection). Single-file numeric tweak.

Six deep-dive deliverables

  • (1) Research digest: no digest needed: trivial timeout-tuning fix; no architectural decision
  • (2) Decision matrix: no alternatives: only-one-way fix — make the deadline match real build times
  • (3) AGENTS.md invariant note: no rebase-sensitive invariants: single workflow file change
  • (4) Reproducer / smoke-test command: python3 -c "import yaml; yaml.safe_load(open('.github/workflows/required-aggregator.yml'))" — clean
  • (5) CHANGELOG fragment: no changelog needed: fixes a CI policy file's tunable that landed in the same release window via #410; user-visible behaviour unchanged
  • (6) Rebase note: no rebase impact: workflow-only change to fork-local CI

Test plan

🤖 Generated with Claude Code

First post-#410 run on PR #400 hit the 8-minute poll deadline while
the Ubuntu gcc/clang DNN + Windows MSVC builds were still IN_PROGRESS
and were declared FAILURE by the aggregator (their actual conclusion
would have been success a few minutes later).

The fork's slowest required builds take 12+ minutes; 30-minute poll
deadline gives ~2x headroom. Job-level timeout-minutes raised to 35
so the GitHub-side kill doesn't pre-empt the poll.

No semantic change to the aggregator logic; same accept-set
(success/skipped/neutral, plus "never appeared" = path-filter
rejection). Single-line numeric tweak.
Copilot AI review requested due to automatic review settings May 5, 2026 22:30
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the Required Checks Aggregator workflow’s timing parameters so it doesn’t prematurely fail while slow required builds are still running, aligning the aggregator’s polling window with the repo’s real-world CI runtimes.

Changes:

  • Increased the aggregator job timeout-minutes from 15 → 35.
  • Increased the in-script polling deadline from 8 minutes → 30 minutes and expanded the explanatory comment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +75 to +78
// applicable (acceptable). A run still IN_PROGRESS at deadline
// is treated as failure — extend `deadline` if your matrix is
// slower. The Ubuntu gcc/clang DNN + Windows MSVC builds can
// take 12+ minutes each; 30 minutes covers them with headroom.
Comment on lines +72 to +78
// Poll up to 30 minutes for sibling workflows to register their
// check_runs and reach a terminal state. A run that has never
// appeared after the timeout is treated as path-filter-not-
// applicable (acceptable). A run still IN_PROGRESS at deadline
// is treated as failure — extend `deadline` if your matrix is
// slower. The Ubuntu gcc/clang DNN + Windows MSVC builds can
// take 12+ minutes each; 30 minutes covers them with headroom.
@lusoris lusoris merged commit f4522fb into master May 5, 2026
59 checks passed
@lusoris lusoris deleted the ci/aggregator-extend-timeout branch May 5, 2026 22:50
@lusoris lusoris mentioned this pull request May 6, 2026
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants