fix(renovate): pin python to 3.13 and harden config rules#929
Conversation
- Revert python-version to 3.13 in setup-claude-code-action/action.yml for compatibility with upstream anthropics/claude-code-action. - Revert constraints.python to 3.13 in renovate.json. - Replace broken 'matchManagers: [tool-constraint]' rule (which never matched anything; tool-constraint is a depType, not a manager id) with 'matchDepTypes: [tool-constraint], enabled: false'. This is the actual root cause that allowed renovate to bump constraints.python from 3.13 to 3.14 in #908. - Add 'matchPackageNames: [python], allowedVersions: 3.13.x' as a hard version cap. - Add file-scoped 'automerge: false' rule for .github/actions/setup-claude-code-action/action.yml as a tripwire so any future bump in this file requires manual review. Rules are placed after the 'External dependencies' catch-all so that later-rule-wins semantics override the catch-all's automerge: true.
|
Warning Review limit reached
More reviews will be available in 56 minutes and 10 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the 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 include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe PR downgrades Python from 3.14 to 3.13 in the setup action and Renovate configuration. The action's Python setup step is updated to use 3.13, Renovate constraints are adjusted to pin to 3.13.x, and packageRules are reorganized to use ChangesPython Version Pinning Update
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Defense-in-depth: any Renovate-managed update touching the renovate config (e.g. constraints, pinned presets) must be reviewed manually rather than auto-merged. Currently a no-op because tool-constraint deps are already fully disabled by the matchDepTypes rule, but protects against future config drift if those rules are weakened or if pinned presets are added.
Test Coverage ReportTest Coverage 📊: 69.5% |
Rules are placed after the 'External dependencies' catch-all so that later-rule-wins semantics override the catch-all's automerge: true.