Repository navigation
Conversation
Automated branches created with GITHUB_TOKEN produce startup-failure runs (jobs=[], 'workflow file issue'). The branch-blind gh run list picked those up and counted validate-patterns/audit as failing; the gates already run inside the automation before the PR opens. Scope the check to main, the only place the dogfood result is meaningful, and drop the stale STATE.md bullet.
Contributor
|
This PR changes paths that must run the real Fork PRs from first-time contributors start with those workflows waiting for approval. A maintainer needs to open the Checks tab and click Approve and run workflows. Until that happens, branch protection will show the PR as blocked even after a review. Content-only PRs ( — loop-engineering fork-pr-gate |
…ealth-main-only # Conflicts: # STATE.md
This branch has not been deployed
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.
Summary
Scope the daily-triage workflow-health check to
main, so startup failures onautomated/*bot PR branches no longer read as dogfood gate failures.Related issue
Relates to the long-standing
**2** dogfood workflow(s) failing — investigate validate-patterns / audititem inSTATE.md(carried since 2026-10-02).Root cause
gh run list --workflow=<wf>.yml --limit 1had no branch filter, so it picked up the newest run regardless of branch. Automated branches (automated/star-history-*,automated/daily-triage-*) are pushed withGITHUB_TOKEN, and their PR runs end in ~21s withjobs: []and GitHub's "This run likely failed because of a workflow file issue." Repeated checks showed:main: last 3 runs of bothvalidate-patterns.ymlandaudit.ymlaresuccess(push and schedule).automated/*: every PR run is a startup failure, with no logs (log not found).mainand the failing branch heads.The gates that matter already run inside
daily-triage.yml/update-star-history.ymlbefore any PR is opened, so the bot PR's own check runs carry no signal. They were counted anyway, which kept a permanent false "2 failing" line inSTATE.md.Changes
Other
.github/workflows/daily-triage.yml: add--branch mainto the workflow-healthgh run list.STATE.md: drop the stale "2 dogfood workflow(s) failing" bullet (the generator only emits it when the count is > 0).Checklist (from CONTRIBUTING)
STATE.md*examples use.examplesuffix (n/a)docs/safety.md(n/a)tools/<pkg>: n/aTesting / Dogfood
python -c "import yaml; yaml.safe_load(open('.github/workflows/daily-triage.yml'))"→jobs: ['triage']validate-patterns: success,audit: success,failing=0node scripts/validate-registry.mjs→ Registry valid: 8 patternsnode scripts/check-loop-init-sync.mjs→ loop-init pattern sync OK (8 patterns)node scripts/sync-untrusted-input.mjs --check→ untrusted-input guidance OK (55 files)node --test scripts/github-triage.test.mjs scripts/append-run-log.test.mjs scripts/sync-untrusted-input.test.mjs→ 36 pass, 0 failOpened from a fork (
thlwt:fix/triage-workflow-health-main-only) because this account has no write access to the upstream repo.