Skip to content

Henry/pre-build workspace dependencies in dev Docker images#1107

Open
Henrp wants to merge 1 commit intomainfrom
fix/docker-dev-prebuild
Open

Henry/pre-build workspace dependencies in dev Docker images#1107
Henrp wants to merge 1 commit intomainfrom
fix/docker-dev-prebuild

Conversation

@Henrp
Copy link
Copy Markdown
Contributor

@Henrp Henrp commented Mar 13, 2026

Summary:

  • Deployed missing bt-stage-mongo on hozer-51 (was causing backend
    CrashLoopBackOff) and populated it with data via manual datapuller
    runs (only 2019 data right now). Cronjobs fill in the rest of the data at 4am.
  • Pre-build workspace dependencies in dev Docker images so container
    startup is fast enough to not timeout the 300s CI rollout wait.

Testing:

  • staging.berkeleytime.com: catalog should show Summer 2019 classes
    now, Rest will populate after tonight's 4am cronjobs
  • Trigger "CD: Deploy to Development" on this branch and confirm
    the backend rollout completes without the 300s timeout error

@Henrp Henrp requested review from ARtheboss and sashakmurray March 13, 2026 09:17
@ARtheboss
Copy link
Copy Markdown
Contributor

@Henrp cool, but I think only Spring 2026 and Summer 2026 came and they don't have classes. Could you look into this?

@Henrp
Copy link
Copy Markdown
Contributor Author

Henrp commented Mar 21, 2026

@ARtheboss staging has 768Mi memory limit while prod has 3Gi. this makes the 'classes-lat-five-years' bulk pull crash mid run (OOMKilled). I think this is why only two semesters out of the rest of the semester was pulled. I think to solve this we need to upgrade memory limit to ~2Gi, but im not really sure if this is necessary because its for staging and we don't really need all the data for testing. We have around 1.4Gi free from the 15Gi total so upgrading is also an option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants