Skip to content

Commit 2c6c7d8

Browse files
traskCopilot
andauthored
Recover stalled dashboard publisher runs (#440)
* Recover dashboard publishers across PR and backfill runs Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Shadow candidate b58712096ada4b438171c0345a533b81 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix review findings in #440 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix review findings in #440 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix review findings in #440 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix review findings in #440 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix review findings in #440 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix review findings in #440 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix review findings in #440 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix review findings in #440 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix review findings in #440 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix review findings in #440 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix review findings in #440 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix review findings in #440 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix review findings in #440 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix review findings in #440 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix review findings in #440 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * Fix review findings in #440 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: trask <218610+trask@users.noreply.github.com>
1 parent 66a8adb commit 2c6c7d8

3 files changed

Lines changed: 1141 additions & 39 deletions

File tree

‎.github/scripts/pull-request-dashboard/WEBHOOK_SETUP.md‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,19 @@ unfinished job must have waited without a runner or started step for at least
6767
30 minutes. The watchdog covers queue drains, hourly dashboard backfills,
6868
targeted dashboard dispatches, and webhook deployments. Targeted dispatch
6969
run names expose their concurrency group so the watchdog does not pair
70-
unrelated repository or pull request updates.
70+
unrelated repository or pull request updates. Queued publishers also match by
71+
repository using their job names and the targeted run's repository. A
72+
repository-wide publisher or backfill can replace a stalled publisher for any
73+
pull request, but a targeted publisher only replaces a stalled publisher for the
74+
same pull request, because it would not deliver the other pull request. Publisher enqueue times determine which
75+
request is newer, even when its backfill started earlier or is still processing
76+
other repositories. A queued failure notification does not affect this matching. A newer manual backfill can unblock an automated publisher,
77+
but the watchdog does not cancel manual runs. Each invocation lists jobs for at most 16 runs per publisher workflow: the stale runs
78+
rotate fairly, half of the rest goes to the newest runs, and the other half rotates
79+
through older runs, including manual backfills. The older-run rotation advances only
80+
after a complete sweep of the stale runs, so every stale run is eventually checked
81+
against every older run. Publisher jobs are fetched again
82+
before cancellation to check for a newly assigned runner or started step.
7183

7284
Disable Deploy Previews. PR preview deploys are unused and only add noise to
7385
PRs. In Netlify, go to **Project configuration** -> **Build & deploy** ->

0 commit comments

Comments
 (0)