Skip to content

fix(scripts): remove non-functional update-performance-docs script#91

Merged
nerdalytics merged 3 commits into
trunkfrom
fix/remove-broken-update-performance-docs
Apr 5, 2026
Merged

fix(scripts): remove non-functional update-performance-docs script#91
nerdalytics merged 3 commits into
trunkfrom
fix/remove-broken-update-performance-docs

Conversation

@nerdalytics
Copy link
Copy Markdown
Owner

@nerdalytics nerdalytics commented Apr 5, 2026

Closes #75

Summary

  • Deleted scripts/update-performance-docs.ts — it imported BenchmarkResult and runAllBenchmarks from ./benchmark.ts, but neither export exists. The script was never functional.
  • Removed the update-performance-docs npm script from package.json
  • Updated scripts/README.md to remove the entry and fix link numbering
  • Removed test:core script — glob tests/*-core.test.ts matches zero files
  • Removed test:integration script — tests/state-*.test.ts and tests/batch-integration.test.ts don't exist

Test plan

  • npx tsc --noEmit passes
  • npm test — 117/117 pass
  • No remaining references to deleted scripts in codebase
  • All remaining scripts verified against existing files

The script imported `BenchmarkResult` and `runAllBenchmarks` from
`./benchmark.ts`, but neither export exists. It could never run.
No PERFORMANCE.md or metrics/ directory was ever created by it.
test:core referenced `tests/*-core.test.ts` — no files match that pattern.
test:integration referenced `tests/state-*.test.ts` and
`tests/batch-integration.test.ts` — neither exists.
…node --test

Remove 11 test:unit:* scripts and test:behavior — they were thin
wrappers around `node --test tests/<file>.test.ts`. Contributors
can call that directly. Added a note to CONTRIBUTING.md showing
the pattern.
@nerdalytics nerdalytics merged commit 2aa6471 into trunk Apr 5, 2026
12 checks passed
@nerdalytics nerdalytics deleted the fix/remove-broken-update-performance-docs branch April 5, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

scripts: update-performance-docs.ts imports non-existent exports

1 participant