24 days ago
Issue
A committed directory at bop-backend/swipe_images/ (~204MB, ~1224 WebP image files) is not appearing in the deployed container, despite:
- Being present in the git repository
- Being whitelisted in
.gitignorewith!bop-backend/swipe_images/** - The build completing successfully with no warnings or errors
- The
COPY . /appstep executing without issues
A sibling directory bop-backend/magazine_images/ (~16MB, ~96 files) in the same parent, committed in the same commits, with identical .gitignore patterns and StaticFiles mount configuration, deploys and serves correctly.
Evidence
Deployment logs show:
GET /swipe_images/rugs/rugs_000ebf4955cf.webp HTTP/1.1" 404 Not FoundGET /swipe_images/furniture_sofa/furniture_sofa_3d61175473f3.webp HTTP/1.1" 404 Not FoundGET /swipe_images/_debug_rugs.json HTTP/1.1" 404 Not Found
But:
GET /magazine_images/rooms/japandi_minimalist__rugs/0.webp HTTP/1.1" 200 OK✓
Build logs show:
- Snapshot received and analyzed successfully
[stage-0 8/8] COPY . /appcompleted without warnings- No file exclusion or size limit warnings
Service Details
- Project: passionate-truth
- Service: bop-poc
- Deployment ID: d817d287-104b-41be-9e38-7fff40796741
- Commit: 405465c3f882fe1dfbcbd7740e5e2855a1bdb887
- Branch: main
- Source Root: bop-backend/
- Builder: Railpack (railway.toml specifies nixpacks, but deployment used Railpack)
Questions
- Does Railpack have a per-directory or per-deploy size cap that would silently exclude
swipe_images/(~204MB) but allowmagazine_images/(~16MB)? - Are there file-count limits at the directory level?
- Could there be a stale build cache or layer missing this directory?
- Is there a known issue with large directories in the snapshot upload/serialization phase?
2 Replies
24 days ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open Railway • 24 days ago
24 days ago
I would recommend switching to Railpack or Dockerfile as Nixpacks is deprecated.