✨ Add optional major-version cap for MQT Core updates - #461
Conversation
Assisted-by: GPT-6 Astra via Codex
Assisted-by: GPT-6 Astra via Codex
|
@coderabbitai full review |
✅ Action performedFull review finished. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe reusable workflow adds an optional ChangesMQT Core release bounds
Estimated code review effort: 4 (Complex) | ~45 minutes Merge Risk: ⚪ Minimal · up to The reusable update workflow now supports an optional major-version cap while preserving unrestricted updates when omitted and safely skipping updates when no eligible release exists. No merge-blocking risk is identified. Sequence Diagram(s)sequenceDiagram
participant Caller
participant ReusableWorkflow
participant GitHubReleasesAPI
participant GitHubRefsAPI
Caller->>ReusableWorkflow: Set max-major-version and update options
ReusableWorkflow->>ReusableWorkflow: Validate inputs
ReusableWorkflow->>GitHubReleasesAPI: Query eligible releases
GitHubReleasesAPI-->>ReusableWorkflow: Return selected release tag
ReusableWorkflow->>GitHubRefsAPI: Fetch tag or main-branch commit SHA
GitHubRefsAPI-->>ReusableWorkflow: Return validated SHA
ReusableWorkflow->>ReusableWorkflow: Compare versions
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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. A rabbit reads each line, Comment |
Description
🤖 AI text below 🤖
Add an optional
max-major-versioninput so downstream projects can continue receiving MQT Core 3.x updates after v4 is released. Omitting the input keeps unrestricted updates; specifying a cap together withupdate-to-head: trueis rejected.Resolve the selected release tag to its commit so the updated version and revision refer to the same release.
AI notice
This PR and its contents were created with the assistance of GPT-6 Astra via Codex.
Checklist
I have added appropriate tests that cover the new/changed functionality.I have updated the documentation to reflect these changes.If PR contains AI-assisted content:
🤖 *AI text below* 🤖(titles are exempt).