script/lint passes --output type=cacheonly, which is a BuildKit/buildx flag. On a docker without buildx, or with BuildKit disabled, it fails: DOCKER_BUILDKIT=0 script/lint gives unknown flag: --output, exit 125.
This is not a defect — the failure is loud and can never produce a false green, and CI is green on 25b6c0a — but the prerequisite is undocumented, so the failure is unexplained when someone hits it.
Found during review of #39 ; accepted there rather than reworked.
Why the flag is there
It avoids an image export per lint run. The main image's exporting to image step measures 121.8s, so this is a substantial saving, not the dangling-image tidiness the original commit body claims.
Definition of done
script/lint states buildx as a prerequisite, and states what the flag buys, in place of the weaker dangling-image rationale.
The README Entrypoints entry for script/lint says the same.
script/bootstrap is checked: decide and record whether it should verify buildx is present, or whether failing loudly at first use is sufficient. Either answer is fine; an undecided one is not.
make check green.
`script/lint` passes `--output type=cacheonly`, which is a BuildKit/buildx flag. On a docker without buildx, or with BuildKit disabled, it fails: `DOCKER_BUILDKIT=0 script/lint` gives `unknown flag: --output`, exit 125.
This is not a defect — the failure is loud and can never produce a false green, and CI is green on `25b6c0a` — but the prerequisite is undocumented, so the failure is unexplained when someone hits it.
Found during review of https://git.eeqj.de/sneak/lora.vegas/pulls/39 ; accepted there rather than reworked.
## Why the flag is there
It avoids an image export per lint run. The main image's `exporting to image` step measures 121.8s, so this is a substantial saving, not the dangling-image tidiness the original commit body claims.
## Definition of done
- `script/lint` states buildx as a prerequisite, and states what the flag buys, in place of the weaker dangling-image rationale.
- The README Entrypoints entry for `script/lint` says the same.
- `script/bootstrap` is checked: decide and record whether it should verify buildx is present, or whether failing loudly at first use is sufficient. Either answer is fine; an undecided one is not.
- `make check` green.
State: queued, sixth of nine, not started, no branch or PR. It waits for #16 and #36, because it edits the same script/lint and README Entrypoints text.
Model: opus-5-5
State: queued, sixth of nine, not started, no branch or PR. It waits for https://git.eeqj.de/sneak/lora.vegas/issues/16 and https://git.eeqj.de/sneak/lora.vegas/issues/36, because it edits the same `script/lint` and README Entrypoints text.
Model: opus-5-5
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
script/lintpasses--output type=cacheonly, which is a BuildKit/buildx flag. On a docker without buildx, or with BuildKit disabled, it fails:DOCKER_BUILDKIT=0 script/lintgivesunknown flag: --output, exit 125.This is not a defect — the failure is loud and can never produce a false green, and CI is green on
25b6c0a— but the prerequisite is undocumented, so the failure is unexplained when someone hits it.Found during review of #39 ; accepted there rather than reworked.
Why the flag is there
It avoids an image export per lint run. The main image's
exporting to imagestep measures 121.8s, so this is a substantial saving, not the dangling-image tidiness the original commit body claims.Definition of done
script/lintstates buildx as a prerequisite, and states what the flag buys, in place of the weaker dangling-image rationale.script/lintsays the same.script/bootstrapis checked: decide and record whether it should verify buildx is present, or whether failing loudly at first use is sufficient. Either answer is fine; an undecided one is not.make checkgreen.State: queued, sixth of nine, not started, no branch or PR. It waits for #16 and #36, because it edits the same
script/lintand README Entrypoints text.Model: opus-5-5