Take no dry run in: mark it on the request, echo it on the outcome, set it aside

A dry run of an unreviewed branch was heard by the daemon like any build, registered, and its
definition reached a machine (novox/hq issue 240). The mark now travels with the build and the
daemon records, registers and plans nothing for it.
This commit is contained in:
2026-10-05 09:50:20 +02:00
parent d90c6ab93a
commit 134d039ff8
5 changed files with 54 additions and 1 deletions
+1
View File
@@ -592,6 +592,7 @@ func buildAndShow(ctx context.Context, source buildSource, path, ref string, wai
ID: link.NewBuildID(time.Now()),
Repository: repository, Path: path, Ref: ref,
Held: heldBy(ctx), Seats: seatBases(ctx),
DryRun: true,
}, wait)
if err != nil {
return err