Repository navigation
feat(builds): show the build machine and where each build ran - #434
Draft
PiquelChips wants to merge 1 commit into
Draft
PiquelChips wants to merge 1 commit into
PiquelChips wants to merge 1 commit into
Conversation
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
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. |
The daemon keeps the latest check of the build machine's BuildKit daemon, reports it in its status, and checks it on request. piquelctl status, the new piquelctl builder check and the dashboard's Builds page show it, and each build says whether it ran on the host or the build machine. Closes #407.
PiquelChips
force-pushed
the
feat/builds-builder-status
branch
from
November 13, 2026 13:53
2a0c161 to
553deb7
Compare
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.
With a build machine (#428), nothing showed whether it was configured or reachable, or where a given build ran. You found out when a deployment failed.
The daemon now keeps the latest check of the build machine's BuildKit daemon, made before each build (#432) or on request, and every surface shows it:
GET /api/v1/system/statusincludesbuilder: its address, repository and latest check, only withsystem:read, like DNS providers.POST /api/v1/system/builder/checkchecks it now (system:operate), or answers 404builder_not_configuredwithout a build machine. Each build record hasbuilt_on,hostorbuild_machine.piquelctl statusshows the build machine and its latest check.piquelctl builder checkchecks it now and exits 6 while it is unreachable.piquelctl builds listends each line withon the build machineoron the host.Where a build ran needs no migration: a build machine's image is a repository digest, and the host's is a local image ID (#428). A job run, or a build that reused an image, has no location.
Narrower than the issue
builder show:piquelctl statusalready shows the build machine, so the only new command isbuilder check.Testing
piquelctl, and where a build ran.piquelctl statusbefore any check,builder checkwith the daemon up and stopped, andbuilds listnaming where each build ran.cargo nextestforpiqueld,piquelctl,piqueld-clientandpiqueld-core, Clippy for the workspace and the browser target,just openapi-check,just docs.Stacked on #432. Closes #407. Part of #403.
Note
Written by Claude Opus 5.5 in Claude Code (via T3 Code)
🤖 Generated with Claude Code