release: integrate bindings/go into weekly ATR release lifecycle and automated companion publishing
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 5.5k
- Forks
- 869
- Merge medio
- 8 h 2 min
- PR fusionados (30 d)
- 862
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de apache/opendal
-
bug(services/fs): deleting "/" removes the configured root directoryPosiblemente ocupada @xgbtxy la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 81/100
apache/opendal#9635 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
core enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
apache/opendal#9572 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
fix(bindings/nodejs): reject negative and overflowing BigInt values in WriteOptions.chunk and Read/ReaderOptions.gapPosiblemente ocupada @rohan4naik la tomó hoy. Abiertobindings/nodejs bug
Dificultad 3/5 1-2 días Aptitud para principiantes 76/100
apache/opendal#9569 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
bug(layers/throttle): throttle streaming ReadStream bytes instead of pre-charging ReadOptions::limit upper bounds on open()Posiblemente ocupada @Xuanwo la tomó hoy. Abiertobug core
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
apache/opendal#9567 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
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
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
apache/opendal#9560 · 3 comentarios · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de apache/opendal
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Choochmeque/tauri-plugin-webdriver#134 ·
Los mantenedores suelen responder en 17 días
-
bug(c-sdk): boxlite_box_exec does not check runtime liveness before dispatching streaming execAbiertobug rust SDK & CLI & REST API
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
boxlite-ai/boxlite#3292 ·
Los mantenedores suelen responder en 1 día
-
Android bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
anefzaoui/misterdownloadmanager#2516 ·
Los mantenedores suelen responder en 1 día
-
editor ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
state:triage tech-debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 89/100
agent8-cash/ethpayserver#731 ·
Los mantenedores suelen responder en 1 día