Xuanwo opened a new pull request, #9280:
URL: https://github.com/apache/opendal/pull/9280

   # Which issue does this PR close?
   
   Follow-up to #9277.
   
   # Rationale for this change
   
   The `tonic-prost-build` 0.14.9 upgrade in #9277 causes locked `odev` 
generation to emit 24 additional `#[allow(clippy::all)]` attributes in the GCS 
gRPC client. The existing `check_generated` job in 
`.github/workflows/ci_odev.yml` omitted `gcs-grpc`, so the stale file passed CI.
   
   # What changes are included in this PR?
   
   - Regenerate `core/services/gcs-grpc/src/generated/google.storage.v2.rs` 
with the locked `tonic-prost-build` 0.14.9 generator (24 added 
`#[allow(clippy::all)]` attributes).
   - Run `generate -l gcs-grpc` with `--locked` in `check_generated`, reuse 
`need-protoc: true` from the shared setup action, and trigger `ci_odev.yml` 
when `core/services/gcs-grpc/proto/**` or `.github/actions/setup/action.yaml` 
change.
   
   Local verification (workflow commands verified locally; remote GitHub 
Actions CI is pending):
   
   - Ran the `check_generated` workflow commands locally with CI's `protoc` 
23.4 and reran locked `generate -l gcs-grpc`; both passed `git diff 
--exit-code`.
   - Confirmed the generator accepts the checked-in `upstream-descriptor.bin` 
and rejects a local control changing `GetObjectRequest.bucket` from `string` to 
`bytes`.
   - Passed `cargo fmt -p opendal-service-gcs-grpc -- --check`, `cargo test 
--locked -p opendal-service-gcs-grpc` (34 unit tests, 1 doctest), `cargo clippy 
--locked -p opendal-service-gcs-grpc --all-targets -- -D warnings`, and `cargo 
check --locked -p opendal --features services-gcs-grpc`.
   
   # Are there any user-facing changes?
   
   None. The generated Rust diff adds only `#[allow(clippy::all)]` lint 
attributes and preserves the existing RPCs and protobuf fields.
   
   # Breaking changes
   
   # AI Usage Statement
   
   - Harness: pi. Model: `magpie/codex/gpt-6.2-sol`. Effort: high. Role: 
initially found the GCS gRPC generation drift after #9277 and independently 
reran the before/after generation checks.
   - Harness: pi. Model: `magpie/codex/gpt-6.2-sol`. Effort: max. Role: 
reproduced the drift on `main`, regenerated the GCS gRPC client, integrated the 
`ci_odev.yml` check, and ran local verification on the signed candidate.
   - Harness: pi. Model: `magpie/codex/gpt-6.2-astra`. Effort: high. Role: 
coordinated scoping and publication handoff.
   - Harness: pi. Model: Gemini 4 Neon. Effort: high. Role: verified 
publication preflight and commit metadata, finalized the PR description, and 
published the PR. Remote CI has not yet run at publication time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to