Skip to content

Run the events, follow and policy suites in just test - #27

Open
0bserver07 wants to merge 3 commits into
tobi:mainfrom
0bserver07:ci/run-every-test-suite
Open

Run the events, follow and policy suites in just test#27
0bserver07 wants to merge 3 commits into
tobi:mainfrom
0bserver07:ci/run-every-test-suite

Conversation

@0bserver07

@0bserver07 0bserver07 commented Aug 27, 2026

Copy link
Copy Markdown

The just test recipe names eight of the walgit-server test binaries. events.rs, follow.rs and policy.rs in crates/walgit-server/tests/ aren't in that list or in any other recipe, so they have never run locally or in CI (CI just calls just test). This adds them. They pass as they are: seven tests in about five seconds.

Two small things fixed while in there:

  • .github/workflows/ci.yml pinned Node 22 while README.md, flake.nix and the Containerfile all say 24; both setup-node steps now match.
  • The README's developing block called just ci "all of the above" but the list left out just clippy, which the recipe runs.

Checked by running the recipe's third command as it now reads: eleven suites, 45 tests, all green. No Rust changes. I couldn't run the GitHub workflow itself, so the Node bump is verified by reading, not by a run.

0bserver07 and others added 3 commits August 27, 2026 12:13
The third command of the test recipe, justfile line 86, named eight walgit-server
test binaries, and crates/walgit-server/tests/ holds three more. No other recipe
named them: ci at line 118 is warnings clippy test e2e, and e2e at line 90 runs
only --test e2e, so events.rs, follow.rs and policy.rs never ran on a laptop or in
CI even though they compile under just clippy. This appends --test events --test
follow --test policy to that command. The three suites pass today, seven tests
in about five seconds, and .github/workflows/ci.yml line 58 runs just test, so the
change reaches CI without editing the workflow.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
.github/workflows/ci.yml pinned node-version: 22 at lines 46 and 78, while every
other place that builds the SPA asks for Node 24: README.md line 118, flake.nix
line 69 and Containerfile line 17. CI ran just web-build on a different major than
a contributor's laptop or the OCI image, so a problem that shows up on only one of
them could pass unnoticed. Both setup-node steps now say 24. GitHub Actions does
not run locally here, so the check is that the workflow now agrees with those three
files rather than a test.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
README.md line 158 called just ci "all of the above" after a list of three
commands, but the recipe at justfile line 118 is ci: warnings clippy test e2e and
AGENTS.md section 5 names those same four gates. A reader following the README
skipped the clippy gate on a laptop and met it for the first time in CI. The block
now lists just clippy next to the other three and says what just ci actually runs.
This is documentation, so the check is that the list matches justfile line 118.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

1 participant