fix: provision every documented autorelease environment - #52
Conversation
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_365cb69d-0ad5-40a7-8359-76b2d7c1deb6) |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe autorelease configuration command now accepts repeatable environment names. It URL-encodes each name for GitHub API paths, applies protection settings, and validates administrator bypass per environment. The repository settings documentation includes both autorelease environments. ChangesAutorelease environment configuration
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@scripts/configure-github-autorelease`:
- Around line 129-134: URL-encode each environment name in the API path within
the environment loop, using quote(environment_name, safe="") before constructing
the repos/{args.repo}/environments/{...} endpoint. Preserve the existing API
call behavior while ensuring names containing slashes remain a single path
segment.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 185a3432-c235-4371-be84-4179a086230d
📒 Files selected for processing (2)
docs/repository-settings.mdscripts/configure-github-autorelease
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_f7791590-a9a9-4de3-b8b9-57ffe69deebf) |
The provisioner hardcoded php-autorelease-publish while docs/repository-settings.md documents both php-autorelease-publish and php-autorelease-canary. Re-provisioning from scratch would have recreated the missing canary environment. Environments are now named at the call site.
Summary by CodeRabbit
New Features
Documentation