fix: correct and refactor GitHub workflows - #38
Merged
Conversation
afaryy
force-pushed
the
fix/database-migration-run-task-cli
branch
from
August 3, 2026 02:36
f9f37d6 to
e29a634
Compare
afaryy
force-pushed
the
fix/database-migration-run-task-cli
branch
from
August 3, 2026 02:41
e29a634 to
30f420f
Compare
afaryy
force-pushed
the
fix/database-migration-run-task-cli
branch
from
August 3, 2026 02:45
30f420f to
af88f27
Compare
|
afaryy
marked this pull request as ready for review
August 3, 2026 02:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
--enable-execute-command falseAWS CLI argumentLocal actions added
.github/actions/verify-ecr-image: verifies an ECR digest and matchingsha-<source_commit>tag.github/actions/resolve-ecs-service: maps backend/frontend to the approved service, task family, container, target group, repository, and smoke URL.github/actions/run-ecs-database-migration: registers and runs the one-off private ECS Fargate Alembic migration task.github/actions/deploy-ecs-service: registers a digest-pinned task definition, updates one ECS service, verifies health, and restores the predecessor on failed verification.github/actions/rollback-ecs-service: restores the selected ECS service to its immediately preceding known-good task-definition revision.github/actions/resolve-service-bootstrap-target: maps backend/frontend bootstrap to the approved Terraform service root and image digest variable.github/actions/resolve-terraform-root: maps approved Terraform workflow targets to fixed root directories.github/actions/select-image-components: selects backend/frontend image publication from push changes or manual component input.github/actions/publish-ecr-image: pushes a locally built image to its ECR repository and writes the digest handoff artifact fileRoot cause fixed
aws ecs run-tasktreats--enable-execute-commandas a boolean flag. Passingfalsecreates an unknown positional option and fails before the migration task can start. ECS Exec remains disabled by omitting the flag.Validation
Not included