Repository navigation
nixbot: per-repository build stores - #287
Merged
Merged
Conversation
Mic92
force-pushed
the
phaer/build-store-per-repo
branch
2 times, most recently
from
November 10, 2026 11:53
88e67ef to
f0af5fb
Compare
buildStore is instance-wide, so a project whose builds belong in a
different store -- a tribuchet hub, say -- needs a second nixbot, with
its own forge app, token, DNS entry and database.
Let one instance route per repository instead: `build_stores` entries
carry the repositories they serve ("owner/repo" or an fnmatch pattern)
and are consulted before the instance-wide `build_store`, which keeps
serving everything unmatched. Both paths that reach a store -- IFD
during evaluation and the attribute builds themselves -- resolve it
from the event's repository.
The routing stays service-side on purpose: a repository picking its own
build store could redirect builds, and the per-build credential with
them, to a host its contributors control.
Change-Id: I2109166f480a39fc944cba521b3223fb1dbab2c0
Assisted-By: Claude Code (Opus 5.5)
Mic92
force-pushed
the
phaer/build-store-per-repo
branch
from
November 10, 2026 11:55
f0af5fb to
bd69b44
Compare
Mic92
enabled auto-merge
November 10, 2026 11:55
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.
buildStore is instance-wide, so a project whose builds belong in a different store - a tribuchet hub, say - needs a second nixbot, with its own forge app, token, DNS entry and database.
Let one instance route per repository instead:
build_storesentries carry the repositories they serve ("owner/repo" or an fnmatch pattern) and are consulted before the instance-widebuild_store, which keeps serving everything unmatched. Both paths that reach a store -- IFD during evaluation and the attribute builds themselves -- resolve it from the event's repository.The routing stays service-side on purpose: a repository picking its own build store could redirect builds, and the per-build credential with them, to a host its contributors control.
Assisted-By: Claude Code (Opus 5.5)