release: integrate bindings/go into weekly ATR release lifecycle and automated companion publishing
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
調査の方向性
Start with dev/src/release/package.rs, scripts/release_lifecycle.py, and the referenced release workflows and runbooks; read the current ATR release flow and Go companion publishing setup. The issue specifies the version updates, RC checks, publishing gates, proxy verification, and repository retirement steps. Done means the listed acceptance criteria are met, including disabling and archiving apache/opendal-go-services while preserving its historical tags.
索引モデルが issue の本文から書いたものです。
説明
Note: This issue was drafted with AI assistance (Gemini 4 Neon, reviewed by GPT-6.2-Astra) under maintainer @Xuanwo's direction.
Goal
Integrate bindings/go into OpenDAL's weekly ATR release pipeline (dev/src/release/, weekly_release.yml, release_lifecycle.yml, release_publish.yml, scripts/release_lifecycle.py) with zero per-release Go PRs and zero per-release website deploys, and safely retire apache/opendal-go-services.
Scope
- Register
bindings/goin ATR source releases & version tooling:- Add
let go = make_package("bindings/go", "0.2.0", vec![core.clone(), c.clone()]);toall_packages()indev/src/release/package.rs(listing bothcoreandcbecausearchive_package()walks dependencies 1-level deep). - Implement
update_go_version()to update the 5require opendal.apache.org/go/artifacts/<target> v<core_ver>lines inbindings/go/go.mod(matching the top-level release tagv<core_ver>so write-once.htaccessworks with zero per-release edits). - Update negative unit tests that currently use
"bindings/go"as an invalid package name indev/src/release/package.rs(line 713) andscripts/test_release_impact.py(lines 86, 106, 204, 234). - Extend
scripts/verify.pyto build and test extractedapache-opendal-bindings-go-*-src.tar.gz(bindings/c+go test -tags opendal_external_libwithOPENDAL_C_LIB_PATH).
- Add
- RC dry-run workflow (
.github/workflows/release_go.yml):- Read-only (
contents: read) workflow dispatched by.github/workflows/weekly_release.ymlRCbuilds. - Builds all 5 platform companion modules from
SHA_RCusing lockedbindings/c/Cargo.lock, runs per-targetcargo deny, dependency-closure checks, compiled ABI probes, and 5-platform consumer tests via a localfile://proxy (default bundled build,go mod tidy,-tags opendal_external_libwith pre-cached non-companion deps,OPENDAL_C_LIB_PATH, 2-process concurrent startup, and MVS ABI-mismatch negative test). - Uploads candidate zips +
identity.jsononly as workflow artifacts (never touches GitHub Releases or public Go proxies).
- Read-only (
- Post-vote publish workflow (
.github/workflows/release_go_publish.yml):- Separate workflow from RC
release_go.ymlso a manual dry-run on the final tag can never masquerade as official publication. - Pre-flight auth check verifies final tag
v<core_ver>, commit matchesSHA_RC, GitHub Releasev<core_ver>exists (non-draft/non-prerelease), and ATR reports phaserelease. - Job 1 (
build,contents: read): builds & verifies all 5 platform.zip,.info,.mod, cumulativelist, andidentity.jsononce and persists the exact bundle as a workflow artifact. - Job 2 (
publish,contents: write,GPG_SECRET_KEY): downloads Job 1's frozen artifact bundle (so "Re-run failed jobs" retries identical bytes without recompiling), signs each zip (.zip.asc) + computes.zip.sha256, and uploads all assets idempotently to GitHub Releasev<core_ver>(same SHA-256 → skip; missing → upload; mismatched SHA-256 → abort hard).
- Separate workflow from RC
- Hourly lifecycle state machine (
scripts/release_lifecycle.py):- Gate
release_go_publish.ymldispatch inpublish_builds()andgo_release(candidate)onbindings/gobeing present in the candidate's voted package inventory atcandidate.sha(never touching pre-existing RC branches like0.59.6-rc.*). - Add
go_release(candidate)besidenexus_release(candidate):- Confirm
release_go_publish.ymlsucceeded onSHA_RCand all 5 targets'.zip,.zip.asc,.zip.sha256,.info,.mod,list, andidentity.jsonexist on GitHub Releasev<core_ver>. - Read back
https://opendal.apache.org/go/modules/...forv<core_ver>(and one prior version wheneverlisthas >1 entry; skipped on inauguralv0.2.0). - Using two separate clean temp
GOMODCACHEdirectories (no pre-populatedgo.sum), verify all 5 companion modules viaGOPROXY=directandGOPROXY=https://proxy.golang.org(both withGOSUMDB=sum.golang.org), asserting exactSumandGoModSummatchidentity.json. - Idempotently create, verify, and push signed tag
bindings/go/v<go_ver>atSHA_RCusing existingGPG_SECRET_KEYandSOURCE_SIGNING_FINGERPRINT(skip if valid tag already exists atSHA_RC; abort if pointing elsewhere). - Before returning
True(which unlockscleanup()), fetchhttps://proxy.golang.org/github.com/apache/opendal/bindings/go/@v/v<go_ver>.zip, assert the root module.zipcontainsLICENSEandNOTICE, and run a clean external consumer (CGO_ENABLED=0, default bundled build,GOSUMDB=sum.golang.org) executingNewOperator("memory", nil).
- Confirm
- Gate
- Release runbooks &
apache/opendal-go-servicesretirement:- Update
website/community/release/weekly.md(line 290) and.agents/skills/opendal-release/references/{go,rc,official-release}.md. - Pre-tag gate (before cutting
bindings/go/v0.2.0): Confirmapache/opendal-go-services/.github/workflows/build_artifacts.yamlis explicitly disabled with zero in-flightgenerate/tagruns; update its README with migration guidance and archive the repo (never delete repo or historical tags).
- Update
Acceptance Criteria
-
just releaseproducesapache-opendal-bindings-go-0.2.0-src.tar.gz(including companion packager/templates) andscripts/verify.pybuilds/tests it. -
devunit tests,scripts/test_release_impact.py, andrelease_lifecycle.pytests cover inauguralv0.2.0, old RC skip, partial upload retry from frozen artifact, and idempotent post-tag proxy retries. -
apache/opendal-go-servicespolling workflow confirmed disabled before firstbindings/go/v0.2.0tag, then repo archived with historical tags preserved.
- 主要言語
- Rust
- スター
- 5.5k
- フォーク
- 869
- 平均マージ
- 8時間 2分
- マージ済み PR(30日)
- 862
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/opendal のほかの issue
-
bug(services/fs): deleting "/" removes the configured root directory対応中かも @xgbtxy が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 81/100
apache/opendal#9635 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
core enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
apache/opendal#9572 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
fix(bindings/nodejs): reject negative and overflowing BigInt values in WriteOptions.chunk and Read/ReaderOptions.gap対応中かも @rohan4naik が今日担当しました。 オープンbindings/nodejs bug
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
apache/opendal#9569 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug(layers/throttle): throttle streaming ReadStream bytes instead of pre-charging ReadOptions::limit upper bounds on open()対応中かも @Xuanwo が今日担当しました。 オープンbug core
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
apache/opendal#9567 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bindings/c bindings/dotnet bindings/go bindings/java bindings/python bindings/ruby core integrations/object_store release release-blocker services/azblob services/azdls services/dropbox services/gcs_grpc services/git services/hf3fs services/redis services/remotestorage services/s3 website
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
apache/opendal#9560 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
Choochmeque/tauri-plugin-webdriver#134 ·
メンテナーはふだん 17 日以内に返信
-
bug rust SDK & CLI & REST API
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
boxlite-ai/boxlite#3292 ·
メンテナーはふだん 1 日以内に返信
-
Android bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
anefzaoui/misterdownloadmanager#2516 ·
メンテナーはふだん 1 日以内に返信
-
editor ui
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
state:triage tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 89/100
agent8-cash/ethpayserver#731 ·
メンテナーはふだん 1 日以内に返信