You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Publish only verified packages in GitHub Releases - #96
python3 .github/scripts/test_package_versions.py passed all 14 tests.
The release workflow runs in check mode with the five-platform v1.4.1 artifacts. Actions run.
Summary by CodeRabbit
Bug Fixes
Release publishing now checks that expected packages are present and verified, and removes incomplete uploads and verification files from draft releases.
Release notes link to the engine-version tag when the version follows the expected numeric format; otherwise, they link to the manifest tag.
Improvements
Release summaries report a deduplicated package count across supported platforms.
No actionable comments were generated in the recent review.
Walkthrough
The release script now derives package names across manifest platforms, updates the prepare summary, and separates package assets from verification files during publication. Draft releases have partial uploads and verification files removed before missing packages are uploaded.
Changes: Release publication
Layer / File(s)
Summary
Package naming and release summary .github/scripts/release.py, .github/workflows/release.yml
The prepare step reports deduplicated package names and writes the release summary. The workflow labels the plan and checksums artifact as internal.
Publication expects only manifest packages. It handles verification files separately, removes partial uploads and verification files from drafts, and checks that package uploads are complete.
sequenceDiagram
participant publish
participant remote_assets
participant GitHubReleaseAssets
publish->>remote_assets: Inspect expected packages and verification filenames
remote_assets->>GitHubReleaseAssets: Inspect release assets
remote_assets-->>publish: Return package status and verification asset IDs
publish->>GitHubReleaseAssets: Delete partial uploads and verification files
publish->>GitHubReleaseAssets: Upload missing packages
Loading
Possibly related PRs
oceanbase/seekdb-bindings#90: Introduces the release asset contract that this change updates for package-only uploads and verification files.
Merge Risk: Minimal · up to 64675
This change restricts release uploads to verified packages and replaces the release notes with a single link to the engine release. No concrete merge-blocking risk was found. One minor open question is whether prerelease engine versions link to the right tag.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "Publish only verified packages in GitHub Releases" matches the main change. The PR limits release uploads to packages listed in the verified bindings manifest, and it moves checksums, prove…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "Publish only verified packages in GitHub Releases" matches the main change. The PR limits release uploads to packages listed in the verified bindings manifest, and it moves checksums, provenance, and smoke reports to Actions artifacts. The title is specific and short, and it names the primary behavior change.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: cb115e5d-b76e-45b4-9b32-c55f8d8e3837
Commits
Reviewing files that changed from the base of the PR and between fe7a6b6 and 6467557.
Files selected for processing: 2
.github/scripts/release.py
.github/workflows/release.yml
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Validation
python3 -m py_compile .github/scripts/release.pypassed.python3 .github/scripts/test_package_versions.pypassed all 14 tests.checkmode with the five-platform v1.4.1 artifacts. Actions run.Summary by CodeRabbit