Workflow-App/Workflow/app
sjcoetzeesj-coder 0717400bb0 fix(cipc): say plainly when search runs where it cannot
CIPC/BizPortal search drives a real Chrome session through agent-browser
to log into BizPortal and scrape the result pane. That toolchain exists
only on the Windows dev machine; the Coolify image is a Linux container
with no browser tooling (the Dockerfile header already says so).

Nothing detected that up front, so a search on the deployed URL fell
through to the legacy spawnSync fallback, which builds a Windows-style
interpreter path even on Linux (.venv/Scripts/ plus python). The shell
answered 'not found' with exit 127, extractError() found no marker line
in stdout and returned 'Unknown error', and the UI rendered that over
the raw shell message - a dead end with no action in it.

Now the route checks for the interpreter it needs before doing any
work, and returns 503 with a sentence naming the real cause and where
to run the search instead. Checked per request so it cannot go stale.

Verified: typecheck clean; a real enterprise search of K2022808158 on
the local dev server still returns 200 in 87s with 3 directors, so the
guard does not touch the working Windows path.
2026-10-20 09:00:41 +02:00
..
(public) feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
(public-register) feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
api fix(cipc): say plainly when search runs where it cannot 2026-10-20 09:00:41 +02:00
bizportal feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
bizportal-2 feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
cipc fix: resolve all 7 type errors that broke the production build 2026-10-18 15:48:50 +02:00
cipc-2 fix: resolve all 7 type errors that broke the production build 2026-10-18 15:48:50 +02:00
companies feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
compliance feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
directors feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
groups feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
login feat(auth): password gate replacing the IP-only middleware guard 2026-10-18 18:39:27 +02:00
notes fix(notes): sort by -id instead of -created (PB 400 on fresh collection sort=created) 2026-09-17 13:19:15 +02:00
onboarding feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
registrations feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
resign/[token] feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
resolutions feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
resolve-sign/[token] feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
sars-registrations feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
sars-returns feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
sign/[token] feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
step2/[id] feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
tasks feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
voice-demo feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
error.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
global-error.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
globals.css feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
icon.png feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
layout.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
not-found.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
page.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00
providers.tsx feat: commit Workflow app source; move CIPC credentials to env 2026-10-18 15:21:45 +02:00