You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 32457de
Browse filesBrowse the repository at this point in the historyBrowse files
#806's ONE allowed semantic repair, by operator decision (Option A), for
P1 4201892749: a re-run that re-executes the emitter may leave more than
one ci-attest-v1 artifact on the same run (GitHub has been observed
listing one per attempt, cli/cli#12437).
Documentation clarification only; the two-operation plan is unchanged:
- Section 4 re-run note: duplicates are deliberately "unavailable"
(UNKNOWN downstream). LOCATE never chooses among them. Liveness only:
no false success, no older or newer pick by heuristic, no readiness.
Recovery is a NEW workflow run (push, a close and reopen, or any
legitimate higher run_number), which can become the current-run
frontier. A failed-jobs re-run that skips the emitter is unaffected; a
re-run-all that leaves duplicates may stay UNKNOWN, as accepted for V1.
- Producer unchanged: overwrite stays false, with one artifact per
executed attempt. No unproven cross-attempt overwrite, no created_at or
artifact-id ordering, and no download-all selection by runAttempt.
- Fixture A3: two or more valid-looking artifacts for one run id give
"unavailable", with no download and no selection. A1, A2 and A4 kept.
- Section 16 records the spent repair; one evidence row.
No new request, loop, ordering or attempt-selection rule. Docs only
(T0). #802 untouched.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
| A2 | no `ci-attest-v1` artifact |*unavailable*; no download |
260
-
| A3 | two `ci-attest-v1` artifacts |*unavailable*; no download |
274
+
| A3 | two or more valid-looking `ci-attest-v1` artifacts for one run id — for example after a re-run that re-executed the emitter |*unavailable*; no download and no selection|
261
275
| A4 | the one artifact is expired |*unavailable*; no download |
262
276
| A5 | a `total_count` different from the number of artifacts returned |*unavailable*; no download |
263
277
| A6 | more than 100 matching artifacts, so paging would be required |*unavailable*; no second page and no download |
@@ -575,6 +589,12 @@ reader-state family → **stop**.
575
589
**Review budget.** One exact-head review round. One semantic repair is allowed. A second P0–P2 in the same family →
576
590
**stop**, with no patch loop.
577
591
592
+
**Spent.** Codex's review of `2aa208c678` raised P1 `4201892749`: a re-run can leave several same-name artifacts on one
593
+
run, which LOCATE's exactly-one rule makes *unavailable*. By operator decision (Option A), this is accepted as a
594
+
documented V1 liveness limitation (§4). Duplicates are deliberately *unavailable*, recovery is a new run, and no
595
+
attempt-selection rule, extra request or ordering was added. A further P0–P2 in the attestation-reader or
596
+
re-run-artifact family → **stop**.
597
+
578
598
---
579
599
580
600
## Appendix — evidence (2026-10-06, read only)
@@ -595,3 +615,4 @@ reader-state family → **stop**.
595
615
| REST `actions/list-workflow-run-artifacts` (OpenAPI), for §16 | query `name`, `per_page` and `page`; the response holds `total_count` and `artifacts`; an artifact's `digest` is a nullable string |
596
616
| REST `actions/download-artifact` (OpenAPI), for §16 |`GET …/actions/artifacts/{artifact_id}/{archive_format}`, where the format must be `zip`; it answers `302` with a `Location` URL that expires after one minute, or `410`|
597
617
| PR #802, ready-triggered review `5436100752`, for §16 | P1 `4201792798`: reading an attestation takes two GitHub operations, and §4 allowed one |
618
+
| GitHub CLI issue `cli/cli#12437` (open, 2026-01-07), for §4's re-run note | after a re-run, one run's name-filtered artifact list returned two same-name artifacts, one per attempt (`pmd/pmd` run `20775770442`; those artifacts have since expired) |
0 commit comments