Skip to content

fix(ci): account for the writing skill's node:test self-test in scheduled coverage - #205079

Merged
obviyus merged 1 commit into
mainfrom
fix/writing-skill-test-coverage
Nov 25, 2026
Merged

obviyus merged 1 commit into
mainfrom
fix/writing-skill-test-coverage

Conversation

@obviyus

@obviyus obviyus commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Problem

test/scripts/ci-scheduled-coverage.test.ts fails on main. #205028 added .agents/skills/openclaw-writing/scripts/writing.test.mjs, a standalone node:test self-test of a skill. No scheduled runner or coverage exception lists it, so "keeps live and non-Vitest tests out of the secretless every-file lane" reports it. Every PR whose CI selects that test fails, for example #205022.

Fix

List the writing skill's script self-tests in SCHEDULED_COVERAGE_EXCEPTIONS, with the same pattern and reason as the existing plugin-sdk-impact skill self-tests.

Impact

CI only. No product behavior changes.

Evidence

ocx test test/scripts/ci-scheduled-coverage.test.ts:

  • on main 9215601305: 1 failed, 2 passed
  • with this change: 3 passed

The same failure reproduced on main ad96c24 (AWS run run_e9c4578580e1fc461be523d79cbb2865).

@clawsweeper

clawsweeper Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS labels Nov 25, 2026
@clawsweeper clawsweeper Bot added the P2 Normal backlog priority with limited blast radius. label Nov 25, 2026
@obviyus
obviyus merged commit 5750fb8 into main Nov 25, 2026
108 checks passed
@obviyus
obviyus deleted the fix/writing-skill-test-coverage branch November 25, 2026 04:26
@obviyus

obviyus commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator Author

Landed. main's scheduled coverage test failed because the writing skill's node:test self-test had no scheduled runner or exception; it is now listed with the other skill self-tests. Proof: the test failed on main and passes here; CI green on the exact head.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 26, 2026
…uled coverage (openclaw#205079)

## Problem

`test/scripts/ci-scheduled-coverage.test.ts` fails on `main`. openclaw#205028 added `.agents/skills/openclaw-writing/scripts/writing.test.mjs`, a standalone `node:test` self-test of a skill. No scheduled runner or coverage exception lists it, so "keeps live and non-Vitest tests out of the secretless every-file lane" reports it. Every PR whose CI selects that test fails, for example openclaw#205022.

## Fix

List the writing skill's script self-tests in `SCHEDULED_COVERAGE_EXCEPTIONS`, with the same pattern and reason as the existing `plugin-sdk-impact` skill self-tests.

## Impact

CI only. No product behavior changes.

## Evidence

`ocx test test/scripts/ci-scheduled-coverage.test.ts`:
- on `main` `4b8201379d`: 1 failed, 2 passed
- with this change: 3 passed

The same failure reproduced on `main` `34773c7` (AWS run `run_e9c4578580e1fc461be523d79cbb2865`).

Co-authored-by: Ayaan Zaidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. scripts Repository scripts size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant