Review and gate PostgreSQL migrations in pull requests and deploys
The Bfloo CLI in this repository reviews the database migrations of a pull request. It replays them on a throwaway PostgreSQL and says which steps destroy data or make a busy table wait. In a deploy pipeline, it checks that the target database has not drifted from what the deployed commit makes and blocks a dangerous change. It never changes your database.
Setup, the checks, the sign-off and the rules for working with AI tools are in CONTRIBUTING.md. The work that is open to you is on the Bfloo roadmap board, in its Contribute view. Questions and ideas go to Discussions.
Licensed under the Apache License 2.0.
A pull request that changes the release is dry-run on every platform
https://github.com/bfloo-crew/bfloo/issues/158
Labels: needs decision
The release page credits the pull requests and their authors
https://github.com/bfloo-crew/bfloo/issues/157
Labels: needs decision
The rule for the version number is written down
https://github.com/bfloo-crew/bfloo/issues/156
Labels: needs decision
Every release tag is signed
https://github.com/bfloo-crew/bfloo/issues/155
Labels: needs decision
Each release binary has a build provenance attestation
https://github.com/bfloo-crew/bfloo/issues/154
Labels: needs decision
The changelog is written in the pull request that makes the change
https://github.com/bfloo-crew/bfloo/issues/153
Labels: needs decision
One command makes a release
https://github.com/bfloo-crew/bfloo/issues/152
Labels: needs decision
Releases are one command, verifiable and credited
https://github.com/bfloo-crew/bfloo/issues/149
Labels: 없음
Move to a fixed cross-spawn and stop skipping its advisory
https://github.com/bfloo-crew/bfloo/issues/146
Labels: dependencies
The report names every kind of object a review does not compare
https://github.com/bfloo-crew/bfloo/issues/137
Labels: needs decision
Thanks for helping with Bfloo. This page covers where to ask, issues, how to find work, what you need, how a change gets in, the checks it passes, the sign-off every commit carries, how to work with AI tools, and who maintains the project and how fast they reply.
SUPPORT.md says the same for someone who only uses the Bfloo CLI.
An issue is for a bug, a feature request, or agreed work. It starts from one of the forms, which ask for what's needed to act on it, such as a way to reproduce a bug or the problem a feature would solve. If you aren't sure whether something is a bug, or an idea is still taking shape, ask in Discussions first.
The work of the Bfloo CLI is on one public board, the Bfloo roadmap. Each card is an issue, and its column says where it stands: Backlog, Planning, Ready, In progress, In review, Done.
The board has these views:
help wanted or good first issue that nobody is assigned
to. Start here.Labels show where an issue stands:
help wanted: the plan is agreed and nobody is on it. Take it.good first issue: small and safe, kept for people who are learning the project. AI agents do
not take these (see Working with AI tools).needs decision: a maintainer must agree its plan or settle its decisions before anyone builds
it. Join the conversation on the card, but don't start the code.needs triage: new, and no maintainer has looked at it yet.needs reproduction: it can't move until someone can reproduce it.blocked: it waits on something else.breaking: it changes something users rely on.bug, enhancement, documentation, dependencies: what kind of change it is.question: a question rather than a change.duplicate: already reported elsewhere.wontfix: not planned.ai-needs-explanation and ai-guidelines-not-met: see Working with AI tools.Taking a card. Comment on the issue that you are on it, and a maintainer assigns it to you.
Then open a draft pull request early, so others can see the work is moving and a maintainer can
steer it before much is written. A claim that has been idle for 14 days lapses, and the card is
open to others again: if you still want it, say so in a comment. A card with neither help wanted
nor good first issue isn't open yet: ask on the card first.
packageManager names in package.json (1.4.5 as of
2026-12-01): installation. Bun installs the dependencies,
runs the scripts and the tests, and compiles the CLI..nvmrc, for ESLint, Prettier and the type checker, which run on
Node.bun install sets up the repository's git hooks.bun run --filter … test <file>) takes PostgreSQL 16 only;
BFLOO_TEST_POSTGRES_VERSIONS=all takes the four. Without Docker those specs are skipped, and
bun run verify says how many; CI runs them all. The playground, below, needs it too.openssl package where it's missing; on Windows, put Git for
Windows' usr\bin on the PATH. Without it those specs are skipped, and bun run verify says
how many; CI runs them all.BFLOO_TEST_WORKERS to a positive whole number:
BFLOO_TEST_WORKERS=2 bun run test. The results never depend on it, only the time. A spec that
runs docker itself is named *.docker.spec.ts (docs/testing/README.md, "Lanes and
workers"). BFLOO_TEST_POSTGRES_VERSIONS (all or one major, 15 to 18) picks the
PostgreSQL majors a run takes (docs/testing/README.md, "Lanes and workers").BFLOO_TEST_SUPABASE=1 to run it, and without the variable it is skipped and listed after the
run (docs/testing/README.md, "Supabase's image").A small fix, such as a typo or a clear bug, can go straight to a pull request. For anything bigger, take an issue that is open (see Finding work) or open one first, so the approach is agreed before you spend time on the code.
main, named <type>/<topic> after the commit type of the change:
fix/hook-paths, docs/contributing. A branch in your own fork can have any name.bun install,