Skip to content

Run .github/scripts tests in CI #3405

Done

Description

@Birfy

Problem

.github/scripts/*.test.mjs never runs in CI. .github/workflows/tests.yml (frontend job, line 27) runs only tests/*.test.mjs plus the compose planner, so every test we wrote for the pipeline scripts is local-only evidence:

A regression in any of those scripts merges green today.

Slice

Add the glob to the existing frontend step of tests.yml. One step, one line. No job renames, no new workflow, no new check name.

Acceptance

  • The frontend step runs node --test tests/*.test.mjs .github/scripts/*.test.mjs manager/compose-planner/compose-command-planner.test.js (or equivalent single invocation) and fails if any of those files fail.
  • The 7 suite job names and the FlyBot required checks gate name are unchanged (see the name table in docs/DEV_PIPELINE.md).
  • The CI run on the PR shows the script tests executing: log line tests count at or above the number of cases actually present on the PR head.
  • No /scripts/ test is skipped silently: if the glob matches nothing, the step must fail.

Out of scope

  • Wiring merge-gate.yml / risk:T* labelling into CI (separate slices).
  • Adding issues: write, new jobs, or new required checks.

Related #3393.

Activity

  1. added
    agent-ready
    on Nov 27, 2026
  2. Birfy commented on Nov 27, 2026

    @Birfy
    CollaboratorAuthor

    Claimed. Branch dev/3405-scripts-tests-ci, cut from main at 4a8791ad (will rebase onto main once #3404 lands, since the acceptance count includes its 7 cases).

    Related #3393.

  3. added
    agent-working
    on Nov 27, 2026
  4. Birfy commented on Nov 27, 2026

    @Birfy
    CollaboratorAuthor

    Delivered by PR #3406, merged as main 60e80980f0b5fbd2d94fb8847778161d00de1828 (squash, parent 4a3e7a06, 2 files +6/-3; merged tree 57652b74 = the verified head tree).

    The .github/scripts/*.test.mjs tests now run inside the existing frontend job of tests.yml — no new job, no new check name, FlyBot required checks untouched. The ls guard makes the step red if the script tests ever disappear (node --test on an empty glob exits 0 on Node 24).

    Evidence on the PR, both bound to head 5072d22d:

    Recorded honestly: on that one head FlyBot required checks produced one failing run (45939643553, 2 annotations) and then a passing one (45940989438, 0 annotations); no job-log endpoint, so it is recorded as a flake, not as clean green.

    Related #3393

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyagent-working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions