Pin the nightly callers to craft-common-actions be00e5cc (#371)

Both callers' uses and tooling-revision, the policy's two tooling revisions
and producer_workflow_ref, and the guide move from fc7124a1 (#370) to
be00e5ccd18b68e950c8a08532f2230e7c3d0cba, the main commit that merged #371: candidate
admission binds Sonar facts to the built commit's own main analysis instead
of main's latest. Callee inputs and policy fields are unchanged; the policy
still fits the candidate read budget (73 of 640 with FIXED_READS 24).

The guide's admission-timing note now says the candidate needs its own
finished main analysis, at most a day old, and that later merges no longer
stop admission.
This commit is contained in:
skylartaylor committed 2026-11-26 02:14:56 +01:00
1 parent 8388f0b8aa
commit ff7cd64adf
4 files changed
+20 -17

No files matched your search

+3 -3
View File
@@ -4,10 +4,10 @@
"repository_id": 1398080271,
"producer_workflow_id": 428462603,
"producer_workflow_path": ".github/workflows/nightly.yml",
"producer_tooling_revision": "fc7124a1defa96813aee060031dc8b4d2afa3652",
"producer_workflow_ref": "storytold/craft-common-actions/.github/workflows/nightly-unsigned.yml@fc7124a1defa96813aee060031dc8b4d2afa3652",
"producer_tooling_revision": "be00e5ccd18b68e950c8a08532f2230e7c3d0cba",
"producer_workflow_ref": "storytold/craft-common-actions/.github/workflows/nightly-unsigned.yml@be00e5ccd18b68e950c8a08532f2230e7c3d0cba",
"signer_workflow_path": ".github/workflows/nightly-sign.yml",
"signer_tooling_revision": "fc7124a1defa96813aee060031dc8b4d2afa3652",
"signer_tooling_revision": "be00e5ccd18b68e950c8a08532f2230e7c3d0cba",
"release_branch": "nightly-signer",
"manual_actors": [
"bflatastic",
+2 -2
View File
@@ -35,9 +35,9 @@ jobs:
checks: read
attestations: write
id-token: write
uses: storytold/craft-common-actions/.github/workflows/nightly-release.yml@fc7124a1defa96813aee060031dc8b4d2afa3652
uses: storytold/craft-common-actions/.github/workflows/nightly-release.yml@be00e5ccd18b68e950c8a08532f2230e7c3d0cba
with:
tooling-revision: fc7124a1defa96813aee060031dc8b4d2afa3652
tooling-revision: be00e5ccd18b68e950c8a08532f2230e7c3d0cba
app-name: photocraft
producer_run_id: ${{ inputs.producer_run_id }}
producer_run_attempt: ${{ inputs.producer_run_attempt }}
+3 -3
View File
@@ -22,12 +22,12 @@ jobs:
actions: read
attestations: write
id-token: write
uses: storytold/craft-common-actions/.github/workflows/nightly-unsigned.yml@fc7124a1defa96813aee060031dc8b4d2afa3652
uses: storytold/craft-common-actions/.github/workflows/nightly-unsigned.yml@be00e5ccd18b68e950c8a08532f2230e7c3d0cba
with:
tooling-revision: fc7124a1defa96813aee060031dc8b4d2afa3652
tooling-revision: be00e5ccd18b68e950c8a08532f2230e7c3d0cba
app-name: photocraft
manual-actors: '["bflatastic","dylanmtaylor","echelon","FredApps","skylartaylor"]'
craft-fonts-ref: cc9269cd8d8258785dac603fba3122e5d2556795
# One producer run builds every listed platform for one all-or-nothing release. The pin is the
# craft-common-actions main commit that merged #370 (with #369, #367 and the signer-branch #364).
# craft-common-actions main commit that merged #371 (built-commit Sonar admission), on #370.
platforms: '["windows-x86_64","linux-x86_64","macos-aarch64"]'
+12 -9
View File
@@ -14,9 +14,10 @@ gh api repos/storytold/photocraft/actions/workflows/nightly.yml --jq .id
The callers pass no platform secrets. The unsigned reusable caller's maximum OIDC/attestation
permissions are for its isolated attester; its compiler narrows to contents and Actions read
only, with no OIDC, attestation write, release environment or platform signing secrets.
Shared tooling is pinned to `fc7124a1defa96813aee060031dc8b4d2afa3652`, the craft-common-actions
main commit that merged [#370](https://github.com/storytold/craft-common-actions/pull/370). It
includes #369 (the clean-source fix and the macos-15 runner), #367 and
Shared tooling is pinned to `be00e5ccd18b68e950c8a08532f2230e7c3d0cba`, the craft-common-actions
main commit that merged [#371](https://github.com/storytold/craft-common-actions/pull/371), which
admits the built commit on its own Sonar analysis rather than main's latest. It includes #370,
#369 (the clean-source fix and the macos-15 runner), #367 and
[#364](https://github.com/storytold/craft-common-actions/pull/364), which
lets the signer run on the policy's signer branch (`release` or `nightly-signer`). It includes
[#363](https://github.com/storytold/craft-common-actions/pull/363) (the multi-app pipeline, which
@@ -49,15 +50,17 @@ producer's `manual-actors` and the policy's `manual_actors`. The list mirrors th
team (id 19837241), leaving out `echelon-robot`, which can only read photocraft; update it by PR
in both places when the team changes.
**Admission timing.** The candidate check reads the newest CI run on the candidate commit and
main's latest finished Sonar analysis, so when to dispatch matters:
**Admission timing.** The candidate check reads the newest CI run on the candidate commit and,
since #371, the candidate's own main Sonar analysis, so when to dispatch matters:
- Dispatch the producer only on a main commit pushed after that day's scheduled CI run
(03:11 UTC). The scheduled run leaves out most of the 19 required jobs (the Windows legs,
git-sources, the test without HEIF and the web build), and if it ran on the same commit it is
the newest run there, so admission refuses.
- The candidate must be main's latest finished Sonar analysis. Pick a quiet main, wait for its
CI and SonarCloud analysis to finish green, then dispatch the producer and, once it succeeds,
the signer, before another main push lands a newer analysis.
- The candidate needs its own finished main SonarCloud analysis, at most a day old (Sonar keeps
intraday analyses for only a day or two). Later merges and their analyses no longer stop
admission, but every unresolved main vulnerability, and every one resolved since the
candidate's analysis, must be in the reviewed debt. Wait for the candidate's CI and SonarCloud
analysis to finish, then dispatch the producer and, once it succeeds, the signer within a day.
**Platform rows.** The producer caller lists
`platforms: '["windows-x86_64","linux-x86_64","macos-aarch64"]'` on its single job: one producer
@@ -82,7 +85,7 @@ Read on 2026-11-23, with the Sonar gate and debt re-read on 2026-11-24; re-read
|---|---|---|
| `repository_id` | `1398080271` | `gh api repos/storytold/photocraft --jq .id` |
| `producer_workflow_id` | `428462603` | `gh api repos/storytold/photocraft/actions/workflows/nightly.yml` after `nightly.yml` reached main (path `.github/workflows/nightly.yml`, state `active`) |
| `producer_tooling_revision`, `signer_tooling_revision`, `producer_workflow_ref` | `fc7124a1…` (craft-common-actions #370, with #369, #367 and #364) | The callers' pin |
| `producer_tooling_revision`, `signer_tooling_revision`, `producer_workflow_ref` | `be00e5cc…` (craft-common-actions #371, with #370, #369, #367 and #364) | The callers' pin |
| `manual_actors` / `automatic_signer_actors` | the five release managers / `[]` | release-managers team (id 19837241) members who can push (4 admin, FredApps write); equals the producer caller's `manual-actors` |
| `max_age_seconds`, `max_artifact_bytes` | `86400`, `2147483648` | Go-live checklist (Linux tarball is about 126 MB) |
| `platforms` | three rows | v0.23.1 stable identities, as in the example; the Windows publisher subject was confirmed by reading the stable v0.23.1 `photocraft.exe` Authenticode signature on Windows |