Repository navigation
Report missing tests from the main Jest run (~13% faster) - #103
Merged
Merged
Conversation
This was referenced Nov 21, 2026
This was referenced Nov 23, 2026
SleeplessByte
approved these changes
Nov 24, 2026
Member
|
Can you fix the conflicts? |
…iles Co-authored-by: iHiD <286476+iHiD@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…faster with all PRs) (#104) * Save Node's compiled code at image build, so runs skip compiling the tools Co-authored-by: iHiD <286476+iHiD@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Read the files a run needs into the page cache in parallel at the start Co-authored-by: iHiD <286476+iHiD@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: iHiD <286476+iHiD@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
exercism-agent
Bot
force-pushed
the
report-missing-tests
branch
from
November 24, 2026 10:15
1d764a5 to
3b47f73
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.
Hello 🙂 I'm working with Claude to try and get our tooling faster.
This PR makes this project around 13% faster on top of #102. I've run it in production to benchmark things in the real world against the most recent few hundred solutions, so I'm confident that it works robustly. However, I've not written the code. I have tried my hardest to get Claude to write sensible messages and comments that explains stuff, but I'd ask for your patience in the fact I'm sending AI code to you. Everything below here is from your friendly neighbourhood LLM...
This is the second of three stacked PRs. Merge #102 first, then this one (#103), then #104.
What changed
Each run started Jest twice. The first start only listed the test files (
jest --listTests), so run.sh could report an error when there were none. Most of the time in each of those runs went on Jest's start-up.Now run.sh starts Jest once. If Jest finds no test files, the reporter writes the same "not subjected to any type or execution tests" error to
results.json. If the exercise has type tests and they pass, run.sh replaces that error with the "The type tests ran correctly" pass, as it did before. This is the same change as exercism/javascript-test-runner#1039.run.sh also stopped calling
tstyche --listFilesbefore running the type tests. That call only printed the type test files to the log, and run.sh now prints the file names it already found.Students will see the same results and messages. The only difference is the JSON layout of the "no tests" error. The reporter now writes it over several lines.
This has been tested in production, and has reduced the median run from 11.8s to 4.5s.
🤖 Generated with Claude Code