Repository navigation
ci: typecheck + vitest + python cross-check - #19
Merged
Merged
Conversation
Closes #14: regression protection after the derivation-logic rewrites (10b32b4, 9da4c55). Two jobs — node 22 (npm ci -> tsc --noEmit -> vitest run) and python 3.12 (py_compile python/cli.py) so the cross-check CLI cannot silently rot. Branch-protection gating of main is a repo-settings action for the owner.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
No CI existed before, so these sat on main unnoticed (the premise of #14): - deterministic_age.test.ts:80 — literal \\n text glued into the source by a bad paste (esbuild: Syntax error "n"); restored real newlines. - semantic_paths.test.ts:165 — stale entropy assertion: /^[0-9a-f]{64}$/ predates the Phase 3c HMAC-SHA512 change to 64-byte entropy (128 hex), which the sibling test already asserts. - generate_vectors.test.ts — deriveMasterKey (argon2id, 64MiB) inside the test body makes workerd's io-context disconnect after ~12s of sync CPU ("Network connection lost" is the symptom, not a network problem); derived at module scope like deterministic_age.test.ts does. Local: vitest run 53/53 passed, tsc --noEmit clean.
3 tasks
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 #14.
npm ci→npm run typecheck(tsc --noEmit) →npm test(vitest run) — automated regression protection after the derivation-logic rewrites (10b32b4, 9da4c55).python -m py_compile python/cli.py— the cross-check implementation can no longer silently rot.Verification: CI on this PR is the proof (both jobs must go green on a clean runner).