Skip to content

release: v1.0.0-alpha.25 - #61

Merged
cativo23 merged 5 commits into
mainfrom
release/v1.0.0-alpha.25
Sep 29, 2026
Merged

cativo23 merged 5 commits into
mainfrom
release/v1.0.0-alpha.25

Conversation

@cativo23

Copy link
Copy Markdown
Owner

Fixed

  • Missing server/prompts in the runtime image, causing every analysis to fail. See CHANGELOG.

Deploy notes

Fifth same-day hotfix, following v1.0.0-alpha.20/21/22/23/24.

Every analysis failed with "System configuration error" (worker log:
"CRITICAL: Failed to load prompt from
/app/server/prompts/v2/basic-analysis-prompt.txt") — found live during
plan 13-04's LAUNCH-01 verification, right after the pdfjs-dist fix
(v1.0.0-alpha.23) and the BullMQ queue-prefix fix (v1.0.0-alpha.24)
let a job finally reach production's own worker.

CLAUDE.md's own convention is "Prompt Management: Do not hardcode
prompts in TS; use server/prompts/" — read via fs.readFile at runtime
in server/utils/openai-client.ts, resolved from process.cwd(). Nitro
never bundles these into .output since they're plain data files, not
statically imported, and the runner stage copied nothing under
/app/server at all, so the path never existed in the image.

Verified locally: built the image with this fix and confirmed
/app/server/prompts/v2/*.txt exist and are readable inside the
container (previously absent entirely).
fix(deploy): copy server/prompts into runtime image
@cativo23
cativo23 merged commit 467e093 into main Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant