Skip to content

ci(release-drafter): adopt not-ready 3-step workflow, upgrade to v2.1.0#1049

Merged
Aaron ("AJ") Steers (aaronsteers) merged 3 commits into
mainfrom
devin/1782529307-not-ready-workflow
Jun 27, 2026
Merged

ci(release-drafter): adopt not-ready 3-step workflow, upgrade to v2.1.0#1049
Aaron ("AJ") Steers (aaronsteers) merged 3 commits into
mainfrom
devin/1782529307-not-ready-workflow

Conversation

@aaronsteers

@aaronsteers Aaron ("AJ") Steers (aaronsteers) commented Jun 27, 2026

Copy link
Copy Markdown
Member

Summary

Upgrades semantic-pr-release-drafter from v1.0.0 to v2.1.0 and adopts the new not-ready input to prevent admins from publishing a draft release while file assets are still being uploaded.

New flow (Pattern B — 2 calls to release-drafter):

not-ready: true (create draft with banner) → build → attach-files (finalize, banner removed)

Previously the dry-run + create were separate calls; now the first call also creates the draft with a WIP banner, and the second call attaches files and removes the banner in one step.

Depends on aaronsteers/semantic-pr-release-drafter#54 being released as v2.1.0.

Requested by Aaron ("AJ") Steers (@aaronsteers).

Link to Devin session: https://app.devin.ai/sessions/601932cfa6b54ec8a6145cd9300d43aa

Summary by CodeRabbit

  • Chores
    • Updated the release automation to generate draft releases more reliably.
    • Package builds now use the version from the draft release step, helping keep release versions aligned.
    • Improved the final release publishing flow by streamlining how draft releases are finalized and attached with assets.

Important

Auto-merge enabled.

This PR is set to merge automatically when all requirements are met.

Note

Auto-merge may have been disabled. Please check the PR status to confirm.

@devin-ai-integration

Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@github-actions

Copy link
Copy Markdown

👋 Greetings, Airbyte Team Member!

Here are some helpful tips and reminders for your convenience.

💡 Show Tips and Tricks

Testing This PyAirbyte Version

You can test this version of PyAirbyte using the following:

# Run PyAirbyte CLI from this branch:
uvx --from 'git+https://github.com/airbytehq/PyAirbyte.git@devin/1782529307-not-ready-workflow' pyairbyte --help

# Install PyAirbyte from this branch for development:
pip install 'git+https://github.com/airbytehq/PyAirbyte.git@devin/1782529307-not-ready-workflow'

PR Slash Commands

Airbyte Maintainers can execute the following slash commands on your PR:

  • /fix-pr - Fixes most formatting and linting issues
  • /uv-lock - Updates uv.lock file
  • /test-pr - Runs tests with the updated PyAirbyte
  • /prerelease - Builds and publishes a prerelease version to PyPI
📚 Show Repo Guidance

Helpful Resources

Community Support

Questions? Join the #pyairbyte channel in our Slack workspace.

📝 Edit this welcome message.

@coderabbitai

coderabbitai Bot commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The release drafter workflow switches to semantic-pr-release-drafter v2.1.0, creates the draft release in a not-ready state, and uses the draft step output as the version source for the later package and attachment steps.

Changes

Release drafter workflow update

Layer / File(s) Summary
Workflow step updates
.github/workflows/release_drafter.yml
The workflow replaces the dry-run plus draft-release flow with a not-ready draft release step, then uses steps.not-ready-draft.outputs.tag-name for the build and finalization steps.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~4 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly reflects the workflow change and the upgrade to v2.1.0.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch devin/1782529307-not-ready-workflow

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 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 @.github/workflows/release_drafter.yml:
- Line 34: The workflow uses the mutable
aaronssteers/semantic-pr-release-drafter@v2.1.0 tag in multiple places, which
should be pinned for security. Update each uses entry in release_drafter.yml to
reference the exact full-length commit SHA for semantic-pr-release-drafter and
keep the version tag as a trailing comment, so the Release Drafter job remains
reproducible and cannot be altered by a retag.
- Around line 47-53: The release-drafter workflow is pinned to an action ref
that does not exist yet, so update the uses reference in the draft release step
to a published tag or a fixed commit that is already available. Keep the rest of
the step configuration unchanged, and verify the action name
aaronsteers/semantic-pr-release-drafter resolves successfully before merging.
🪄 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: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 7f3bea94-65cd-45ea-ad9b-ced84a1948bc

📥 Commits

Reviewing files that changed from the base of the PR and between ad6b43f and 464de06.

📒 Files selected for processing (1)
  • .github/workflows/release_drafter.yml

Comment thread .github/workflows/release_drafter.yml
Comment thread .github/workflows/release_drafter.yml Outdated
@github-code-quality

github-code-quality Bot commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: Python

