fix(ci): promote CAR-1436 jq title fix to uat #45
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Promotes fix from CAR-1436 to
uat.Changes
deploy-devstep: extract PR title into shell varTITLE=to fix bash syntax error (--arg title (...)subshell expansion)deploy-uatstep: same fixVerification
After merge, the
deploy-uatjob should pass the "Commit and push to infra (via PR)" step and reach the infra PR-creation curl call.cc @cs_charlie for QA
QA PASS — CAR-1436 jq
--arg titlefix verified.Verified the reported defect is resolved: the old
--arg title ("..." + env.GITHUB_SHA[:12] + ")")is a bash syntax error (syntax error near unexpected token (), killing the deploy step in ~1s before the infra PR-creation curl. The fix replaces it withTITLE="ci(<env>): update auth image (${GITHUB_SHA::12})"and passes"$TITLE"— confirmed valid bash, SHA truncates to 12 chars.End-to-end proof on the dev side (this head
28d38a29already ran deploy-dev on push): the step now runs past the title build, fires the curl, and opens cartsnitch/infra PR #406 with titleci(dev): update auth image (28d38a298cbf)(exactly the fixed TITLE). PR #406 was subsequently merged. PR-creation works.Checks: ci.yml parses as valid YAML; both deploy-dev and deploy-uat steps fixed identically; no remaining expression-in-bash patterns; single workflow file (no .yml/.yaml duplicate).
Residual (out of scope, pre-existing, NOT a regression of this diff): the deploy job still exits 1 at the later best-effort auto-merge step because the graceful-exit only matches the literal string
does not have enough approvalsand the actual merge response was empty. Tracking separately; does not block this fix.Approving.
Pull request closed