Repository navigation
tests: the tokenizer's own tests run in CI (test-tokenizer-host) - #3082
Merged
Merged
Conversation
ashhart
force-pushed
the
lead/tokenizer-tests-ci
branch
from
November 14, 2026 03:27
de8c04d to
d8875fb
Compare
ashhart
added a commit
that referenced
this pull request
Nov 17, 2026
ashhart
force-pushed
the
lead/tokenizer-tests-ci
branch
from
November 17, 2026 21:56
d8875fb to
858ab62
Compare
…Linux and macOS fast lists The only step reaching the tokenizer module filtered it to its two EOS policy tests, so the other 49 were never compiled in CI. test-tokenizer-host runs the module unfiltered on the host in Debug with libc (two tests fork a child and rely on safety checks). tokenizer_test.zig now also references regex, steps, tiktoken and unicode, so tiktoken's test is reached too. 55 tests: 51 named, 4 blocks.
# Conflicts: # CHANGELOG.md
ashhart
force-pushed
the
lead/tokenizer-tests-ci
branch
from
November 17, 2026 23:29
858ab62 to
0d6f9f8
Compare
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.
What this changes
The tokenizer's own tests never ran in CI: the only step that reached them was filtered to "EOS policy:". A new
test-tokenizer-hoststep (zig/build/tokenizer_host.zig) runs the whole tokenizer module's tests unfiltered, without a GPU or shader compiler, and it is in the Linux and macOS fast host lists inzig/build/host_ci.zig(kept sorted).tokenizer_test.zignow references four more files so their tests are reached; without them one test was never compiled.Checks on this head
zig fmt --check: clean.test-tokenizer-host: 55/55 (51 named tests plus 4 unnamed blocks), twice, no failures.zig build -ldeclares the new step and both CI aggregates, and every name in both lists resolves.Receipt
n/a: CI wiring only; no engine code changes.
Checklist