With .env pointing at the real account, testing against the local instance became dangerous: process env beats --env-file, so a local smoke run would crawl fixtures straight into the live index, where a per-course refresh carries them forward indefinitely. mcp-env.sh now pins its own database (schulcloud_local) and mirror as well as the instance. The override publishes the server on MCP_HOST_PORT and takes CRAWL_INTERVAL_MS from .env, since what_changed can only report what happened between crawls. The build context leaves out tmp/, which holds a mirror of the account's files, and local-instance/. probe checks live what the gap fixes established locally: the /api/v1 course and user routes, classes, room allowedOperations as an object, and the preview enums on a real file. A failure there means a feature degrades rather than breaks. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
19 lines
460 B
Plaintext
19 lines
460 B
Plaintext
node_modules
|
|
dist
|
|
vendor
|
|
.git
|
|
.env
|
|
*.log
|
|
test
|
|
# The build needs the asset copier; the rest of scripts/ (probe, smoke,
|
|
# diagnostics) are developer tools with no place in the runtime image.
|
|
scripts
|
|
!scripts/copy-assets.mjs
|
|
docs
|
|
files.zip
|
|
# Mirrored coursework and server logs: never needed to build, and the mirror
|
|
# holds the account's files, which have no business in a build context.
|
|
tmp
|
|
# The local test instance has its own compose project.
|
|
local-instance
|