chore(gates): fix wup.yaml schema and wire CLI testql scenarios (ticket-021) - #89
Merged
Merged
Conversation
…et-021) Co-authored-by: Koru Agent <agent@coru.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #21 (PLF-27: Bootstrap wup on-change gate).
Context
wup.yamlwas 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 isexclude_patternsservices[].full_tests→ schema key isdetail_testsservices[].type: cli→ valid types areweb|shell|autotestql:block → scenario_dir defaulted toscenarios/testsinstead oftestql-scenarios/test_strategy.full→ schema key isdetailChange
wup.yamlto the wup schema: oneshellservice (prefact-cli) watchingsrc/**+tests/**(.pyonly), quick layer pinned togenerated-cli-tests.testql.toon.yaml, detail layer togenerated-from-pytests.testql.toon.yaml,testql.scenario_dir: testql-scenarios, quick timeout raised to 30 s for CLI runs.wup/,deps.json,testql-deps.json)Verification
wup status— config loads, 1 service detectedwup map-deps— dep map built (1 service, scenarios mapped)wup testql-endpoints testql-scenarios— scenarios discoveredtestql run testql-scenarios/generated-cli-tests.testql.toon.yaml— passedtimeout 10 wup watch— daemon started, Quick TestQL passed for prefact-cliPYTHONPATH=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)