Repository navigation
test(util): record reviewed in-place write in helps/claude_credential_identity.go - #8831
Open
KennethWKZ wants to merge 1 commit into
Open
KennethWKZ wants to merge 1 commit into
KennethWKZ wants to merge 1 commit into
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
KennethWKZ
added a commit
to KennethWKZ/CLIProxyAPI
that referenced
this pull request
Dec 5, 2026
…y) into feat/claude-oauth-base-url test(util): record reviewed in-place write in helps/claude_credential_identity.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
devfails one of its own tests:TestInPlaceByteWritesAreReviewedininternal/utilcounts two in-place byte writes ininternal/runtime/executor/helps/claude_credential_identity.go, but the file is recorded with a count of 1. The second write,copy(id[:], digest[:16])inclaudeDeterministicUUIDv4, came in with 901b3aa.The write copies a local SHA-256 digest into a local
uuid.UUIDarray. No byte of any JSON payload is rewritten, so it cannot corrupt a no-copy GJSON result. This raises the file's count inreviewedInPlaceByteWritesto 2 and adds that reason.Closes #8830
Evidence
dev1d16ee4,go test ./internal/utilfails withhas 2 in-place byte write(s), reviewed 1.go vet ./internal/utilandgo test ./internal/utilpass, andgo build ./cmd/serversucceeds.Merge Danger
Door: two-way
Blast Radius: tests
One line in a test file; no production code changes.