Skip to content

Publish only verified packages in GitHub Releases - #96

Merged
hnwyllmm merged 2 commits into
mainfrom
codex/streamline-bindings-release
Nov 26, 2026
Merged

hnwyllmm merged 2 commits into
mainfrom
codex/streamline-bindings-release

Conversation

@hnwyllmm

@hnwyllmm hnwyllmm commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Changes

  • Upload only the packages identified by the verified bindings manifest. Keep the checksums, provenance, and smoke reports in the Actions artifacts.
  • Generate a single link to the corresponding seekdb engine release for the release notes.
  • Resume older drafts with package-only attachments and accept published releases that already include verification files.

Validation

  • python3 -m py_compile .github/scripts/release.py passed.
  • 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.

@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

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.
Package asset verification
.github/scripts/release.py, .github/workflows/release.yml
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.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Feature

Sequence Diagram(s)

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: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed 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 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.
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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • 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.

@hnwyllmm
hnwyllmm marked this pull request as ready for review November 26, 2026 00:54
@hnwyllmm
hnwyllmm merged commit 7b4b3b5 into main Nov 26, 2026
17 checks passed
@hnwyllmm
hnwyllmm deleted the codex/streamline-bindings-release branch November 26, 2026 01:00
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