Skip to content

Update module google.golang.org/grpc to v1.63.2 - #106

Merged
bootjp merged 1 commit into
mainfrom
renovate/google.golang.org-grpc-1.x
Apr 26, 2024
Merged

Update module google.golang.org/grpc to v1.63.2#106
bootjp merged 1 commit into
mainfrom
renovate/google.golang.org-grpc-1.x

Conversation

@renovate

@renovaterenovateBot commented Apr 5, 2024

Copy link
Copy Markdown
Contributor

Mend Renovate

This PR contains the following updates:

PackageChangeAgeAdoptionPassingConfidence
google.golang.org/grpcv1.62.1 -> v1.63.2ageadoptionpassingconfidence

Release Notes

grpc/grpc-go (google.golang.org/grpc)

v1.63.2: Release 1.63.2

Compare Source

Bugs

  • Fix the user agent string

v1.63.1: Release 1.63.1

Compare Source

  • grpc: un-deprecate Dial and DialContext and cherry-pick

v1.63.0: Release 1.63.0

Compare Source

Behavior Changes

  • grpc: Return canonical target string from resolver.Address.String() (experimental) (#​6923)
  • client & server: when using write buffer pooling, use input value for buffer size instead of size*2 (#​6983)

New Features

  • grpc: add ClientConn.CanonicalTarget() to return the canonical target string. (#​7006)
  • xds: implement LRS named metrics support (gRFC A64) (#​7027)
  • grpc: introduce grpc.NewClient to allow users to create new clients in idle mode and with "dns" as the default resolver (#​7010)

API Changes

  • grpc: stabilize experimental method ClientConn.Target() (#​7006)

Bug Fixes

  • xds: fix an issue that would cause the client to send an empty list of resources for LDS/CDS upon reconnecting with the management server (#​7026)
  • server: Fix some errors returned by a server when using a grpc.Server as an http.Handler with the Go stdlib HTTP server (#​6989)
  • resolver/dns: add SetResolvingTimeout to allow configuring the DNS resolver's global timeout (#​6917)
  • Set the security level of Windows named pipes to NoSecurity (#​6956)

v1.62.2: Release 1.62.2

Compare Source

Dependencies


Configuration

📅 Schedule: Branch creation - "every weekend" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovaterenovateBot changed the title Update module google.golang.org/grpc to v1.63.0Update module google.golang.org/grpc to v1.63.2Apr 9, 2024
@renovate
renovateBotforce-pushed the renovate/google.golang.org-grpc-1.x branch from 4c6064f to 2d9e8fbCompareApril 9, 2024 00:16
@renovate
renovateBotforce-pushed the renovate/google.golang.org-grpc-1.x branch from 2d9e8fb to c487afeCompareApril 21, 2024 05:06
@bootjp
bootjp merged commit bfe3a93 into mainApr 26, 2024
@bootjp
bootjp deleted the renovate/google.golang.org-grpc-1.x branch April 26, 2024 13:50
bootjp added a commit that referenced this pull request Apr 30, 2026
Three correctness bugs and several quality issues, all valid.
CRITICAL: path traversal (Codex P1 #425).
S3 object keys are user-controlled. A key like "../../../etc/passwd"
would, under the prior filepath.Join-and-write code, escape the
bucket directory and overwrite host files. Added safeJoinUnderRoot
which Cleans the joined path and asserts it stays rooted under the
bucket dir; ".." traversal is rejected with ErrS3MalformedKey.
Absolute paths (leading "/") are normalised under the bucket dir by
filepath.Join, which is the safest outcome. Tests:
TestS3_PathTraversalAttemptRejected,
TestS3_AbsolutePathObjectKeyConfinedUnderBucket.
CRITICAL: stale upload-id chunks merged into body (Codex P1 #500,
Gemini HIGH #106/#476/#504).
A snapshot mid-delete-and-recreate or mid-retry can carry blob
chunks for multiple upload attempts under the same (bucket, gen,
object). The prior assembleObjectBody concatenated every chunk
regardless of upload_id, producing corrupted bytes. Now:
- s3ObjectState gains uploadID; HandleObjectManifest sets it.
- New filterChunksForManifest takes the chunkPaths map and the
manifest's uploadID, returns only matching chunks sorted by
(partNo, partVersion, chunkNo). Stale-uploadID chunks never
enter the assembled body.
Test: TestS3_StaleUploadIDChunksFilteredFromAssembledBody.
CRITICAL: incomplete-uploads file truncated per record (Codex P2
#318, Gemini HIGH+MEDIUM #318).
HandleIncompleteUpload re-opened records.jsonl on every call;
openJSONL uses os.Create which truncates. Only the last record
survived per bucket. Now:
- s3BucketState carries an incompleteUploadsJL *jsonlFile lazily
opened on the first record and cached.
- flushBucket closes it and surfaces the error (was silently
ignored).
Test: TestS3_IncompleteUploadsAppendsAcrossCalls (3 records, 3
lines on disk).
QUALITY:
- Gemini MEDIUM #285 (MkdirAll per blob): s3ObjectState gains a
scratchDirCreated bool; HandleBlob runs MkdirAll once.
- Gemini MEDIUM #318 (closeJSONL error ignored): keymap and
incomplete-uploads writers now surface close errors via
closeBucketKeymap / explicit closeJSONL return-check.
- Gemini MEDIUM #386 (includeOrphans flag ignored): orphan chunks
for objects without manifests now write to
<bucket>/_orphans/<encoded-object>/<chunk>.bin under
WithIncludeOrphans(true). Test:
TestS3_OrphanChunksWrittenWhenIncludeOrphans.
Also removed the now-unused attachManifestParts placeholder and
sortChunkKeys helper; their logic moved into
filterChunksForManifest which combines uploadID filtering with the
sort.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@bootjp