DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to run public runtime tests before changing the runtime with Pixelcrabs

Run the dependency-free public runtime test suite to confirm a clean baseline before editing the local runtime.

Short answer: Confirm Node.js 24 or later is installed and open a terminal in the repository root; then run node --test packages/local-runtime/test/public-preview-core.test.mjs packages/local-runtime/test/public-static-preview.test.mjs packages/local-runtime/test/public-web-project.test.mjs packages/local-runtime/test/public-web-runtime.test.mjs packages/local-runtime/test/public-preview-gateway.test.mjs. All steps.

Who it is forA contributor who plans to modify the local Web runtime or preview gateway and wants a known-good baseline first.

The problemChanges to the preview runtime are hard to judge without knowing whether the existing public tests pass on the machine.

The outcomeThe five public runtime test files run and report a result, giving a baseline before any edits.

What you need first

  • A computer with Node.js 24 or later installed
  • Bun 1.3.14 installed, for the pinned OpenCode engine
  • A local copy of the johnzhaors-bit/pixelcrabs repository
  • A static site folder containing index.html, or a project directory to point OpenCode at

Steps

  1. Confirm Node.js 24 or later is installed and open a terminal in the repository root.
  2. Run node --test packages/local-runtime/test/public-preview-core.test.mjs packages/local-runtime/test/public-static-preview.test.mjs packages/local-runtime/test/public-web-project.test.mjs packages/local-runtime/test/public-web-runtime.test.mjs packages/local-runtime/test/public-preview-gateway.test.mjs (inferred, check the README)
  3. Review the test output and note any failures before editing.
  4. Read .github/workflows/opencode-smoke.yml for the broader locked-dependency build and test sequence.

Prompt for your agent

In the pixelcrabs repository root, run the five public runtime test files with `node --test` as listed in the README. Expected output: a pass or fail summary for each test file. Verify that no test requires installed packages before reporting a baseline.

Caveat. The README says these five tests are dependency-free, but the broader CI workflow may download packages and need a native compiler toolchain.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for johnzhaors-bit/pixelcrabs and "Run public runtime tests before changing the runtime"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer