release: integrate bindings/go into weekly ATR release lifecycle and automated companion publishing
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Rust
- Stars
- 5.5k
- Forks
- 869
- Avg merge
- 8h 2m
- Merged PRs (30d)
- 862
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/opendal
-
bug(services/fs): deleting "/" removes the configured root directoryPossibly taken @xgbtxy claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 81/100
apache/opendal#9635 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
core enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
apache/opendal#9572 · 1 reaction ·
Maintainers usually reply within 1 day
-
fix(bindings/nodejs): reject negative and overflowing BigInt values in WriteOptions.chunk and Read/ReaderOptions.gapPossibly taken @rohan4naik claimed this today. Openbindings/nodejs bug
Difficulty 3/5 1-2 days Newbie friendliness 76/100
apache/opendal#9569 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
bug(layers/throttle): throttle streaming ReadStream bytes instead of pre-charging ReadOptions::limit upper bounds on open()Possibly taken @Xuanwo claimed this today. Openbug core
Difficulty 5/5 Over a week Newbie friendliness 25/100
apache/opendal#9567 · 1 reaction ·
Maintainers usually reply within 1 day
-
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
Difficulty 5/5 Over a week Newbie friendliness 20/100
apache/opendal#9560 · 3 comments · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
Android bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
anefzaoui/misterdownloadmanager#2516 ·
Maintainers usually reply within 1 day
-
editor ui
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
state:triage tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 89/100
agent8-cash/ethpayserver#731 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
marketing
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
Maintainers usually reply within 1 day