fix(operations): audit orphaned Actions workflow identities - #32
Draft
seonghobae wants to merge 4 commits into
Draft
fix(operations): audit orphaned Actions workflow identities#32seonghobae wants to merge 4 commits into
seonghobae wants to merge 4 commits into
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Buyer and control-plane incident
Issue #31 proves that protected
maincontains four supported workflow sources while the live GitHub Actions registry reports 27 identities, including historical PR #20 repair, bootstrap, diagnosis, and finalizer paths that remainstate: activeafter their YAML was deleted. Source deletion is therefore not complete workflow lifecycle cleanup.This Draft begins a read-only, exact-revision lifecycle audit. It does not restore historical repair workflows, disable workflow records, add an Actions-write credential, change release blocker #17, or weaken PR #20's post-release integration gate.
Intentional RED
Exact test-only head:
b50676d95f8803c556dd459e5c9899c52d8d425eExact protected-main parent:
2559425084389176870eac9d1a855d219bc12ce3tests/test_actions_registry_audit.pyrequires the repository-owned production detector atscripts/ci/actions_registry_audit.py. Production code is intentionally absent. The focused local test was collected normally and failed only with:The committed design and implementation plan require:
actions: read,contents: read, andpull-requests: read;Authority and dependency boundary
Keep Draft through RED → GREEN, exact-head hosted gates, semantic review, and protected merge policy. Protected-main integration will still be intermediate: issue #31 closes only after an authorized operator independently revalidates the exact live ledger, disables only confirmed active orphan IDs through the GitHub Actions lifecycle API, preserves
ci,Hourly PR Maintenance,Hourly Product Development, andRelease ThreadWeave, and records before/after evidence.Related: ThreadWeave #31, ContextualWisdomLab/.github#945, ContextualWisdomLab/appguardrail#929.