You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7403447
Browse filesBrowse the repository at this point in the historyBrowse files
The end-to-end suites and their harness move from tests/ to the root
e2e/ directory, with the database harness and HTTP stub merged into
e2e/helpers.ts, to match the repo test layout. bun run test now runs
src/ only and the new test:e2e script runs e2e/; CI runs both.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,11 @@ Postgres. See `IMPLEMENTATION.md` for how the pieces fit together.
22
22
## Running the tests
23
23
24
24
```bash
25
-
bun run typecheck && bun run test
25
+
bun run typecheck && bun run test&& bun run test:e2e
26
26
```
27
27
28
-
-`bun run test` runs the unit suite in `src/` and the end-to-end suite in
29
-
`tests/`. The end-to-end tests drive the mounted routes and migrations
28
+
-`bun run test` runs the unit suite in `src/`; `bun run test:e2e` runs the
29
+
end-to-end suite in `e2e/`. The end-to-end tests drive the mounted routes and migrations
30
30
against a real pgvector Postgres: set `TEST_DATABASE_URL` to a server the
31
31
tests can create and drop databases on (for `docker compose up -d`,
32
32
`postgres://memory:memory-dev-password@localhost:5434/memory`). Each suite
@@ -68,3 +68,10 @@ numbered file, because a guarded `ADD CONSTRAINT` keeps the old definition.
68
68
Contributions require agreeing to the project's CLA — see `CLA.md`. The CLA
69
69
bot will comment on your first PR with instructions if you haven't signed
70
70
yet.
71
+
72
+
## Commit messages
73
+
74
+
Commit subjects and PR titles follow [Conventional Commits](https://www.conventionalcommits.org): `feat`, `fix`, `refactor`, `test`, `docs`, `build`, `ci`, `perf`, and `chore(release): x.y.z` for releases.
75
+
Add `!` only for public API breaks: removed or renamed exports, changed signatures, newly required params. Peer and dependency range changes are `build(deps):` with no `!`.
76
+
Keep subjects imperative, lowercase after the colon, 72 characters or less, and free of ticket IDs.
77
+
Every PR links its issue with a `Closes <issue id>` line in the PR body.
0 commit comments