Repository navigation
fix(infra): name the B2 endpoint's scheme, as Nix asks - #9642
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 16 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
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.
Problem
Since the nix.moq.dev move to B2 (moq-dev/moq#9625), every
nix copyincache.ymlwarns:(run 45702716418). The push keeps working today, but stops once Nix drops the bare form.
Fix
infra/nix/justfile'sendpointnow carrieshttps://, and rclone's endpoint reuses it as is instead of adding the scheme itself.Caused by
nix copywithout a scheme (found by person, reading the CI log warning)Impact
CI cache pushes only. Public API: none. Wire: none.
Validation
nix store info --store 's3://nix-moq-dev?endpoint=https://s3.us-east-005.backblazeb2.com®ion=us-east-005'(Nix 2.35.4, dummy key) requestshttps://s3.us-east-005.backblazeb2.com/nix-moq-dev/nix-cache-info, the same URL as the bare form, and gets B2's 401 for the dummy key.cache.ymlrun onmainafter merge: itsnix copysteps push with the CI write key and print no deprecation warning. No local B2 write key exists to test a push before then.Models
Size: XS
Implementer: Claude Code, claude-opus-5-5, high
🤖 Generated with Claude Code
(Written by Opus 5.5 with high)
Review
Rewritten by
quest reviewafter each round.Head: 4250579
Base: origin/main at a1e6850
Risk: medium,
The change only edits the infra/nix justfile so the rclone `b2:` remote gets a scheme-qualified endpoint (`https://` moved from the composed value into the variable itself); it touches no shipped code, API, wire format, token check, or release script, and nothing a consumer relies on. If wrong, the rclone B2 sync from infra/nix would fail or misbehave, which the repository's own runs meet first, and a revert of the two lines fully undoes it.Classified: medium by Claude Code, claude-haiku-5-5, low effort, session
63d80c6c-a326-48ba-ba49-e44676bf9234Reviewer: Codex, gpt-6.2-sol, low effort
Session:
01a214b5-9306-7f11-a155-276d36f40fa0, round 1Score: 10/10,
Both Nix consumers (`push` and `refresh`) now receive the HTTPS endpoint, while rclone retains its effective endpoint and callers retain their existing interfaces.Rounds: 1; first round 0; findings 0: fixed 0, refuted 0, open 0
Findings: none