Skip to content

ci: exercise pin reconcile companion via create-github-app-token bump - #481

Closed
joshua-temple wants to merge 1 commit into
mainfrom
test/reconcile-selfheal-trip
Closed

joshua-temple wants to merge 1 commit into
mainfrom
test/reconcile-selfheal-trip

Conversation

@joshua-temple

Copy link
Copy Markdown
Collaborator

Throwaway acceptance trip for the pin reconcile self-heal companion. Bumps the create-github-app-token ref in the dependabot anchor to a real prior release ref (v3.1.1) so the manifest and anchor disagree. Expectation under test: the pin-reconcile workflow_run companion adopts the bumped ref into internal/generate/action_pins.yaml and pushes a regenerate commit onto this branch. Will be closed without merge.

… reconcile companion

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

github-actions Bot commented Jul 6, 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/create-github-app-token: set sha to 1b10c78c7865c340bc4f6099eb2f838309f1e8c3, version to v3.1.1

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:6231 failure:  Process completed with exit code 123.
log excerpt
2026-07-06T07:45:49.2309849Z === RUN   TestActionPinsAnchorCoversManifest
2026-07-06T07:45:49.2310808Z     action_pins_anchor_test.go:39: 
2026-07-06T07:45:49.2312356Z         	Error Trace:	/home/runner/work/cascade/cascade/internal/generate/action_pins_anchor_test.go:39
2026-07-06T07:45:49.2315831Z         	Error:      	Should be empty, but was [workflows/action-pins.yml:57 actions/create-github-app-token want bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 got 1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1]
2026-07-06T07:45:49.2317997Z         	Test:       	TestActionPinsAnchorCoversManifest
2026-07-06T07:45:49.2320988Z         	Messages:   	dependabot anchor refs diverge from action_pins.yaml: [workflows/action-pins.yml:57 actions/create-github-app-token want bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 got 1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1]
2026-07-06T07:45:49.2323562Z --- FAIL: TestActionPinsAnchorCoversManifest (0.01s)
2026-07-06T07:45:49.2324278Z === RUN   TestDefaultActionPins_MatchesPriorHardcodedTable
2026-07-06T07:45:49.2325094Z --- PASS: TestDefaultActionPins_MatchesPriorHardcodedTable (0.00s)
2026-07-06T07:45:49.2325822Z === RUN   TestActionPinsManifest_EmitFlags
2026-07-06T07:45:49.2326203Z --- PASS: TestActionPinsManifest_EmitFlags (0.00s)
2026-07-06T07:45:49.2326588Z === RUN   TestActionRef_DefaultTagModeUnchanged
2026-07-06T07:45:49.2326985Z --- PASS: TestActionRef_DefaultTagModeUnchanged (0.00s)
2026-07-06T07:45:49.2327372Z === RUN   TestActionRef_ExplicitTagModeMatchesDefault
2026-07-06T07:45:49.2327775Z --- PASS: TestActionRef_ExplicitTagModeMatchesDefault (0.00s)
2026-07-06T07:45:49.2328194Z === RUN   TestActionRef_SHAModePinsEveryActionWithComment
2026-07-06T07:45:49.2328617Z --- PASS: TestActionRef_SHAModePinsEveryActionWithComment (0.00s)
2026-07-06T07:45:49.2329045Z === RUN   TestActionRef_ActionPinsOverrideRegardlessOfMode
2026-07-06T07:45:49.2329489Z --- PASS: TestActionRef_ActionPinsOverrideRegardlessOfMode (0.00s)
2026-07-06T07:45:49.2329899Z === RUN   TestActionRef_EmptyOverrideFallsThrough
2026-07-06T07:45:49.2330289Z --- PASS: TestActionRef_EmptyOverrideFallsThrough (0.00s)
2026-07-06T07:45:49.2330663Z === RUN   TestActionRef_UnknownActionPassthrough
2026-07-06T07:45:49.2331042Z --- PASS: TestActionRef_UnknownActionPassthrough (0.00s)
2026-07-06T07:45:49.2331386Z === RUN   TestActionRef_NilConfigSafe
2026-07-06T07:45:49.2331931Z --- PASS: TestActionRef_NilConfigSafe (0.00s)
2026-07-06T07:45:49.2332932Z === RUN   TestCLISetupRef_NilConfigSafe
2026-07-06T07:45:49.2333301Z --- PASS: TestCLISetupRef_NilConfigSafe (0.00s)
2026-07-06T07:45:49.2333618Z === RUN   TestCLISetupRef
2026-07-06T07:45:49.2333925Z === RUN   TestCLISetupRef/tag_default_when_cli_version_unset
2026-07-06T07:45:49.2334309Z === RUN   TestCLISetupRef/explicit_tag_in_tag_mode
2026-07-06T07:45:49.2334742Z === RUN   TestCLISetupRef/sha_mode_with_sha_set_emits_sha_and_version_comment
2026-07-06T07:45:49.2335210Z === RUN   TestCLISetupRef/sha_mode_without_sha_falls_back_to_tag
2026-07-06T07:45:49.2335600Z === RUN   TestCLISetupRef/tag_mode_ignores_a_set_sha
2026-07-06T07:45:49.2336005Z === RUN   TestCLISetupRef/beta_opts_into_master_regardless_of_pin_mode
2026-07-06T07:45:49.2336392Z --- PASS: TestCLISetupRef (0.00s)
2026-07-06T07:45:49.2336831Z     --- PASS: TestCLISetupRef/tag_default_when_cli_version_unset (0.00s)
2026-07-06T07:45:49.2337339Z     --- PASS: TestCLISetupRef/explicit_tag_in_tag_mode (0.00s)
2026-07-06T07:45:49.2337919Z     --- PASS: TestCLISetupRef/sha_mode_with_sha_set_emits_sha_and_version_comment (0.00s)
2026-07-06T07:45:49.2338578Z     --- PASS: TestCLISetupRef/sha_mode_without_sha_falls_back_to_tag (0.00s)
2026-07-06T07:45:49.2339091Z     --- PASS: TestCLISetupRef/tag_mode_ignores_a_set_sha (0.00s)
2026-07-06T07:45:49.2339636Z     --- PASS: TestCLISetupRef/beta_opts_into_master_regardless_of_pin_mode (0.00s)
2026-07-06T07:45:49.2340077Z === RUN   TestPinPolicy_E2E_SelfActionSHAPinned
2026-07-06T07:45:49.2340444Z --- PASS: TestPinPolicy_E2E_SelfActionSHAPinned (0.01s)
2026-07-06T07:45:49.2340822Z === RUN   TestPinPolicy_E2E_OrchestrateEmitsPinnedRefs
2026-07-06T07:45:49.2341226Z --- PASS: TestPinPolicy_E2E_OrchestrateEmitsPinnedRefs (0.01s)
2026-07-06T07:45:49.2341621Z === RUN   TestGetCLIRef_DefaultIsPinnedNotMutable
2026-07-06T07:45:49.2341997Z --- PASS: TestGetCLIRef_DefaultIsPinnedNotMutable (0.01s)
2026-07-06T07:45:49.2342609Z === RUN   TestPinPolicy_E2E_Deterministic
2026-07-06T07:45:49.2343228Z --- PASS: TestPinPolicy_E2E_Deterministic (0.03s)
2026-07-06T07:45:49.2343625Z === RUN   TestPinPolicy_E2E_TagModeDefaultUnchanged
2026-07-06T07:45:49.2344015Z --- PASS: TestPinPolicy_E2E_TagModeDefaultUnchanged (0.01s)
2026-07-06T07:45:49.2344410Z === RUN   TestActionRef_OverridePreservesVersionComment
2026-07-06T07:45:49.2344821Z --- PASS: TestActionRef_OverridePreservesVersionComment (0.00s)
2026-07-06T07:45:49.2345246Z === RUN   TestRenderLocalActions_RejectsUnsafeActionFolder
2026-07-06T07:45:49.2345659Z === PAUSE TestRenderLocalActions_RejectsUnsafeActionFolder
2026-07-06T07:45:49.2346068Z === RUN   TestGenerateLocalActions_RejectsUnsafeActionFolder
2026-07-06T07:45:49.2346488Z === PAUSE TestGenerateLocalActions_RejectsUnsafeActionFolder
2026-07-06T07:45:49.2346891Z === RUN   TestRenderLocalActions_AllowsDefaultActionFolder
2026-07-06T07:45:49.2347284Z === PAUSE TestRenderLocalActions_AllowsDefaultActionFolder
2026-07-06T07:45:49.2347656Z === RUN   TestReleaseGenerator_NoAppTokenByDefault

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 excerpt
2026-07-06T07:46:13.0842778Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20260628.225
2026-07-06T07:46:13.0843768Z ##[endgroup]
2026-07-06T07:46:13.0844926Z ##[group]GITHUB_TOKEN Permissions
2026-07-06T07:46:13.0847513Z Contents: read
2026-07-06T07:46:13.0848130Z Metadata: read
2026-07-06T07:46:13.0848988Z ##[endgroup]
2026-07-06T07:46:13.0851730Z Secret source: Actions
2026-07-06T07:46:13.0852825Z Prepare workflow directory
2026-07-06T07:46:13.1185460Z Prepare all required actions
2026-07-06T07:46:13.1279474Z Complete job name: PR Gate
2026-07-06T07:46:13.2069659Z ##[group]Run if [ "true" = "true" ]; then
2026-07-06T07:46:13.2070552Z �[36;1mif [ "true" = "true" ]; then�[0m
2026-07-06T07:46:13.2071321Z �[36;1m  echo "A required check failed or was cancelled."�[0m
2026-07-06T07:46:13.2072227Z �[36;1m  echo "  unit-tests:     failure"�[0m
2026-07-06T07:46:13.2072956Z �[36;1m  echo "  lint:           success"�[0m
2026-07-06T07:46:13.2073831Z �[36;1m  echo "  workflow-drift: success"�[0m
2026-07-06T07:46:13.2074551Z �[36;1m  exit 1�[0m
2026-07-06T07:46:13.2075064Z �[36;1mfi�[0m
2026-07-06T07:46:13.2075819Z �[36;1mecho "PR Gate passed (jobs succeeded or were skipped)."�[0m
2026-07-06T07:46:13.2076657Z �[36;1mecho "  unit-tests:     failure"�[0m
2026-07-06T07:46:13.2077363Z �[36;1mecho "  lint:           success"�[0m
2026-07-06T07:46:13.2078093Z �[36;1mecho "  workflow-drift: success"�[0m
2026-07-06T07:46:13.2388092Z shell: /usr/bin/bash -e {0}
2026-07-06T07:46:13.2389611Z ##[endgroup]
2026-07-06T07:46:13.2586558Z A required check failed or was cancelled.
2026-07-06T07:46:13.2694233Z   unit-tests:     failure
2026-07-06T07:46:13.2699827Z   lint:           success
2026-07-06T07:46:13.2720569Z   workflow-drift: success
2026-07-06T07:46:13.2745989Z ##[error]Process completed with exit code 1.
2026-07-06T07:46:13.2954215Z Cleaning up orphan processes

Full job log

@joshua-temple
joshua-temple deleted the test/reconcile-selfheal-trip branch July 6, 2026 07:53
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