Skip to content

fix(fleet): download ledger artifacts per-subdir so multi-job ledgers do not clobber - #276

Merged
joshua-temple merged 1 commit into
mainfrom
fix/fleet-reconcile-ledger-merge
Jun 24, 2026
Merged

joshua-temple merged 1 commit into
mainfrom
fix/fleet-reconcile-ledger-merge

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

Each register-run upload names its artifact uniquely but the file inside is always cascade-run-ledger.jsonl. fleet-reconcile downloaded with merge-multiple, which flattens all artifacts into one directory, so the identically-named files overwrote each other and only one job's ledger survived. Multi-job suites (3env/2env/4env) therefore saw their genuinely-registered runs as unregistered and the gate red. Single-job suites use the in-workspace path and were unaffected (and passed). Fix: drop merge-multiple so each artifact lands in its own subdirectory; the assemble step's existing recursive find -exec cat concatenates one ledger per job. Fleet infra only. The live rc.28 fleet run surfaced this.

… do not clobber

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
@joshua-temple
joshua-temple merged commit 8ed1f39 into main Jun 24, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant