Welcome. This repository is being prepared for public production use, and contributions that improve correctness, operator experience, and protocol clarity are useful.
This file follows the same general baseline Prisma uses in prisma/prisma, but is scoped to this repository and its Bun + TypeScript workflow.
Please read the Code of Conduct before participating.
To help maintainers triage efficiently:
- Use GitHub reactions on the main issue or comment to signal support.
- Add a comment only when you have new, actionable information: a reproduction, impact details, logs, or a concrete proposal.
- Avoid
+1,same here, orany update?comments. They add notification noise without improving triage.
- Bun
>=1.3.6 - Node.js
>=22 - Git
For Windows development, use WSL or another Unix-like environment. The scripts and examples in this repository assume a POSIX shell.
git clone <your-fork-or-repo-url>
cd prisma-streams
bun installbun run typecheck
bun run check:result-policy
bun test
bun run test:conformance:local
bun run test:conformance
bun run test:large-index-filterNotes:
bun testis the current fast repository baseline.test:conformance:localandtest:conformancerun the upstream black-box suite against local and full server modes.test:large-index-filteris an opt-in full-mode integration/performance test that writes 1 GiB of indexed JSON data into a MockR2-backed stream and measures filtered read time. The packaged script pins16 MiBsegments to match the production default. UseDS_LARGE_INDEX_FILTER=1 bun test test/large_index_filter.test.tsdirectly only when you intentionally want to override the segment size or other large-test settings. It is intentionally excluded from the fast baseline.- The current upstream conformance status is tracked in conformance.md.
- Keep changes focused. Avoid mixing refactors with unrelated cleanup.
- Add or update tests for behavior changes.
- Update documentation when public behavior, deployment guidance, or package surfaces change.
- Do not commit generated archives, local databases,
.DS_Store, or other workstation artifacts. - Follow the repository
better-resultpolicy. The current automated policy check coverssrc/; see better-result-adoption.md.
Before opening a pull request:
- Run
bun run verify. - If you touched protocol behavior, run the relevant conformance suite and note the result.
- Explain the motivation, scope, and any behavior changes clearly.
- Call out follow-up work instead of silently leaving partial migrations behind.
Do not open public issues for suspected vulnerabilities. Follow security.md.