release: integrate bindings/go into weekly ATR release lifecycle and automated companion publishing
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Rust
- Star
- 5.5k
- Fork
- 869
- Merge trung bình
- 8 giờ 2 phút
- Pull request đã merge (30 ngày)
- 862
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của apache/opendal
-
bug(services/fs): deleting "/" removes the configured root directoryCó thể đã có người làm @xgbtxy đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 81/100
apache/opendal#9635 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
core enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
apache/opendal#9572 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(bindings/nodejs): reject negative and overflowing BigInt values in WriteOptions.chunk and Read/ReaderOptions.gapCó thể đã có người làm @rohan4naik đã nhận hôm nay. Đang mởbindings/nodejs bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
apache/opendal#9569 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug(layers/throttle): throttle streaming ReadStream bytes instead of pre-charging ReadOptions::limit upper bounds on open()Có thể đã có người làm @Xuanwo đã nhận hôm nay. Đang mởbug core
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
apache/opendal#9567 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
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
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
apache/opendal#9560 · 3 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của apache/opendal
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Choochmeque/tauri-plugin-webdriver#134 ·
Maintainer thường phản hồi trong vòng 17 ngày
-
bug(c-sdk): boxlite_box_exec does not check runtime liveness before dispatching streaming execĐang mởbug rust SDK & CLI & REST API
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
boxlite-ai/boxlite#3292 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Android bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
anefzaoui/misterdownloadmanager#2516 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
editor ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
state:triage tech-debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 89/100
agent8-cash/ethpayserver#731 ·
Maintainer thường phản hồi trong vòng 1 ngày