Files
spencermandClaude Fable 5.1 591fe90076
ci / frontend (push) Successful in 30s
ci / server (push) Successful in 4m12s
ci / image (push) Successful in 46s
ci / e2e (push) Successful in 1m24s
Phase 3: VISUAL feed and M-Files drawings in the worker
Migration 0004 (VISUAL and drawing caches, go-live ignored list, resource
map, job tables, order-derived columns with provenance; work order key
includes the operation sequence). The real worker on APScheduler with
settings re-read each fire, pause, run now, advisory locks, job_runs and a
heartbeat. The visual-feed job (five VisualKit reads, COPY and MERGE cache,
suspect-batch guard, the apply in one transaction: drafts, change orders,
retire-moved, work order gone, closed and cancelled observed, projects and
units from order links, auto-release) and the fingerprint. The drawing-lookup
job (queue, budget, download on version change, sha256 into assets, decision
table, staging for rev approval, drawing-origin change orders). Clerical From
VISUAL panel, flags, rev approval, hand uploads, change-order review; Admin
Feed settings and resource map. Synthetic fixture generator and a
fixture-driven worker in CI with a Playwright scenario. Docs updated.

Verified: 3249 server tests and 13 Playwright scenarios on the docker-1 CI
stack, 76 frontend tests, doctor at 0004; one feed and one drawing run
against VISUAL DEV and the vault from the developer machine (counts in the
changelog).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-10-16 14:45:38 -06:00

23 lines
768 B
Bash
Executable File

#!/usr/bin/env bash
# Container entrypoint. tini runs this as PID 1's child.
# Usage: app | worker | job run <name> | fixtures use <N> [--dir DIR] | migrate [--bootstrap-roles] | doctor
# | version | healthcheck app|worker
set -euo pipefail
# MFilesKit reads its password from the environment only, so export it from the secret file.
# VisualKit, ldap3 and the database settings read their *_FILE paths directly.
mfiles_secret=/run/secrets/mfileskit_password
if [[ -r "$mfiles_secret" ]]; then
MFILES_PASSWORD="$(<"$mfiles_secret")"
# Drop a trailing carriage return left by an editor on Windows.
MFILES_PASSWORD="${MFILES_PASSWORD%$'\r'}"
export MFILES_PASSWORD
fi
unset mfiles_secret
if [[ $# -eq 0 ]]; then
set -- app
fi
exec packetstation "$@"