Skip to content

ci: record the deliberate float of krateo-platformops/.github reusables - #35

Merged
braghettos merged 1 commit into
mainfrom
ci/record-float-marker
Nov 30, 2026
Merged

braghettos merged 1 commit into
mainfrom
ci/record-float-marker

Conversation

@braghettos

Copy link
Copy Markdown

These uses: lines float at @main with no recorded reason. pinned-uses refuses an unrecorded float, so this is a correctness fix.

Behaviour does not change. The ref stays @main. Each affected line only gains a trailing comment. Nothing else in the job, triggers or permissions is touched.

The reason recorded is this organisation's own standing rationale, approved by the repository owner on 2026-11-07 and reaffirmed on 2026-11-18. The marker text is byte-identical in every repository.

Evidence, from the checker extracted from pinned-uses.yaml@f7efb919f4c8fbe37b01520e37790ab4b7404e63 and run with CALLER=krateo-platformops/audit:

  • this exact marker: rc=0, logs "floats since 2026-11-30, reason: ..."
  • bare @main: rc=1, "needs # X.Y.Z"
  • marker with a date but no reason: rc=1, "floats with no reason". The reason is mandatory, not decorative.

pinned-uses currently runs in 0 repositories in this organisation, so nothing is failing today. This makes the lines legal for when the check is wired.

No target file has a workflow_call trigger (checked with ^[[:space:]]*workflow_call:), so none of these floats is refused on that ground.

This repository intentionally ends up with one pinned line and one recorded float. release-oci.yaml:25 is pinned by open PR #34 because that line caused measured harm: its workflow_dispatch publish path silently became a no-op under release-oci 3.0.0's auto default. The pin is a response to evidence; this marker is the default.

🤖 Generated with Claude Code

https://claude.ai/code/session_01N8HNbD9V4fxkaSxajetjxe

Append the standing float marker to the unrecorded @main uses: lines. Ref unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N8HNbD9V4fxkaSxajetjxe
@braghettos

Copy link
Copy Markdown
Author

This PR and #34 are jointly required — merging one alone leaves this repository failing rule 9.

This repository has two bare (unrecorded) @main refs into krateo-platformops/.github, and they
are being fixed two different ways on purpose:

.github/workflows/release-oci.yaml:25     -> PINNED here, in #34
.github/workflows/release-notes.yaml:26   -> RECORDED FLOAT here, in this PR (#35)

The split is deliberate: release-oci.yaml:25 is the line with measured harm — floating @main
carried it across release-oci 3.0.0, whose dry_run default became auto, so its
workflow_dispatch publish path silently became a green no-op. A pin is the response to evidence.
release-notes.yaml:26 has no such history, so it takes the organisation's default treatment, a
recorded float.

Measured just now, running the pinned-uses checker (extracted from
pinned-uses.yaml@f7efb919f4c8fbe37b01520e37790ab4b7404e63) against a checkout carrying only
#35's change:

git-provider   rc=1   2 reusable-workflow uses, 1 not pinned (rule 9), 1 floating

versus four sibling repositories that took the marker on every line:

gojq rc=0  audit rc=0  sse-proxy rc=0  identity-lifecycle rc=0      (0 not pinned)

So with #35 alone this repository still fails, and with #34 alone it also still fails. Both, in
either order, and it passes.

Nothing is failing today — pinned-uses runs in 0 repositories in this organisation, so this is
latent either way. Flagging it because the two-PR coupling is my doing and would not be obvious from
either PR read alone.

@braghettos
braghettos merged commit b5c65af into main Nov 30, 2026
3 checks passed
@braghettos
braghettos deleted the ci/record-float-marker branch November 30, 2026 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant