From 7136e33fdf0f4f0292c78fdefd0eddafd88cfc22 Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Mon, 15 Jun 2026 00:00:33 +0200 Subject: [PATCH] ci: sync decisions from the DQR tree too (decision-query tests) `pql plan import` materializes tickets from the changelog; decisions come from the governance/ DQR markdown via `pql decisions sync`. The remaining 4 unit failures were decisionList/decisionShow/decisionRead hitting exit 66. Run the sync after the import. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/test.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c998322d..2c5d81ec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,8 +33,11 @@ jobs: pql --version # The pql tests query the repo's vault, but .pql/pql.db is gitignored # (the post-checkout hook rebuilds it from the committed changelog). - # A fresh CI checkout has the changelog but no db — materialize it. + # A fresh CI checkout has the changelog but no db — materialize it, + # and sync decision records from the governance/ DQR markdown tree + # (tickets come from the changelog; decisions from `decisions sync`). pql plan import + pql decisions sync # test-coverage runs the full fast suite WITH coverage (it includes the # a11y suite — see the push-check note in the Makefile), which is what # coverage-gate consumes. @@ -61,8 +64,11 @@ jobs: pql --version # The pql tests query the repo's vault, but .pql/pql.db is gitignored # (the post-checkout hook rebuilds it from the committed changelog). - # A fresh CI checkout has the changelog but no db — materialize it. + # A fresh CI checkout has the changelog but no db — materialize it, + # and sync decision records from the governance/ DQR markdown tree + # (tickets come from the changelog; decisions from `decisions sync`). pql plan import + pql decisions sync - uses: coactions/setup-xvfb@v1 with: { run: make test-integration } @@ -86,8 +92,11 @@ jobs: pql --version # The pql tests query the repo's vault, but .pql/pql.db is gitignored # (the post-checkout hook rebuilds it from the committed changelog). - # A fresh CI checkout has the changelog but no db — materialize it. + # A fresh CI checkout has the changelog but no db — materialize it, + # and sync decision records from the governance/ DQR markdown tree + # (tickets come from the changelog; decisions from `decisions sync`). pql plan import + pql decisions sync - run: make smoke-bundle # The web-WASM Playwright job is withheld: `flutter build web --wasm` cannot