Skip to content

Add bulk 'Reset all failed builds' admin button to versions page#549

Merged
frostebite merged 1 commit intomainfrom
feat/bulk-reset-admin-button
Mar 28, 2026
Merged

Add bulk 'Reset all failed builds' admin button to versions page#549
frostebite merged 1 commit intomainfrom
feat/bulk-reset-admin-button

Conversation

@frostebite
Copy link
Copy Markdown
Member

Summary

  • Adds a "Reset all failed builds" button to the versions page header, next to the existing "Clean up stuck builds" button
  • Calls the resetFailedBuilds endpoint (deployed in Fix Ingeminator stall and add resetFailedBuilds endpoint versioning-backend#85) with an empty payload to bulk-reset all builds stuck at max retries (failureCount >= 15)
  • Admin-only (requires admin: true claim), follows the exact same pattern as CleanUpStuckBuildsButton

This completes the admin UI toolchain for managing stuck builds:

Control Scope Location
Reset button (per-build) Single build Build row (#548)
Reset all failed builds All maxed-out builds Page header (this PR)
Clean up stuck builds Builds stuck in "started" Page header (existing)
Retry button (per-build) Single build Build row (existing)

Test plan

  • Sign in as admin on versions page
  • Verify "Reset all failed builds" button appears in header next to "Clean up stuck builds"
  • Click button, confirm it calls resetFailedBuilds endpoint and shows toast notification
  • Verify non-admin users do not see the button

🤖 Generated with Claude Code

Adds a header-level admin button next to the existing 'Clean up stuck builds'
button. Calls the resetFailedBuilds endpoint with an empty payload to reset
failure counts on all builds stuck at max retries (15+), allowing the
Ingeminator to retry them automatically.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 28, 2026

Warning

Rate limit exceeded

@frostebite has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 14 minutes and 59 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 14 minutes and 59 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: cf252b2d-885f-438a-948b-bd29befda277

📥 Commits

Reviewing files that changed from the base of the PR and between c8eb279 and 0331f4a.

📒 Files selected for processing (2)
  • src/components/docs/versions/image-versions.tsx
  • src/components/docs/versions/reset-all-failed-builds-button.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/bulk-reset-admin-button

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 and usage tips.

@frostebite frostebite enabled auto-merge (squash) March 28, 2026 21:48
@github-actions
Copy link
Copy Markdown

Cat Gif

@github-actions
Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 0331f4a):

https://game-ci-5559f--pr549-feat-bulk-reset-admi-2kygjvun.web.app

(expires Sat, 04 Apr 2026 21:48:59 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 1f0574f15f83e11bfc148eae8646486a6d0e078b

@frostebite frostebite merged commit d163771 into main Mar 28, 2026
10 checks passed
@frostebite frostebite deleted the feat/bulk-reset-admin-button branch March 28, 2026 22:47
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