Skip to content

test: diverge action-pins anchor to re-verify failure report - #456

Closed
joshua-temple wants to merge 1 commit into
mainfrom
test/trip-action-pins-guard-2
Closed

test: diverge action-pins anchor to re-verify failure report#456
joshua-temple wants to merge 1 commit into
mainfrom
test/trip-action-pins-guard-2

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

Intentional trip of the action-pins consistency guard to re-verify the failure-report fix from #453 renders correctly on a fresh run from main. One SHA on actions/checkout in the dependabot anchor is diverged from internal/generate/action_pins.yaml without touching the manifest, so TestActionPinsAnchorCoversManifest and TestWorkflowsConsistentWithActionPins fail on purpose.

Do not merge. This PR will be closed once the failure report is confirmed.

Signed-off-by: Joshua Temple waitingtables@gmail.com

Signed-off-by: Joshua Temple <joshua.temple@stablekernel.com>
@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

PR Validation checks failed

Action-pins consistency guard failed

Apply this edit to internal/generate/action_pins.yaml (adopt the bumped ref):

  • actions/checkout: set sha to 9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e1, version to v7.0.0

This assumes the Dependabot bump direction (adopting the governed got SHA into the manifest); a manifest-first hand edit would point the other way.

On a same-repo Dependabot PR the auto-fix job pushes this automatically; on a fork PR apply the edit by hand.

Job: Unit Tests

Failing step: Run unit tests

Annotations:

