Make smoke binary discovery stable during concurrent builds #68

Closed
opened 2026-07-24 10:03:15 +00:00 by coilyco-ops · 0 comments
Member

Observation

ward --audit-override-dirty exec smoke failed while lint, build, palette, and pre-commit jobs ran concurrently, then passed unchanged when run serially.

Evidence

  • Parallel run reported smoke: build real acompose binary... ok.
  • The next check failed with smoke: missing file /tmp/agent-compose-smoke.RgSJzE/bin/acompose.exe.
  • An unchanged serial ward --audit-override-dirty exec smoke passed all six stages.
  • The smoke run used its own unique temporary directory.

Candidate causes

  • Windows executable creation or discovery may race under concurrent Go builds.
  • Antivirus or filesystem visibility may delay the .exe after go build returns.
  • The script may infer the executable suffix independently from the actual go build -o output.

Done when

  • Concurrent repository validation cannot produce a successful build stage followed by a missing smoke binary.
  • Serial smoke behavior remains unchanged.
## Observation `ward --audit-override-dirty exec smoke` failed while lint, build, palette, and pre-commit jobs ran concurrently, then passed unchanged when run serially. ## Evidence * Parallel run reported `smoke: build real acompose binary... ok`. * The next check failed with `smoke: missing file /tmp/agent-compose-smoke.RgSJzE/bin/acompose.exe`. * An unchanged serial `ward --audit-override-dirty exec smoke` passed all six stages. * The smoke run used its own unique temporary directory. ## Candidate causes * Windows executable creation or discovery may race under concurrent Go builds. * Antivirus or filesystem visibility may delay the `.exe` after `go build` returns. * The script may infer the executable suffix independently from the actual `go build -o` output. ## Done when * Concurrent repository validation cannot produce a successful build stage followed by a missing smoke binary. * Serial smoke behavior remains unchanged.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/agent-compose#68
No description provided.