feat: e2e dataset benchmarks + fix npm tarball entry points#23
Conversation
- Add Docker-backed dataset E2E bench scripts, compose services, multi-run aggregates - Add baseline compare + template JSON; wire CI job on Postgres - Document benchmark output/regression in docs/benchmark-regression.md - Add CONTRIBUTING, issue template + config; README updates; GIF script UX - Typecheck scripts via tsconfig; exclude scripts from build; Prisma shim types
tsc was emitting dist/src/*.js while main and exports point to dist/index.js and dist/prisma.js, breaking installs of @olegkoval/queryd on npm.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (20)
📝 WalkthroughWalkthroughThis PR introduces comprehensive benchmarking infrastructure and project documentation. It adds benchmark scripts for performance measurement, CI regression gates, Docker setup, GitHub issue templates, contribution guidelines, and TypeScript configuration updates to support benchmarking workflows. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🎉 This PR is included in version 1.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Coverage Report for CI Build 24613072425Warning Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes. Coverage remained the same at 95.97%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Summary
tsconfig.build.jsonsetsrootDirto./srcsotscemitsdist/index.jsanddist/prisma.js, matchingpackage.jsonmain/exports. Published1.3.0tarballs only containeddist/src/*, breakingimport '@olegkoval/queryd'.Usage
Verify the package layout before/after publish:
npm pack --dry-run # Expect: dist/index.js, dist/prisma.js at top level (no lone dist/src-only tree for entrypoints).After release, smoke-test install:
npm i @olegkoval/queryd@latest node -e "import('@olegkoval/queryd').then(m => console.log('ok', typeof m.createSlowQueryDetector))"Release note
Patch/minor bump will follow conventional commits (
feat+fixon merge tomain).Summary by CodeRabbit
Release Notes
Documentation
New Features
Chores