.github:6062 failure:  Process completed with exit code 123.
log tail
2026-07-05T03:39:30.3598000Z === RUN   TestActionPinsAnchorCoversManifest
2026-07-05T03:39:30.3598809Z     action_pins_anchor_test.go:39: 
2026-07-05T03:39:30.3600128Z         	Error Trace:	/home/runner/work/cascade/cascade/internal/generate/action_pins_anchor_test.go:39
2026-07-05T03:39:30.3602454Z         	Error:      	Should be empty, but was [workflows/action-pins.yml:49 actions/checkout want 9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 got 9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e1 # v7.0.0]
2026-07-05T03:39:30.3603670Z         	Test:       	TestActionPinsAnchorCoversManifest
2026-07-05T03:39:30.3605967Z         	Messages:   	dependabot anchor refs diverge from action_pins.yaml: [workflows/action-pins.yml:49 actions/checkout want 9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 got 9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e1 # v7.0.0]
2026-07-05T03:39:30.3607193Z --- FAIL: TestActionPinsAnchorCoversManifest (0.01s)
2026-07-05T03:39:30.3607613Z === RUN   TestDefaultActionPins_MatchesPriorHardcodedTable
2026-07-05T03:39:30.3608236Z --- PASS: TestDefaultActionPins_MatchesPriorHardcodedTable (0.00s)
2026-07-05T03:39:30.3608647Z === RUN   TestActionPinsManifest_EmitFlags
2026-07-05T03:39:30.3608983Z --- PASS: TestActionPinsManifest_EmitFlags (0.00s)
2026-07-05T03:39:30.3609482Z === RUN   TestActionRef_DefaultTagModeUnchanged
2026-07-05T03:39:30.3609853Z --- PASS: TestActionRef_DefaultTagModeUnchanged (0.00s)
2026-07-05T03:39:30.3610292Z === RUN   TestActionRef_ExplicitTagModeMatchesDefault
2026-07-05T03:39:30.3610775Z --- PASS: TestActionRef_ExplicitTagModeMatchesDefault (0.00s)
2026-07-05T03:39:30.3611195Z === RUN   TestActionRef_SHAModePinsEveryActionWithComment
2026-07-05T03:39:30.3611772Z --- PASS: TestActionRef_SHAModePinsEveryActionWithComment (0.00s)
2026-07-05T03:39:30.3612206Z === RUN   TestActionRef_ActionPinsOverrideRegardlessOfMode
2026-07-05T03:39:30.3612738Z --- PASS: TestActionRef_ActionPinsOverrideRegardlessOfMode (0.00s)
2026-07-05T03:39:30.3613494Z === RUN   TestActionRef_EmptyOverrideFallsThrough
2026-07-05T03:39:30.3614007Z --- PASS: TestActionRef_EmptyOverrideFallsThrough (0.00s)
2026-07-05T03:39:30.3614629Z === RUN   TestActionRef_UnknownActionPassthrough
2026-07-05T03:39:30.3615142Z --- PASS: TestActionRef_UnknownActionPassthrough (0.00s)
2026-07-05T03:39:30.3615528Z === RUN   TestActionRef_NilConfigSafe
2026-07-05T03:39:30.3615826Z --- PASS: TestActionRef_NilConfigSafe (0.00s)
2026-07-05T03:39:30.3616139Z === RUN   TestCLISetupRef_NilConfigSafe
2026-07-05T03:39:30.3616612Z --- PASS: TestCLISetupRef_NilConfigSafe (0.00s)
2026-07-05T03:39:30.3616930Z === RUN   TestCLISetupRef
2026-07-05T03:39:30.3617229Z === RUN   TestCLISetupRef/tag_default_when_cli_version_unset
2026-07-05T03:39:30.3617732Z === RUN   TestCLISetupRef/explicit_tag_in_tag_mode
2026-07-05T03:39:30.3618157Z === RUN   TestCLISetupRef/sha_mode_with_sha_set_emits_sha_and_version_comment
2026-07-05T03:39:30.3618756Z === RUN   TestCLISetupRef/sha_mode_without_sha_falls_back_to_tag
2026-07-05T03:39:30.3619152Z === RUN   TestCLISetupRef/tag_mode_ignores_a_set_sha
2026-07-05T03:39:30.3619563Z === RUN   TestCLISetupRef/beta_opts_into_master_regardless_of_pin_mode
2026-07-05T03:39:30.3620080Z --- PASS: TestCLISetupRef (0.00s)
2026-07-05T03:39:30.3620502Z     --- PASS: TestCLISetupRef/tag_default_when_cli_version_unset (0.00s)
2026-07-05T03:39:30.3621124Z     --- PASS: TestCLISetupRef/explicit_tag_in_tag_mode (0.00s)
2026-07-05T03:39:30.3621696Z     --- PASS: TestCLISetupRef/sha_mode_with_sha_set_emits_sha_and_version_comment (0.00s)
2026-07-05T03:39:30.3622436Z     --- PASS: TestCLISetupRef/sha_mode_without_sha_falls_back_to_tag (0.00s)
2026-07-05T03:39:30.3622938Z     --- PASS: TestCLISetupRef/tag_mode_ignores_a_set_sha (0.00s)
2026-07-05T03:39:30.3623621Z     --- PASS: TestCLISetupRef/beta_opts_into_master_regardless_of_pin_mode (0.00s)
2026-07-05T03:39:30.3624065Z === RUN   TestPinPolicy_E2E_SelfActionSHAPinned
2026-07-05T03:39:30.3624976Z --- PASS: TestPinPolicy_E2E_SelfActionSHAPinned (0.01s)
2026-07-05T03:39:30.3625369Z === RUN   TestPinPolicy_E2E_OrchestrateEmitsPinnedRefs
2026-07-05T03:39:30.3625940Z --- PASS: TestPinPolicy_E2E_OrchestrateEmitsPinnedRefs (0.01s)
2026-07-05T03:39:30.3626351Z === RUN   TestGetCLIRef_DefaultIsPinnedNotMutable
2026-07-05T03:39:30.3626725Z --- PASS: TestGetCLIRef_DefaultIsPinnedNotMutable (0.01s)
2026-07-05T03:39:30.3627218Z === RUN   TestPinPolicy_E2E_Deterministic
2026-07-05T03:39:30.3627539Z --- PASS: TestPinPolicy_E2E_Deterministic (0.02s)
2026-07-05T03:39:30.3627881Z === RUN   TestPinPolicy_E2E_TagModeDefaultUnchanged
2026-07-05T03:39:30.3628404Z --- PASS: TestPinPolicy_E2E_TagModeDefaultUnchanged (0.01s)
2026-07-05T03:39:30.3628786Z === RUN   TestReleaseGenerator_NoAppTokenByDefault
2026-07-05T03:39:30.3629192Z --- PASS: TestReleaseGenerator_NoAppTokenByDefault (0.00s)
2026-07-05T03:39:30.3629689Z === RUN   TestReleaseGenerator_ReleaseAppTokenMints
2026-07-05T03:39:30.3630071Z --- PASS: TestReleaseGenerator_ReleaseAppTokenMints (0.00s)
2026-07-05T03:39:30.3630586Z === RUN   TestReleaseGenerator_StateAppTokenMints
2026-07-05T03:39:30.3630966Z --- PASS: TestReleaseGenerator_StateAppTokenMints (0.00s)
2026-07-05T03:39:30.3631360Z === RUN   TestMintStep_FallbackPrefersConfiguredStaticToken
2026-07-05T03:39:30.3631927Z --- PASS: TestMintStep_FallbackPrefersConfiguredStaticToken (0.00s)
2026-07-05T03:39:30.3632336Z === RUN   TestResolveTokenRef_OffStateIdentity

Full job log

Job: PR Gate

Failing step: Verify gated jobs succeeded or were skipped

Annotations:

.github:19 failure:  Process completed with exit code 1.
log tail
2026-07-05T03:39:53.7672117Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20260628.225
2026-07-05T03:39:53.7673295Z ##[endgroup]
2026-07-05T03:39:53.7674458Z ##[group]GITHUB_TOKEN Permissions
2026-07-05T03:39:53.7676867Z Contents: read
2026-07-05T03:39:53.7677570Z Metadata: read
2026-07-05T03:39:53.7678156Z ##[endgroup]
2026-07-05T03:39:53.7680446Z Secret source: Actions
2026-07-05T03:39:53.7681609Z Prepare workflow directory
2026-07-05T03:39:53.8019020Z Prepare all required actions
2026-07-05T03:39:53.8116985Z Complete job name: PR Gate
2026-07-05T03:39:53.8952018Z ##[group]Run if [ "true" = "true" ]; then
2026-07-05T03:39:53.8953442Z �[36;1mif [ "true" = "true" ]; then�[0m
2026-07-05T03:39:53.8954331Z �[36;1m  echo "A required check failed or was cancelled."�[0m
2026-07-05T03:39:53.8955138Z �[36;1m  echo "  unit-tests:     failure"�[0m
2026-07-05T03:39:53.8955827Z �[36;1m  echo "  lint:           success"�[0m
2026-07-05T03:39:53.8956688Z �[36;1m  echo "  workflow-drift: success"�[0m
2026-07-05T03:39:53.8957365Z �[36;1m  exit 1�[0m
2026-07-05T03:39:53.8957897Z �[36;1mfi�[0m
2026-07-05T03:39:53.8958606Z �[36;1mecho "PR Gate passed (jobs succeeded or were skipped)."�[0m
2026-07-05T03:39:53.8959405Z �[36;1mecho "  unit-tests:     failure"�[0m
2026-07-05T03:39:53.8960561Z �[36;1mecho "  lint:           success"�[0m
2026-07-05T03:39:53.8961290Z �[36;1mecho "  workflow-drift: success"�[0m
2026-07-05T03:39:53.9421479Z shell: /usr/bin/bash -e {0}
2026-07-05T03:39:53.9422544Z ##[endgroup]
2026-07-05T03:39:53.9641574Z A required check failed or was cancelled.
2026-07-05T03:39:53.9643363Z   unit-tests:     failure
2026-07-05T03:39:53.9644650Z   lint:           success
2026-07-05T03:39:53.9645836Z   workflow-drift: success
2026-07-05T03:39:53.9667462Z ##[error]Process completed with exit code 1.
2026-07-05T03:39:53.9907526Z Cleaning up orphan processes

Full job log

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