Fix Railway Docker cache-mount build failures - #1599
Conversation
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in:55 minutes Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
Comment |
This pull request has been ignored for the connected project Preview Branches by Supabase. |
CI triageCI failed on this PR. Automated classification of the 2 failed job(s):
Compared with main CI run #7908 (cancelled). Classification is evidence routing, not permission to ignore a failure. Exact quarantined Playwright identities remain governed by the flake ledger. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Drop BuildKit npm cache mounts that break Railway (#1599), cover FIGMA_* in the Codex Cloud raw-env probe, allow the documented Figma MCP in the Cursor co-resident set, and update the favourites auth gate source contract for truthful Mode Favourites labeling. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Summary
Root cause
PR #1575 added
--mount=type=cachedirectives using standard Docker syntax. Railway applies a stricter cache-ID contract and rejects these Dockerfiles during early build validation. PR #1596 added bare worker IDs, but Railway then rejected them for lacking its required cache-key prefix. PR #1597 remains worker-only and still does not fix the app Dockerfile.Railway requires cache IDs to contain a hard-coded Railway service ID and does not allow an environment variable for that portion. Because this repository builds shared images in CI and deploys them to separate Railway services, removing the optional mounts is the smallest portable fix.
Verification
No provider data, secrets, database schema, dependency versions, or runtime behavior changed.