From 0aea8a170df47d47a62d02ef2935edcbe281d143 Mon Sep 17 00:00:00 2001 From: Sawako Yamanaka Date: Sun, 27 Sep 2026 10:46:39 +0000 Subject: [PATCH 1/3] fix(ci): run existing checks on dev pull requests Co-Authored-By: Paperclip --- .github/workflows/governance.yml | 2 +- .github/workflows/wfl-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/governance.yml b/.github/workflows/governance.yml index 57efc3b..25c7b9e 100644 --- a/.github/workflows/governance.yml +++ b/.github/workflows/governance.yml @@ -4,7 +4,7 @@ on: push: branches: [main] pull_request: - branches: [main] + branches: [main, dev] workflow_dispatch: permissions: diff --git a/.github/workflows/wfl-tests.yml b/.github/workflows/wfl-tests.yml index 2046718..17cd6b1 100644 --- a/.github/workflows/wfl-tests.yml +++ b/.github/workflows/wfl-tests.yml @@ -4,7 +4,7 @@ on: push: branches: [main] pull_request: - branches: [main] + branches: [main, dev] workflow_dispatch: permissions: From 466aa5a1350d12da289a1781ec7902b3e7dabe01 Mon Sep 17 00:00:00 2001 From: Sawako Yamanaka Date: Sun, 27 Sep 2026 10:49:45 +0000 Subject: [PATCH 2/3] test(ci): preserve dev PR coverage and align testing policy Co-Authored-By: Paperclip --- testing.md | 4 ++-- tests/tooling/ci_targets.test.wfl | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 tests/tooling/ci_targets.test.wfl diff --git a/testing.md b/testing.md index f44245a..ae44939 100644 --- a/testing.md +++ b/testing.md @@ -256,8 +256,8 @@ keyboard behavior, or data integrity. checks on Blacksmith Linux and GitHub-hosted Windows. [WFL tests](.github/workflows/wfl-tests.yml) runs the complete WFL suite via `wfl --execution-timeout 1200 scripts/run_tests.wfl` on -`blacksmith-2vcpu-ubuntu-2404`. Both workflows run for pushes and pull requests to -`main` and support manual dispatch. +`blacksmith-2vcpu-ubuntu-2404`. Both workflows run for pushes to `main`, pull requests to `main` and `dev`, +and manual dispatch. WFL tests pulls `bsbyrdwfl/wfl:nightly` from Docker Hub for every run, resolves the image digest, and uses that immutable image for that run's runtime checks. diff --git a/tests/tooling/ci_targets.test.wfl b/tests/tooling/ci_targets.test.wfl new file mode 100644 index 0000000..8e91301 --- /dev/null +++ b/tests/tooling/ci_targets.test.wfl @@ -0,0 +1,15 @@ +// Keep dev PR coverage while preserving the main-only push boundary. +include from "../../scripts/test_support.wfl" + +store repo_root as path_dirname of (path_dirname of script_directory) + +describe "Governance rollout CI targets": + test "both workflows admit dev PRs without broadening push events": + for each workflow_name in ["governance.yml", "wfl-tests.yml"]: + store workflow_path as path_join of repo_root and ".github/workflows" and workflow_name + store workflow_text as test_read_text of workflow_path + expect workflow_text to contain " pull_request:\n branches: [main, dev]" + expect workflow_text to contain " push:\n branches: [main]\n" + end for + end test +end describe From ba48484e9432582829143e7d1895b382cc8f2687 Mon Sep 17 00:00:00 2001 From: Sawako Yamanaka Date: Sun, 27 Sep 2026 10:52:51 +0000 Subject: [PATCH 3/3] fix(test): normalize Windows line endings in CI target assertions Co-Authored-By: Paperclip --- tests/tooling/ci_targets.test.wfl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/tooling/ci_targets.test.wfl b/tests/tooling/ci_targets.test.wfl index 8e91301..7ab5a2c 100644 --- a/tests/tooling/ci_targets.test.wfl +++ b/tests/tooling/ci_targets.test.wfl @@ -7,7 +7,12 @@ describe "Governance rollout CI targets": test "both workflows admit dev PRs without broadening push events": for each workflow_name in ["governance.yml", "wfl-tests.yml"]: store workflow_path as path_join of repo_root and ".github/workflows" and workflow_name - store workflow_text as test_read_text of workflow_path + store raw_workflow as test_read_text of workflow_path + // Windows checkout uses CRLF; event semantics do not depend on EOL. + store workflow_text as "" + for each text_fragment in (split raw_workflow by "\r"): + change workflow_text to workflow_text with text_fragment + end for expect workflow_text to contain " pull_request:\n branches: [main, dev]" expect workflow_text to contain " push:\n branches: [main]\n" end for