Fix: add cacheKey prefix to BuildKit cache mount ids - #1597
Fix: add cacheKey prefix to BuildKit cache mount ids#1597railway-app[bot] wants to merge 1 commit into
Conversation
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Free Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
This pull request has been ignored for the connected project Preview Branches by Supabase. |
BigSimmo
commented
Aug 4, 2026
Closing as superseded by merged PR #1599. Current |
Pull request was closed
Problem
The worker build failed with "missing the cacheKey prefix from its id" errors because Dockerfile.worker used bare mount IDs (id=npm, id=pip) in its --mount=type=cache directives, which Railway's BuildKit parser rejects.
Solution
Renamed the cache mount IDs to id=cacheKey_npm (lines 30 and 46) and id=cacheKey_pip (line 60) so they satisfy the required cacheKey_ prefix, allowing the build to proceed and reuse the npm/pip cache mounts.
Changes
Dockerfile.workerGenerated by Railway