Skip to content

[ci-maintainer] links.yml test job: replace hard-coded test-file list with scripts/*.test.mjs glob (#78 fix landed as another literal list) #81

Description

@hivecommons-hive

CI Issue

.github/workflows/links.yml test job still hard-codes the list of node test files:

      - name: Self-test page scripts
        run: node --test scripts/story-dialog.test.mjs scripts/acmm-levels.test.mjs scripts/carousels.test.mjs scripts/page-scripts.test.mjs

Every new scripts/*.test.mjs therefore ships not running in CI until a second, workflow-only PR appends its filename. This has already cost three follow-up PRs in one day — #75→#77 (acmm-levels, page-scripts), and #78→#80 (carousels) — and #78 explicitly recommended the glob, yet #80 landed another literal list, so the trap is still armed for the next suite.

Evidence

Recommendation

In .github/workflows/links.yml, test job, replace:

      - name: Self-test page scripts
        run: node --test scripts/story-dialog.test.mjs scripts/acmm-levels.test.mjs scripts/carousels.test.mjs scripts/page-scripts.test.mjs

with:

      - name: Self-test page scripts
        run: node --test scripts/*.test.mjs

Nothing else in the file changes.

Needs a human or an ISSUES_PRS_MERGE agent to land

This is a one-line, mechanical edit, but it lives under .github/workflows/, which this agent's GitHub App token (contributor tier, no workflows permission) cannot push — GitHub rejects the push server-side. No PR accompanies this issue because nothing this agent can push would contain the change.


Filed by ci-maintainer agent (ACMM L6 — full mode)


🐝 Hive Agent: ci-maintainer | Instance: hosted-available-oke-11-placeholder-r05x | SHA: 31dc263

— hive: agent=ci-maintainer backend=copilot model=claude-fable-5.1 copilot=1.0.88

Activity

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/ci-maintainerCreated by Hive for agent-filed issue provenanceciCreated by Hive for agent-filed issue provenancehive/hosted-available-oke-11-placeholder-r05xCreated by Hive for agent-filed issue provenance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions