Repository navigation
Conversation
Codex Review SummaryThis 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. |
Failure analysisWhat was failingThe Syfon Docker E2E (add-url) job failed when pulling an object created with git drs add-url without a known SHA-256. The push registered its metadata, but the subsequent pull could not find a DRS record for the placeholder OID. Why it failedThe placeholder OID is 64 hexadecimal characters, so Syfon treated it as a SHA-256 lookup. But the record stores it as a git-drs-placeholder checksum, not a real SHA-256. The normal SHA-256 lookup therefore returned no match. How it was fixedPlaceholder records now use a non-SHA-shaped checksum value (git-drs-placeholder/), keeping synthetic OIDs out of Syfon’s SHA-256 index. When a normal checksum lookup misses, git-drs retries with that placeholder key. The lookup also continues to recognize records using the previous raw-OID representation. ValidationAll three Docker E2E tests passed against the exact Syfon commit pinned by CI, including TestGitDrsDockerAddURLE2E. why did the changes made to support requestor pays cause these errors?The requester-pays code did not cause the lookup failure. The failure came from a separate change in the same branch: the add-url E2E test was changed from expecting an unknown-checksum placeholder pull to fail to expecting it to succeed. |
Propagate requester billing project to Terra DRS Hub
Description
Enable requester-pays GCS downloads through Terra DRS Hub by reading GOOGLE_PROJECT for each resolution request and sending its trimmed, non-empty value as userProject. The returned signed access URL is used unchanged, preserving its billing parameter and signature.
Document the configuration and extend resolver and integration coverage for billing-project propagation, omission of empty values, signed-URL integrity, and successful downloads. Also update the Docker Syfon E2E test to verify unknown-checksum add-url objects can be pulled, and make Syfon test-process shutdown detection more reliable.