release: integrate bindings/go into weekly ATR release lifecycle and automated companion publishing
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 5.5k
- Fork
- 869
- Merge medio
- 8h 2m
- PR unite (30g)
- 862
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/opendal
-
bug(services/fs): deleting "/" removes the configured root directoryForse già presa @xgbtxy l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 81/100
apache/opendal#9635 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
core enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
apache/opendal#9572 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
fix(bindings/nodejs): reject negative and overflowing BigInt values in WriteOptions.chunk and Read/ReaderOptions.gapForse già presa @rohan4naik l’ha presa oggi. Apertabindings/nodejs bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
apache/opendal#9569 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug(layers/throttle): throttle streaming ReadStream bytes instead of pre-charging ReadOptions::limit upper bounds on open()Forse già presa @Xuanwo l’ha presa oggi. Apertabug core
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
apache/opendal#9567 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
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
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
apache/opendal#9560 · 3 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di apache/opendal
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Choochmeque/tauri-plugin-webdriver#134 ·
I maintainer di solito rispondono entro 17 giorni
-
bug(c-sdk): boxlite_box_exec does not check runtime liveness before dispatching streaming execApertabug rust SDK & CLI & REST API
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
boxlite-ai/boxlite#3292 ·
I maintainer di solito rispondono entro 1 giorno
-
Android bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
anefzaoui/misterdownloadmanager#2516 ·
I maintainer di solito rispondono entro 1 giorno
-
editor ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
state:triage tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 89/100
agent8-cash/ethpayserver#731 ·
I maintainer di solito rispondono entro 1 giorno