{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "johnzhaors-bit-pixelcrabs--verify-local-runtime-before-changes",
 "repo": "johnzhaors-bit/pixelcrabs",
 "repo_url": "https://github.com/johnzhaors-bit/pixelcrabs",
 "repo_slug": "johnzhaors-bit-pixelcrabs",
 "title": "Run public runtime tests before changing the runtime",
 "page_title": "How to run public runtime tests before changing the runtime with Pixelcrabs",
 "summary": "Run the dependency-free public runtime test suite to confirm a clean baseline before editing the local runtime.",
 "who": "A contributor who plans to modify the local Web runtime or preview gateway and wants a known-good baseline first.",
 "problem": "Changes to the preview runtime are hard to judge without knowing whether the existing public tests pass on the machine.",
 "outcome": "The five public runtime test files run and report a result, giving a baseline before any edits.",
 "steps": [
  "Confirm Node.js 24 or later is installed and open a terminal in the repository root.",
  "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)",
  "Review the test output and note any failures before editing.",
  "Read .github/workflows/opencode-smoke.yml for the broader locked-dependency build and test sequence."
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The README says these five tests are dependency-free, but the broader CI workflow may download packages and need a native compiler toolchain.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/johnzhaors-bit-pixelcrabs/verify-local-runtime-before-changes/",
 "md": "https://dedupedai.com/use-cases/johnzhaors-bit-pixelcrabs/verify-local-runtime-before-changes/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/johnzhaors-bit-pixelcrabs--verify-local-runtime-before-changes.json",
 "api_version": "v1"
}
