Skip to content

fix(check): report yolo-workflows as unknown when the canonical owner is unresolved - #1396

Merged
max-sixty merged 1 commit into
mainfrom
fix/issue-1395
Sep 23, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/issue-1395

Conversation

@tend-agent

Copy link
Copy Markdown
Collaborator

When detect_canonical_owner fails, run_all_checks rendered the expected yolo workflows with repo_owner="". That output has no fork guard, and every committed generated workflow has one, so yolo-workflows reported FAIL ("not current generated output") because the owner lookup failed, not because the workflows had drifted. The check now reports unknown in that case, and tend check goes through its existing "Yolo security checks are incomplete" path instead of a hard failure. The new test test_yolo_workflows_unknown_when_canonical_owner_is_unresolved fails before the change (passed is False) and passes after it. test_run_all_checks_yolo_accepts_main_deploy_without_reviewer now stubs the owner, because its fake gh can't resolve one.

This covers only the issue's last paragraph. The main report, where every yolo consumer fails this check between a release and its regeneration PR, needs a decision on whether an earlier release's output counts as audited, so this PR doesn't change it.

Refs #1395 — automated triage

… is unresolved

Without the owner, the expected output drops the fork guard every committed
generated workflow carries, so the byte comparison reported drift that was
not there.

Refs #1395
@max-sixty
max-sixty merged commit 4cf4a20 into main Sep 23, 2026
11 checks passed
@max-sixty
max-sixty deleted the fix/issue-1395 branch September 23, 2026 07:39
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.

2 participants