Skip to content

Add workflow that fails when Dependabot updates error#62

Merged
oschwald merged 1 commit into
mainfrom
wstorey/stf-1124-failures-to-run-dependabot-are-visible
Jul 22, 2026
Merged

Add workflow that fails when Dependabot updates error#62
oschwald merged 1 commit into
mainfrom
wstorey/stf-1124-failures-to-run-dependabot-are-visible

Conversation

@horgh

@horgh horgh commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Add a weekly scheduled workflow that fails when any "Dependabot Updates" run concluded with failure, startup_failure, or timed_out in the last 8 days, so a silently-broken Dependabot ecosystem surfaces as a red scheduled run that emails a human instead of only a red triangle in the Dependabot tab that nobody checks.

This is a copy of the reference change in #61, adjusted to run on Wednesdays and to also treat timed_out as a failure.

🤖 Generated with Claude Code

Dependabot version update failures only surface as a red triangle in
the Dependabot tab, which nobody checks. This weekly scheduled workflow
fails if any "Dependabot Updates" run concluded with failure,
startup_failure, or timed_out in the last 8 days, so a broken ecosystem
surfaces as a red scheduled run that emails a human.

See #61 for the reference implementation.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 22, 2026 16:12
@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@horgh, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: d5840a7f-be29-40b4-aaaf-cfdb3b2e8dfd

📥 Commits

Reviewing files that changed from the base of the PR and between 1b4c97f and 62493de.

📒 Files selected for processing (1)
  • .github/workflows/dependabot-failure-watcher.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch wstorey/stf-1124-failures-to-run-dependabot-are-visible

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a scheduled GitHub Actions workflow that monitors recent “Dependabot Updates” workflow runs and fails if any concluded with failure, startup_failure, or timed_out, making Dependabot breakages more visible via a red scheduled run.

Changes:

  • Introduces a weekly (Wednesday) scheduled workflow plus manual dispatch.
  • Uses gh run list + jq to detect failed Dependabot update runs within the last 8 days.
  • Fails the watcher job with an error summary when failed runs are found.

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

Comment on lines +29 to +33
run: |
since=$(date -u -d '8 days ago' +%Y-%m-%dT%H:%M:%SZ)
failures=$(gh run list \
--repo "$REPO" \
--workflow "Dependabot Updates" \
@oschwald
oschwald merged commit 2d4cb89 into main Jul 22, 2026
12 checks passed
@oschwald
oschwald deleted the wstorey/stf-1124-failures-to-run-dependabot-are-visible branch July 22, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants