Fix WhiteNoise crash from missing CSS background GIFs #23

Merged
westfarn merged 1 commits from ticket-19-dockerize-scha into master 2026-07-14 03:32:28 -07:00
Owner

Summary

  • Remove unused .top-head / .top-body CSS rules that referenced missing GIF files (top-head.gif, top-body.gif), which caused whitenoise.storage.MissingFileError and crashed the prod container at collectstatic/startup.
  • Drop a stray {% load static %} tag from style.css (not a Django template).
  • Branch rebased onto current master (dockerize already merged via #21); this PR is the CSS-only fix.

Test plan

  • Merge and let deploy run (or redeploy scha prod).
  • Confirm web container stays up (no WhiteNoise MissingFileError).
  • Spot-check site CSS still looks fine on public pages.
  • Separately: if Compose still warns about unset $… vars, escape $ as $$ in ~/Documents/secrets/scha/scha_prod.env password/DATABASE_URL.
## Summary - Remove unused `.top-head` / `.top-body` CSS rules that referenced missing GIF files (`top-head.gif`, `top-body.gif`), which caused `whitenoise.storage.MissingFileError` and crashed the prod container at collectstatic/startup. - Drop a stray `{% load static %}` tag from `style.css` (not a Django template). - Branch rebased onto current `master` (dockerize already merged via #21); this PR is the CSS-only fix. ## Test plan - [ ] Merge and let deploy run (or redeploy scha prod). - [ ] Confirm web container stays up (no WhiteNoise `MissingFileError`). - [ ] Spot-check site CSS still looks fine on public pages. - [ ] Separately: if Compose still warns about unset `$…` vars, escape `$` as `$$` in `~/Documents/secrets/scha/scha_prod.env` password/`DATABASE_URL`.
westfarn added 1 commit 2026-07-14 03:31:45 -07:00
Fix WhiteNoise crash from CSS referencing missing GIF assets.
CI / test (pull_request) Successful in 3s
Unit Tests / test (pull_request) Successful in 3s
b3bdc050a2
Drop unused .top-head/.top-body rules and a stray template tag so CompressedManifestStaticFilesStorage can collectstatic without MissingFileError.
westfarn merged commit 5acddd37e2 into master 2026-07-14 03:32:28 -07:00
westfarn deleted branch ticket-19-dockerize-scha 2026-07-14 03:32:29 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/scha#23