Fail loud when deploy --app matches nothing #6

Merged
westfarn merged 1 commits from fix/deploy-fail-empty-targets into master 2026-07-27 08:27:30 -07:00
Owner

Summary

  • Fail when --app / --env match no host_apps row (was silent no-op)
  • Fail when --app missing from app_catalog

Prevents "deploy succeeded" that only refreshed web-static nginx while skipping Django — what happened on chat_backend run 205 before chat_backend was registered on master.

Test plan

  • ./scripts/deploy.sh --app does_not_exist --env prod should fail with catalog message
  • ./scripts/deploy.sh --app chat_backend --env prod should proceed with Django once catalog/host_apps present
## Summary - Fail when `--app` / `--env` match no `host_apps` row (was silent no-op) - Fail when `--app` missing from `app_catalog` Prevents "deploy succeeded" that only refreshed web-static nginx while skipping Django — what happened on [chat_backend run 205](https://git.aimloperations.com/ai_ml_operations/chat_backend/actions/runs/205) before `chat_backend` was registered on master. ## Test plan - [ ] `./scripts/deploy.sh --app does_not_exist --env prod` should fail with catalog message - [ ] `./scripts/deploy.sh --app chat_backend --env prod` should proceed with Django once catalog/host_apps present
westfarn added 1 commit 2026-07-25 05:52:38 -07:00
Fail loud when --app/--env matches nothing.
Sync runner checkout / sync (pull_request) Successful in 7s
1889339f2d
Explicit deploys with empty host_apps used to skip Django and still
refresh web-static, which looked like a static-only deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
westfarn merged commit d49c6bfe2d into master 2026-07-27 08:27:30 -07:00
westfarn deleted branch fix/deploy-fail-empty-targets 2026-07-27 08:27:30 -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/server-infra#6