Repository navigation
release: v1.0.0-alpha.25 - #61
Merged
Merged
Conversation
release: v1.0.0-alpha.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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed
Deploy notes
Fifth same-day hotfix, following v1.0.0-alpha.20/21/22/23/24.