Skip to content

pr-triage: 33 in-scope callers pin 981e7ae; roll the caller pin forward to a core commit with the ADR-0086/0087 contract and the 5xx retry #287

Open

Description

@frostyard-machines

Problem

33 in-scope caller workflows in 33 repositories pin frostyard/core/.github/workflows/pr-triage.yml at 981e7ae (core#246, 2026-11-13). Since that commit, core changed the reusable workflow 3 times:

#255 and #256 (rule B categories) changed only the gate check-risk-paths.mjs; the embedded levels step does not run checkWhyCategories, so a pin bump does not fail on a list without categories.

Callers and their pins

Read on 2026-11-22 from the in-scope non-archived repositories of frostyard and bketelsen: each file under .github/workflows/ on the default branch that names frostyard/core/.github/workflows/pr-triage.yml@<SHA>. Grant check: core's own triageCallerGrantGaps (scripts/lib/fleet-conventions.mjs) on each file. Every caller job already has its own permissions mapping with contents: read and pull-requests: write: ok for all 40 in-scope files.

Repository Visibility Caller file Pin Job grant
bketelsen/agentic-template public risk-paths.yml 981e7ae contents: read, pull-requests: write
bketelsen/fleet private risk-paths.yml 57f3b9b contents: read, pull-requests: write, checks: read, statuses: read
bketelsen/mwb public pr-triage.yml db33e54 contents: read, pull-requests: write
bketelsen/pi-pocket-dune public risk-paths.yml 981e7ae contents: read, pull-requests: write
bketelsen/pi-pocket-team public risk-paths.yml 981e7ae contents: read, pull-requests: write
bketelsen/trimlights public risk-paths.yml 981e7ae contents: read, pull-requests: write
bketelsen/truenas-mcp public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/apt-publisher public risk-paths.yml 57f3b9b contents: read, pull-requests: write, checks: read, statuses: read
frostyard/bootc-debian public pr-triage-dispatch.yml 57f3b9b contents: read, pull-requests: write
frostyard/bootc-debian public risk-paths.yml 57f3b9b contents: read, pull-requests: write
frostyard/chairlift public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/clix public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/firn public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/flatpak-index public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/frostmail public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/frostmarks public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/frostnotes public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/frostui public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/frostwatch public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/frostyard-org public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/hearth public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/homebrew-tap public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/igloo public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/intuneme public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/lab public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/lodge public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/nsl public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/omarchy-apps public pr-triage-dispatch.yml 57f3b9b contents: read, pull-requests: write
frostyard/omarchy-apps public risk-paths.yml 57f3b9b contents: read, pull-requests: write
frostyard/pilothouse public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/pocket public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/pocketgo public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/porter public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/problem-intake public risk-paths-caller.yml 981e7ae contents: read, pull-requests: write
frostyard/repogen public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/snosi public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/snowkit public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/std public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/testsuite public risk-paths.yml 981e7ae contents: read, pull-requests: write
frostyard/updex public risk-paths.yml 981e7ae contents: read, pull-requests: write

Totals: 33 files at 981e7ae, 6 at 57f3b9b (apt-publisher, bootc-debian ×2, omarchy-apps ×2, bketelsen/fleet), 1 at db33e54 (bketelsen/mwb). Core's own caller uses the local path.

What a caller must change

To move from 981e7ae to a current core SHA:

  1. Every caller: change the pin to the new 40-character SHA. Nothing else for a public repository: the job grant contents: read + pull-requests: write that each caller already has is what rule A requires.
  2. A private repository: add checks: read and statuses: read to the pr-triage job (rule A). Today only bketelsen/fleet is private, and it has both.
  3. A repository whose workflows open or update PRs with GITHUB_TOKEN: add .github/workflows/pr-triage-dispatch.yml from the rule A2 template and a dispatch step (actions: write) in the bot job. Found by reading the workflows (and the script a workflow runs, where one opens the PR):
    • frostyard/bootc-debian, frostyard/omarchy-apps: done at 57f3b9b.
    • frostyard/homebrew-tap: bump.yml opens PRs through .github/scripts/bump_casks.py with GITHUB_TOKEN; no dispatch caller yet.
    • frostyard/snosi: check-dependencies.yml and check-packages.yml use WORKFLOW_PAT when it is set, else GITHUB_TOKEN; no dispatch caller yet.
  4. Tests that pin the SHA: several repositories test their caller file (code search for the path: scripts/check-template.mjs + test/check-template.test.mjs in the template-derived repositories, tests/baseline/baseline_test.go in clix and std, test/workflow-pins-test.py in snosi, updex/risk_paths_contract_test.go, tests/check-baseline*.sh in apt-publisher, bootc-debian and omarchy-apps, and others). Where a test names the SHA, it moves in the same PR.

bketelsen/mwb names its caller pr-triage.yml, not risk-paths.yml: its owner checks that the Actions event policy for caller paths (design) covers that path.

Rollout proposal

frostyard/incus is outside the rollout scope under the maintained-fork exemption approved on 2026-12-01.

  1. Merge the pr-triage: retry a GitHub API 5xx or network error before the step fails #286 retry fix in core. The target pin is the first main commit that contains it, so every caller gets fix(pr-triage): skip the job for a title or body edit and another label #264, feat(pr-triage): take the caller's token grant and accept a dispatch for bot PRs #278 and the retry in 1 bump.
  2. Core posts the target SHA in this issue.
  3. Each repository owner bumps their own repositories, 1 PR per repository: the pin (every caller file), the SHA in any test that names it, and step 3 above for homebrew-tap and snosi. The PR touches .github/workflows/**, so it is risk:high where the list says so; the PR body names the path and why it is safe (the reusable workflow checks out nothing and runs no PR code; the job grant does not change).
  4. After a bump merges, the owner checks the next PR run's pr-triage / pr-triage job on GitHub (green, level label set) and ticks the repository here.
  5. Order: core-adjacent and low-traffic repositories first (a 2-repository canary, for example clix and std), then the rest in 1 pass. The bketelsen repositories are Brian's.
  6. Optional follow-up, a separate issue: extend npm run check:fleet to report a caller pin that is behind the newest core commit that changed pr-triage.yml or its embedded libraries, so drift shows before it costs a red run.

No other owner's repository is changed by this issue.

Activity

  1. frostyard-machines commented on Nov 22, 2026

    @frostyard-machines
    ContributorAuthor

    Target pin: f99acfddee0a5466990b72e6292a5b1642444a25, the merge of #288 (retry of a GitHub API 5xx or network error, #286). It is the first main commit with #264, #278 and the retry, so each caller moves to it in 1 bump (rollout step 2).

    Canary: frostyard/clix and frostyard/std, 1 PR each (pin in risk-paths.yml and the SHA in tests/baseline/baseline_test.go where it is named). The other repositories bump after the canary's pr-triage / pr-triage run at the new pin is green.

  2. frostyard-machines commented on Nov 22, 2026

    @frostyard-machines
    ContributorAuthor

    Canary passed in clix and std at f99acfddee0a5466990b72e6292a5b1642444a25.

    frostyard/clix#136 (merged a9cf1d7) and frostyard/std#122 (merged c196974) moved the caller pin. pr-triage runs on pull_request_target, so the first runs at the new pin came from the next labeled event on an open PR in each repository:

    Repository PR (head) Run referenced_workflows Conclusion Level label after
    frostyard/clix #135 (06de109) 44990315703 pr-triage.yml@f99acfddee0a5466990b72e6292a5b1642444a25 success level:L1 (plus risk:high)
    frostyard/clix #134 (067dc0b) 44990315399 pr-triage.yml@f99acfddee0a5466990b72e6292a5b1642444a25 success level:L3
    frostyard/std #121 (826ccee) 44990417254 pr-triage.yml@f99acfddee0a5466990b72e6292a5b1642444a25 success level:L1 (plus risk:high)

    In all 3 runs the label ready-for-human stayed on (the head did not move and CI at the head was green), as the contract requires. The pin can roll out to the other callers in the table above.

  3. added 18 commits that reference this issue on Nov 22, 2026
  4. frostyard-machines commented on Nov 23, 2026

    @frostyard-machines
    ContributorAuthor

    Step 3 (rule A2 dispatch caller): frostyard/snosi done.

    frostyard/snosi#1365 (merged 01e0f83) added .github/workflows/pr-triage-dispatch.yml at f99acfddee0a5466990b72e6292a5b1642444a25 and a dispatch step in check-dependencies.yml and check-packages.yml. The first bot PRs after the merge came from Check External Dependencies run 45192271806 (workflow_dispatch, 2026-11-23 14:15Z), which dispatched triage for each PR:

    PR (author) Opened Dispatch run referenced_workflows Conclusion Labels set by the run
    frostyard/snosi#1373 (frostyard-machines) 14:15:58Z 45192347048 pr-triage.yml@f99acfddee0a5466990b72e6292a5b1642444a25 success level:L1, risk:high (14:16:10Z)
    frostyard/snosi#1374 (frostyard-machines) 14:16:04Z 45192361019 pr-triage.yml@f99acfddee0a5466990b72e6292a5b1642444a25 success level:L1, risk:high (14:16:17Z)

    Both runs log event "workflow_dispatch" and the matching pull request number. The labels were added by github-actions[bot].

    frostyard/homebrew-tap: the dispatch caller merged in frostyard/homebrew-tap#59 (aabfa6c, 2026-11-23 00:25Z). No bump PR yet: the scheduled bump.yml run since then (45167905066) opened no PR, and pr-triage-dispatch.yml has not run yet. It gets its tick after the first bump PR is triaged.

  5. changed the title [-]pr-triage: 34 callers pin 981e7ae; roll the caller pin forward to a core commit with the ADR-0086/0087 contract and the 5xx retry[/-] [+]pr-triage: 33 in-scope callers pin 981e7ae; roll the caller pin forward to a core commit with the ADR-0086/0087 contract and the 5xx retry[/+] on Dec 1, 2026
  6. openbotgit commented on Dec 1, 2026

    @openbotgit

    Removed frostyard/incus from this rollout. The 2026-12-01 decision exempts Incus from Frostyard organization standards as a maintained fork. The existing caller already uses the target revision from Incus #20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions