chore(dev): Add dev experience tooling and add test harness - #423
Open
CafeLungo wants to merge 2 commits into
Open
chore(dev): Add dev experience tooling and add test harness#423CafeLungo wants to merge 2 commits into
CafeLungo wants to merge 2 commits into
Conversation
Add a Compose-based devcontainer that layers a Node 22 + pnpm `dev` service on top of the existing backing services (postgres, valkey, meilisearch, tika) from the root docker-compose.yml, sharing the open-archiver-net network so the app runs from source and reaches the services by name. The prebuilt production `open-archiver` container is not started (runServices). post-create.sh pins pnpm 10.13.1, seeds .env if missing, installs deps, and builds @open-archiver/types. Also: - docker-compose.yml: give the open-archiver service both `image` and `build` (same tag) so it can be pulled or built from local source. - AGENTS.md: how to develop in the devcontainer. - .gitignore: repo-local .pnpm-store (pnpm's cross-device hardlink fallback under the bind mount).
The repo currently ships no test tooling. Add vitest (dev dependency +
`test`/`test:watch` scripts), a config that runs pure Node unit tests from
`src/**/*.{test,spec}.ts` without requiring the live Postgres/Valkey/Meili/
Tika services, and a setup file. `tsconfig.json` excludes spec/test files
from the production `tsc` build. Includes one example smoke test so `pnpm
--filter @open-archiver/backend test` is green out of the box.
|
All contributors have signed the CLA ✍️ ✅ |
This was referenced Jul 27, 2026
Author
|
I have read the CLA Document and I hereby sign the CLA |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AGENTS.mdto support smooth agent development