Repository navigation
ci: release tags push to nix.moq.dev's B2 bucket (backport) - #9628
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
nix.moq.dev moves from R2 to private Backblaze B2 buckets (moq-dev/moq#9625, quest
quest/m0/ci/nix-b2.md). A tag runsrelease's copy ofrelease-nix.ymlandinfra/nix/justfile, so until this lands every release tag keeps pushing to R2'snix-moq-dev, which that PR deletes.Approach
release-nix.ymlreads the release bucket's write key fromNIX_B2_RELEASE_ACCESS_KEY_ID/NIX_B2_RELEASE_SECRET_ACCESS_KEYincache-writeinstead ofNIX_R2_*. Its comment says the bucket never expires a path, since B2 now drops superseded versions there.just infra nix pushtargets B2's S3 endpoint (s3.us-east-005.backblazeb2.com, regionus-east-005) instead of R2's.Only the writer moves.
release's Worker source,create, andlifecyclerecipes stay R2's: the Worker deploys frommain, and the next cut bringsmain's copies.Impact
Public API: none. Wire: none.
Alternatives
mainintorelease: rejected by the maintainer in the quest's Plan.Validation
NIX_B2_RELEASE_*secrets exist incache-writeand hold thenix-release-writekey, restricted to B2nix-moq-dev.just -n infra nix push nix-moq-dev ./resultrendersnix copy --to "s3://nix-moq-dev?endpoint=s3.us-east-005.backblazeb2.com®ion=us-east-005&..."; the same recipe shape onmainpushed a signed test path to B2 with nixpkgs' Nix 2.35.6 (the official installer's build, like CI's, has AWS support; a NixOS build without it sends unsigned requests).release-nix.yml: clean.Models
(Written by Claude Opus 5.5)
🤖 Generated with Claude Code
Review
Rewritten by
quest reviewafter each round.Head: 5811bf3
Base: origin/release at 7fec1da
Risk: medium,
the base has no RISK.md to name what is always high or customer-facing, so every change is mediumClassified: medium by default
Reviewer: Codex, gpt-6.2-sol, medium effort
Session:
01a2147b-7016-77b0-bc9d-c49c6594d99a, round 1Score: 9/10,
The release-tag workflow’s new secret names and B2 endpoint match the planned cutover, with live upload and secret substitution still unverified.Rounds: 1; first round 0; findings 0: fixed 0, refuted 0, open 0
Findings: none