Python / code-coverage/pytest-fast

The overall coverage in the branch is 67%. The coverage in the branch is 65%.

Show a code coverage summary of the most impacted files.
File d9f652f baae3aa +/-
airbyte/_util/api_util.py 36% 37% +1%
airbyte/registry.py 70% 72% +2%
airbyte/mcp/_tool_utils.py 72% 77% +5%
airbyte/mcp/int...c_history_ui.py 0% 36% +36%
airbyte/mcp/int...hared_models.py 0% 81% +81%
airbyte/cloud/models.py 0% 91% +91%
airbyte/mcp/int..._registry_ui.py 0% 92% +92%
airbyte/mcp/int...nc_status_ui.py 0% 97% +97%
airbyte/mcp/int...ive/__init__.py 0% 100% +100%
airbyte/mcp/int...tive/_prefab.py 0% 100% +100%

Python / code-coverage/pytest-no-creds

The overall coverage in the branch is 67%. The coverage in the branch is 65%.

Show a code coverage summary of the most impacted files.
File d9f652f baae3aa +/-
airbyte/_util/api_util.py 36% 37% +1%
airbyte/registry.py 70% 72% +2%
airbyte/mcp/_tool_utils.py 72% 77% +5%
airbyte/mcp/int...c_history_ui.py 0% 36% +36%
airbyte/mcp/int...hared_models.py 0% 81% +81%
airbyte/cloud/models.py 0% 91% +91%
airbyte/mcp/int..._registry_ui.py 0% 92% +92%
airbyte/mcp/int...nc_status_ui.py 0% 97% +97%
airbyte/mcp/int...ive/__init__.py 0% 100% +100%
airbyte/mcp/int...tive/_prefab.py 0% 100% +100%

Updated June 27, 2026 03:30 UTC
Code Coverage is in Public Preview. Learn more and provide us with your feedback.

Comment thread .github/workflows/release_drafter.yml
@aaronsteers Aaron ("AJ") Steers (aaronsteers) marked this pull request as ready for review June 27, 2026 03:18
Copilot AI review requested due to automatic review settings June 27, 2026 03:18

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
.github/workflows/release_drafter.yml (1)

47-52: 🩺 Stability & Availability | 🔵 Trivial | ⚡ Quick win

Could we explicitly clear the not-ready state during finalization?

Since this step is the “banner removed” call, adding not-ready: false avoids relying on implicit/default action behavior, wdyt?

Proposed workflow tweak
       with:
         version: ${{ steps.draft.outputs.tag-name }}
+        not-ready: false
         attach-files: |
🤖 Prompt for 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.

In @.github/workflows/release_drafter.yml around lines 47 - 52, The finalization
step in the release drafter workflow is relying on implicit behavior for
readiness state. Update the “Attach assets and finalize draft” step that uses
aaronsteers/semantic-pr-release-drafter@v2.1.0 to explicitly set the not-ready
flag to false in its with inputs, so the draft is clearly marked ready when the
banner is removed.
🤖 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.

Nitpick comments:
In @.github/workflows/release_drafter.yml:
- Around line 47-52: The finalization step in the release drafter workflow is
relying on implicit behavior for readiness state. Update the “Attach assets and
finalize draft” step that uses aaronsteers/semantic-pr-release-drafter@v2.1.0 to
explicitly set the not-ready flag to false in its with inputs, so the draft is
clearly marked ready when the banner is removed.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 7eab2618-b7f9-47fe-8848-455d43d2eb08

📥 Commits

Reviewing files that changed from the base of the PR and between 464de06 and 2ebd9e6.

📒 Files selected for processing (1)
  • .github/workflows/release_drafter.yml

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Open in Devin Review

Comment thread .github/workflows/release_drafter.yml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the release-drafter GitHub Actions workflow to use semantic-pr-release-drafter v2.1.0’s new not-ready flow so a draft release is created in a clearly “WIP” state while build assets are produced/uploaded, then finalized once assets are attached.

Changes:

  • Upgrade aaronsteers/semantic-pr-release-drafter from v1.0.0 to v2.1.0.
  • Replace the prior dry-run + create/update sequence with the 2-call “not-ready → attach-files (finalize)” workflow.
  • Wire build/versioning to the new step id (draft) output tag.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/release_drafter.yml Outdated
Comment thread .github/workflows/release_drafter.yml
Co-Authored-By: AJ Steers <aj@airbyte.io>
Comment thread .github/workflows/release_drafter.yml Outdated
@aaronsteers Aaron ("AJ") Steers (aaronsteers) merged commit 866f86d into main Jun 27, 2026
24 checks passed
@aaronsteers Aaron ("AJ") Steers (aaronsteers) deleted the devin/1782529307-not-ready-workflow branch June 27, 2026 03:33
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