Skip to content

chore(gates): fix wup.yaml schema and wire CLI testql scenarios (ticket-021) - #89

Merged
tom-sapletta-com merged 1 commit into
mainfrom
ticket/021-bootstrap-wup-gate
Sep 19, 2026
Merged

tom-sapletta-com merged 1 commit into
mainfrom
ticket/021-bootstrap-wup-gate

Conversation

@tom-sapletta-com

Copy link
Copy Markdown
Contributor

Closes #21 (PLF-27: Bootstrap wup on-change gate).

Context

wup.yaml was bootstrapped from the koru template in 5ee1fd1 (PLF-010/011), but several keys did not match the wup config schema, so they were silently ignored:

  • watch.excludes → schema key is exclude_patterns
  • services[].full_tests → schema key is detail_tests
  • services[].type: cli → valid types are web|shell|auto
  • missing testql: block → scenario_dir defaulted to scenarios/tests instead of testql-scenarios/
  • test_strategy.full → schema key is detail

Change

  • Rewrite wup.yaml to the wup schema: one shell service (prefact-cli) watching src/** + tests/** (.py only), quick layer pinned to generated-cli-tests.testql.toon.yaml, detail layer to generated-from-pytests.testql.toon.yaml, testql.scenario_dir: testql-scenarios, quick timeout raised to 30 s for CLI runs
  • Enable the planfile failure→ticket bridge (blame reports create PLF tickets)
  • Ignore wup runtime artifacts (.wup/, deps.json, testql-deps.json)

Verification

  • wup status — config loads, 1 service detected
  • wup map-deps — dep map built (1 service, scenarios mapped)
  • wup testql-endpoints testql-scenarios — scenarios discovered
  • testql run testql-scenarios/generated-cli-tests.testql.toon.yaml — passed
  • timeout 10 wup watch — daemon started, Quick TestQL passed for prefact-cli
  • PYTHONPATH=src pytest -q — 126 passed (against worktree source; the env editable install points at the stale primary checkout)
  • ruff check . — 709 pre-existing errors, identical to pristine main baseline (change is yaml/gitignore only)

…et-021)

Co-authored-by: Koru Agent <agent@coru.dev>
@tom-sapletta-com
tom-sapletta-com merged commit 972e3bb into main Sep 19, 2026
2 checks passed
@tom-sapletta-com
tom-sapletta-com deleted the ticket/021-bootstrap-wup-gate branch September 19, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bootstrap wup on-change gate

1 participant