Skip to content

Update release draft model and preserve breaking changes#3057

Merged
koxudaxi merged 1 commit into
mainfrom
release-draft-opus-46
Mar 18, 2026
Merged

Update release draft model and preserve breaking changes#3057
koxudaxi merged 1 commit into
mainfrom
release-draft-opus-46

Conversation

@koxudaxi

@koxudaxi koxudaxi commented Mar 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • update Release Draft to use claude-opus-4-6
  • preserve existing breaking changes content when a draft is upgraded from patch to minor

Verification

  • ran YAML parse for .github/workflows/release-draft.yaml
  • ran git diff --check
  • pre-commit hooks passed during commit

Summary by CodeRabbit

  • Chores
    • Refined release draft workflow with improved tag and body retrieval handling
    • Updated Claude AI model version used in release generation

@coderabbitai

coderabbitai Bot commented Mar 18, 2026

Copy link
Copy Markdown

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

The pull request modifies the release-draft GitHub Actions workflow to introduce a new variable BC_SOURCE_TAG_RAW that separates draft tag tracking from breaking changes source tracking. Additionally, the Claude AI model used in the workflow is updated from claude-opus-4-5-20251101 to claude-opus-4-6.

Changes

Cohort / File(s) Summary
Release Workflow Configuration
.github/workflows/release-draft.yaml
Introduces BC_SOURCE_TAG_RAW variable to track the source tag for fetching breaking changes content separately from DRAFT_TAG_RAW. Updates Claude model version from claude-opus-4-5-20251101 to claude-opus-4-6.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Poem

🐰 A tag by any other name would source the same,
BC_SOURCE_TAG_RAW now handles the breaking-change fame,
Claude-Opus-4-6 arrives with grace,
Workflows refactored, logic in place! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately captures the two main changes: updating the Claude model and preserving breaking changes in draft releases.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release-draft-opus-46
📝 Coding Plan
  • Generate coding plan for human review comments

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.

@github-actions

Copy link
Copy Markdown
Contributor

📚 Docs Preview: https://pr-3057.datamodel-code-generator.pages.dev

@koxudaxi koxudaxi enabled auto-merge (squash) March 18, 2026 08:22
@codspeed-hq

codspeed-hq Bot commented Mar 18, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

✅ 11 untouched benchmarks
⏩ 98 skipped benchmarks1


Comparing release-draft-opus-46 (60e3376) with main (5bd8eab)

Open in CodSpeed

Footnotes

  1. 98 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@koxudaxi koxudaxi merged commit 7e1a5c7 into main Mar 18, 2026
33 of 34 checks passed
@koxudaxi koxudaxi deleted the release-draft-opus-46 branch March 18, 2026 08:24
@github-actions

Copy link
Copy Markdown
Contributor

Breaking Change Analysis

Result: No breaking changes detected

Reasoning: This PR only modifies the GitHub Actions workflow file (.github/workflows/release-draft.yaml) to update the Claude model version and fix breaking changes preservation logic in the release draft process. No library source code, CLI, API, templates, defaults, or error handling are affected.


This analysis was performed by Claude Code Action

@codecov

codecov Bot commented Mar 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (5bd8eab) to head (60e3376).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #3057   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           86        86           
  Lines        18011     18011           
  Branches      2075      2075           
=========================================
  Hits         18011     18011           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

github-actions Bot commented Apr 4, 2026

Copy link
Copy Markdown
Contributor

🎉 Released in 0.56.0

This PR is now available in the latest release. See the release notes for details.

@coderabbitai coderabbitai Bot mentioned this pull request Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant