Skip to content

Add startup checks for backend and frontend#95

Draft
google-labs-jules[bot] wants to merge 1 commit intomasterfrom
improve-ci-startup-checks-2372736317875802624
Draft

Add startup checks for backend and frontend#95
google-labs-jules[bot] wants to merge 1 commit intomasterfrom
improve-ci-startup-checks-2372736317875802624

Conversation

@google-labs-jules
Copy link
Contributor

Improved CI/CD robustness by adding checks that simulate production startup.

  1. Backend: Added a script to verify that the app can be imported with only production dependencies installed.
  2. Docker: Added a smoke test step to the build workflow that spins up the built containers and checks their health endpoints.

PR created automatically by Jules for task 2372736317875802624 started by @guangtouwangba

- Added `app/backend/scripts/check_imports.py` to verify backend importability in a production-like environment.
- Updated `backend-ci.yml` to include a `prod-check` job that installs strict production dependencies and runs the import check.
- Updated `docker-build.yml` to load built images and perform a "Smoke Test" by running containers and verifying their health endpoints (`/health` for backend, `200 OK` for frontend).

This ensures that build artifacts are functional and dependencies are correct before deployment, reducing production startup failures.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

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.

0 participants