Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ PG_TEST_TAGS := fts5 sqlite_vec pgvector
# in both configurations, so test-pg-both runs just these in the shipped-build
# configuration. Verified by `make pg-shipped-only-check`, which re-derives the
# closure from `go list`.
PG_SHIPPED_ONLY_PKGS := ./cmd/msgvault ./cmd/msgvault/cmd ./internal/api ./internal/mcp ./internal/scheduler ./internal/store ./internal/vector/chunkmatch ./internal/vector/document ./internal/vector/embed ./internal/vector/hybrid ./internal/vector/pgvector ./scripts/contextual-retrieval-eval
PG_SHIPPED_ONLY_PKGS := ./cmd/msgvault ./cmd/msgvault/cmd ./internal/api ./internal/daemonclient ./internal/mcp ./internal/scheduler ./internal/store ./internal/vector/chunkmatch ./internal/vector/document ./internal/vector/embed ./internal/vector/hybrid ./internal/vector/pgvector ./scripts/contextual-retrieval-eval

OPENAPI_ARTIFACTS := api/openapi.yaml pkg/client/openapi.yaml pkg/client/generated
WEB_INSTALL_STAMP := web/node_modules/.msgvault-install-stamp
Expand Down Expand Up @@ -309,13 +309,15 @@ web-check: web-install
web-test:
cd web && bun run test

web-test-browser:
# test:browser runs everything under web/tests, including tests/e2e specs
# whose fixtures spawn the repo-root msgvault daemon, so the binary must
# exist before Playwright starts. Same invariant as web-e2e below.
web-test-browser: build
cd web && bun run test:browser

# Task 20 browser gates use the same digest-pinned Playwright environment as
# web-test-browser in CI. Traces, screenshots, and video are retained only for
# failures by web/playwright.config.ts.
web-e2e:
# Browser gates use the same digest-pinned Playwright environment as CI.
# Build the real daemon and embedded UI before Playwright test timeouts start.
web-e2e: build
cd web && bun run test:e2e

web-build: web-generate
Expand Down
Loading
Loading