The builder's path
For: Vitest and bytenode users hit segfaults when running code through vm modules.
“The unexamined life is not worth living.”
ὁ δὲ ἀνεξέταστος βίος οὐ βιωτὸς ἀνθρώπῳ
Written for this problem
Start with developers using Vitest or bytenode with Node.js vm modules. The sources leave these open:
Maintainers can confirm whether the root cause is the V8 bug and which versions are affected.
Start from what is already published.
Build a small public repository that runs vm.runInThisContext under Vitest and bytenode across Node.js versions, with and without the VSCode debugger, to record when the crash happens. The results would answer the open questions about debug mode and current Node.js releases.
Write a small helper that runs vm calls in a child process or worker thread so a crash is isolated and reported instead of killing the test run. Test it against the reproduction matrix before offering it to users.
It is solved when: vm.runInThisContext and related calls no longer crash when used by Vitest or bytenode.
Routes to a solution
Each route is a different kind of journey, with real people and organisations to contact at each step, starting with those in every country.
Step 1
Build in the open
Publish the code and invite contributors from the community.
Let the people a free tool helps fund its maintainer directly.
Raise and spend money in the open for a community project.
Grants for open source that makes the internet better.
Network of civic tech groups in many countries; find the one near the problem.
Step 2
Fund the maintainers
Sponsors, collectives and open source grants.
Let the people a free tool helps fund its maintainer directly.
Raise and spend money in the open for a community project.
Grants for open source that makes the internet better.
Network of civic tech groups in many countries; find the one near the problem.
Step 3
Get it adopted
Civic tech groups and public bodies take it up.
Y Combinator's free course and co-founder matching.
Raise and spend money in the open for a community project.
Network of civic tech groups in many countries; find the one near the problem.
Volunteer data scientists working with social-sector organisations.
Ideas, sources and tools for this problem, from first interviews to funding.
Official reference for vm.runInThisContext and related calls, useful for checking documented behaviour against the crash.
Release schedule and support status for Node.js versions, needed to test whether the segfault still occurs on current versions.
Where Vitest users report segfaults and workarounds; search here for the vm.runInThisContext reports before opening a new one.
Maintainers can confirm whether the root cause is the V8 bug and which versions are affected.
They can say whether Vitest's own vm usage is involved and what workaround they would accept.
Starter prompt
Built from this problem's brief. Paste it into Claude or any AI assistant.
Help me design and build a first working prototype for this problem in Anywhere. Problem: Vitest and bytenode users hit segfaults when running code through vm modules. Who it hurts: Developers using Vitest or bytenode with Node.js vm modules The moment it hurts: Vitest segfaults on vm.runInThisContext when run in debug mode in VSCode. Why it is still unsolved: The root cause is a V8 bug that the source says is still being worked on. What solved looks like: vm.runInThisContext and related calls no longer crash when used by Vitest or bytenode. Where: Anywhere First, list what you would need to learn from the people affected before building, as interview questions. Then propose the simplest version that would help, the screens or messages it needs, and the data it would use. Keep it cheap to run, accessible, and respectful of people's privacy. Flag anything you are unsure about instead of guessing.
Talk to the people who live it before you build.
“The true creator is necessity, which is the mother of our invention.”
Get a working version in front of people fast.
Using AI is not cheating. Every tool carries the work of the people who made it, and using it well is how knowledge has always moved forward. The thinking, the care for the people who live the problem, and the judgement are still yours.
“The Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves.”
Open data that fits this problem.
“The first principle is that you must not fool yourself, and you are the easiest person to fool.”
Tools matched to what this problem needs.
“Life is short, and Art long; the crisis fleeting; experience perilous, and decision difficult.”
ὁ βίος βραχύς, ἡ δὲ τέχνη μακρή
Ship it responsibly, and find help and funding.
“Speak the truth. Do what is right.”
सत्यं वद। धर्मं चर।
satyaṃ vada, dharmaṃ cara
Kit generated with claude-haiku-5-5; every link was checked when it was made. Links go to each provider's own site. Zetema is not paid for any listing.
Take it to someone
Built from this problem's evidence. Fill in the [brackets], make it yours, and send it. Read every line first: it goes out under your name.
Ask someone who knows this problem for 20 minutes.