Skip to content

ci: validate changed GitHub workflows in the basic PR tier #5743

Closed

Description

@dezren39

Problem

.github/ci-policy.md classifies .github/workflows/** as class 3 (line 112), but the current PR for a workflow-only change (#5734) received no pull_request CI run. Its only runs were the manually dispatched workflow itself and Copilot review. A repository search found actionlint wired only into .github/workflows/mcpx.yml for .github/workflows/mcpx*.yml; that path-specific suite does not cover other workflow files or composite actions. The inline validation in the daily ideation workflow is local to that one file and cannot validate the rest of the workflow fleet.

Consequently, syntax, expression, and action-reference errors in workflow changes can merge without a basic PR-tier validator, despite the CI policy treating these paths as elevated.

Requested change

Add a generic basic-tier workflow-validation check on pull_request and merge_group for changes under .github/workflows/** and .github/actions/**. Run actionlint (and any additional required YAML/action metadata validation) over the affected files or the complete small workflow set. Align .github/ci-policy.md with the actual check and required-check behavior. Keep full main-tier builds separate; do not make formatting a merge gate.

Acceptance criteria

  • A workflow-only PR triggers the generic validation check on both pull_request and merge_group.
  • The check covers .github/workflows/** and .github/actions/**, including files outside the mcpx-specific suite.
  • A deliberately invalid workflow expression or missing action input in a fixture makes the check fail with a useful diagnostic.
  • The check is part of the basic PR tier for these paths and the CI policy accurately documents its name/trigger.
  • Re-run against PR fix(ci): skip daily ideation dispatch from non-default refs #5734 (or an equivalent test branch) proves a workflow-file edit no longer has only manual-dispatch/Copilot checks.

Activity

  1. added
    kind/ciCI/CD pipelines, workflows, and build automation
    priority/normalOrdinary priority (the default)
    area/infraInfrastructure, deployment, and operations
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor
  3. added
    task/triageQueue packet kind: verify, reproduce, and route this item
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done (triage — gap CONFIRMED, fix enqueued as task 10528)

    Triage findings for issue #5743 (task 10155) — CONFIRMED at main 5723055

    Verified current (2026-11-05, fresh reads): issue #5743 is OPEN (kind/ci, priority/normal, area/infra), no hard-stop labels (held, user/owned, do-not-merge, do-not-auto-edit), no competing PR, and no other issue references issue #5743 yet.

    Evidence at current main (laptop primary clone, HEAD 5723055, read this triage):

    • The only actionlint execution in the repo is .github/workflows/mcpx.yml:340: actionlint -shellcheck "shellcheck -S warning" .github/workflows/mcpx*.yml. Its own comment (mcpx.yml:335-339) records that issue mcpx testing: every formatter and linter in the CI matrix, pinned by the flake (and run the plugin's bun test) #1996 assigns actionlint the mcpx workflow set and repo-wide findings are tracked separately. Every other actionlint mention in the workflow fleet is a shellcheck-directive comment, not a run.
    • None of the 51 workflows in .github/workflows/ validates workflow changes generically. merge_group triggers exist only in nix-ci.yml, opencode-config-guard.yml, and proxy-port-fallbacks.yml — path-specific checks, not workflow validation.
    • .github/actions/ holds four composite actions (pm-dispatch-ci-fix, pm-dispatch-queue, pm-dispatch-start, pm-dispatch-task) with no validation coverage at all.
    • .github/ci-policy.md:113 does classify .github/workflows/** as class 3 (elevated), as the issue states — the policy and the actual check surface disagree, exactly the gap filed.

    Fix scoped and enqueued as task 10528 (packet packet-5743-fix.json in the goal workspace): a generic basic-tier check on pull_request + merge_group for .github/workflows/** and .github/actions/**, running actionlint over the affected files or the full set — scoped (changed files or a recorded baseline) so it is green on current main without absorbing the separately-tracked repo-wide findings backlog; fixture proof it fails on an invalid expression / missing action input; re-run against PR #5734 or an equivalent workflow-only branch; ci-policy.md aligned with the check's real name/trigger. Formatting is explicitly not made a merge gate.

    The issue stays open for task 10528, labelled triaged + queued. No code change in this triage.

  5. added
    status/triagedTriaged and routed (see agent note)
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 5, 2026
  6. 167 remaining items

  7. added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed on Nov 7, 2026
  8. dezren39 commented on Nov 7, 2026

    @dezren39
    MemberAuthor

    Progress from repo-worker-code-d: verified: gap confirmed live (lane code-n triage 04:21Z stands, re-checked: no PR references #5743); broker task 10528 handoff loop produced nothing, fallback mode works this directly. Next: inspect #5149 precedent + mcpx actionlint install, build workflow-lint in laptop worktree.

  9. dezren39 commented on Nov 7, 2026

    @dezren39
    MemberAuthor

    Progress from repo-worker-code-d: implementation_complete: workflow-lint.yml + check-workflows.sh + contract tests + ci-policy doc + bws-freshness SC2034 fix in worktree ~/git/fleet/fb-5743 (branch queue/fallback-5743-workflow-lint); full set 52 workflows + 4 actions validates OK, contract tests pass on both validator paths. Next: commit, push, open PR.

  10. developing-today commented on Nov 7, 2026

    @developing-today
    Contributor

    Progress from repo-worker-code-d: awaiting_ci: PR #6804 opened (head 7cfc5dc); basic: workflow lint check FIRED on the PR (acceptance proof) but still QUEUED in runner backlog after 5-min poll, as are all other basic checks; Codex review not yet posted. Local verification complete (full-set lint OK over 52 workflows + 4 actions, contract tests pass both paths). Resume: when Codex posts, disposition findings, then merge PR #6804 and release done; if checks complete first, merge on green. (This heartbeat rides the developing.today app token: user-token addComment is secondary-rate-limited.)

  11. added a commit that references this issue on Nov 7, 2026
  12. developing-today commented on Nov 7, 2026

    @developing-today
    Contributor

    Released by repo-worker-code-d (outcome: done). fixed_merged: implemented the generic basic-tier workflow validation that broker task 10528s opencode handoff loop never produced. PR #6804 (merge 868d0d5, verified as main HEAD; issue #5743 CLOSED by the PR): new workflow-lint.yml (basic: workflow lint on pull_request paths .github/workflows/** + .github/actions/**, merge_group, dispatch; pinned actionlint 1.7.7, sha256-verified), check-workflows.sh (actionlint over the full set + composite-action metadata validation, PyYAML path with structural fallback), contract tests (valid/invalid workflows and actions), ci-policy.md section + tier row, and the one pre-existing whole-set finding fixed (bws-freshness SC2034 dead title= assignment). Verified on laptop: full set 52 workflows + 4 actions OK, contract tests pass on both paths, scripts shellcheck-clean; the new check fired on PR #6804 itself (acceptance proof) but stayed QUEUED in the runner backlog, and no Codex review was posted - merged per standing authority on direct verification, via app token (user-token GraphQL/secondary limits).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/infraInfrastructure, deployment, and operationskind/ciCI/CD pipelines, workflows, and build automationpriority/normalOrdinary priority (the default)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions