Skip to content

test(skill): align gen-cli-ref test with flat layout from PR #189#647

Merged
coseto6125 merged 1 commit into
mainfrom
fix/gen-cli-ref-test
Jul 22, 2026
Merged

test(skill): align gen-cli-ref test with flat layout from PR #189#647
coseto6125 merged 1 commit into
mainfrom
fix/gen-cli-ref-test

Conversation

@coseto6125

Copy link
Copy Markdown
Owner

What

tests/skill/test-gen-cli-ref.sh has failed on every run since PR #189 (May 2026), which intentionally removed the versioned CLI-reference directories + manifest.json from gen-cli-ref.sh ("keeping only the latest references directly under _shared/cli/") but left the test asserting the old <out>/<version>/ + manifest layout.

The flat layout is the current design everywhere — on-disk (docs/skills/ecp-onboard/_shared/cli/*.md) and in every SKILL.md link — so the fix is to make the test assert the flat contract:

  • per-command .md files directly under the output dir, with Usage: content
  • pin the absence of the versioned dir and manifest.json, so a silent re-introduction of the abandoned layout fails loudly

Verified: test passes; full tests/skill/ suite green.

Surfaced while validating PR #646 (the failure predates that change — reproduced identically on unmodified main).

PR #189 removed versioned CLI-reference dirs + manifest.json from
gen-cli-ref.sh (only the latest refs live under _shared/cli/, matching
SKILL.md links), but test-gen-cli-ref.sh kept asserting the old
<out>/<version>/ + manifest layout — failing on every run since.
Assert the flat contract instead, and pin the absence of the removed
versioned dir / manifest so a silent re-introduction fails loudly.
@coseto6125
coseto6125 enabled auto-merge (squash) July 22, 2026 17:01
@coseto6125 coseto6125 added the merge-queue Opt-in to Mergify merge queue label Jul 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor
ecp impact cache (0 symbols) — internal, used by ecp dev pr-analyze

[]

@github-actions github-actions Bot added the ecp:risk-low ecp signal label Jul 22, 2026
@coseto6125
coseto6125 merged commit 1a0424d into main Jul 22, 2026
18 checks passed
@coseto6125
coseto6125 deleted the fix/gen-cli-ref-test branch July 22, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ecp:risk-low ecp signal merge-queue Opt-in to Mergify merge queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant