CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 12s
CI & Build / TypeScript typecheck (push) Successful in 54s
CI & Build / integration (push) Successful in 1m8s
CI & Build / Python tests (push) Successful in 1m53s
CI & Build / Build & push image (push) Successful in 51s
Comment-only pilot for the comment standard (rule 32, milestone 544).
Issue and rule numbers, dates, run ids and incident stories come out;
the constraint each one guarded stays as a present-tense sentence.
History removed from the files, kept here:
- Dockerfile/CI: installing from uv.lock replaced pip/uv-pip installs that
ignored the lock (#2194, the mcp 2.0.0 break on 2026-07-28); --locked
then caught pgvector missing from the lock.
- CI: plugin paths were added after #2198/#2209 reached a live install;
`integration` joined the build's needs after run 8212 published
:latest with integration red (#4958); the `[[ ]]` tag step failed
silently on dash (2a374d9); BUILD_VERSION carried the channel until
2026-08-31 (#3298).
- jq was removed from the hooks in #4107.
- prod compose: the lenient DB healthcheck followed a runc setns crash
loop; pgvector arrived with migration 0067 via a PG16->17 dump/restore.
Corrections to match the code: README names the Settings tab
"MCP Access"; ci-requirements says the Dockerfile builds on node:22
and lint covers scripts/.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
47 lines
864 B
Makefile
47 lines
864 B
Makefile
.PHONY: build up down logs health migrate lint typecheck test fmt mint-plugin
|
|
|
|
# --- Docker ---
|
|
|
|
build:
|
|
docker compose build
|
|
|
|
up:
|
|
docker compose up -d
|
|
|
|
down:
|
|
docker compose down
|
|
|
|
logs:
|
|
docker compose logs -f
|
|
|
|
health:
|
|
curl -s http://localhost:5000/api/health
|
|
|
|
migrate:
|
|
docker compose exec app alembic upgrade head
|
|
|
|
# --- Local dev (requires: pip install -e ".[dev]" and cd frontend && npm ci) ---
|
|
|
|
lint:
|
|
ruff check src/
|
|
|
|
fmt:
|
|
ruff format src/
|
|
|
|
typecheck:
|
|
cd frontend && npx vue-tsc --noEmit
|
|
|
|
test:
|
|
pytest tests/ -v
|
|
|
|
# Run all checks in one shot (mirrors what CI does)
|
|
check: lint typecheck test
|
|
|
|
# --- Plugin ---
|
|
|
|
# Run after changing plugin/ or .claude-plugin/, before committing: the plugin
|
|
# ships from git with no build step, so its version is minted here. CI fails if
|
|
# the version wasn't bumped.
|
|
mint-plugin:
|
|
python3 scripts/mint_plugin_version.py
|