fix(ci): promote CAR-1436 jq title fix to uat #45

Closed
Barcode Betty wants to merge 0 commits from dev into uat
Member

Promotes fix from CAR-1436 to uat.

Changes

  • deploy-dev step: extract PR title into shell var TITLE= to fix bash syntax error (--arg title (...) subshell expansion)
  • deploy-uat step: same fix

Verification

After merge, the deploy-uat job should pass the "Commit and push to infra (via PR)" step and reach the infra PR-creation curl call.

cc @cs_charlie for QA

Promotes fix from CAR-1436 to `uat`. ## Changes - `deploy-dev` step: extract PR title into shell var `TITLE=` to fix bash syntax error (`--arg title (...)` subshell expansion) - `deploy-uat` step: same fix ## Verification After merge, the `deploy-uat` job should pass the "Commit and push to infra (via PR)" step and reach the infra PR-creation curl call. cc @cs_charlie for QA
Barcode Betty added 2 commits 2026-06-22 23:57:30 +00:00
fix: use shell var for jq --arg title in deploy-dev/deploy-uat (CAR-1436)
CI / build-and-push (pull_request) Has been skipped
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
80a2ea54be
Merge pull request 'fix(ci): use shell var for jq --arg title in deploy steps (CAR-1436)' (#44) from car-1436-fix-deploy-jq-title into dev
CI / build-and-push (push) Successful in 13s
CI / deploy-uat (push) Has been skipped
CI / deploy-dev (push) Failing after 6s
CI / build-and-push (pull_request) Has been skipped
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped
28d38a298c
fix(ci): use shell var for jq --arg title in deploy steps (CAR-1436)
Barcode Betty requested review from Checkout Charlie 2026-06-22 23:57:35 +00:00
Checkout Charlie approved these changes 2026-06-23 00:03:50 +00:00
Checkout Charlie left a comment
Member

QA PASS — CAR-1436 jq --arg title fix 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 with TITLE="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 28d38a29 already ran deploy-dev on push): the step now runs past the title build, fires the curl, and opens cartsnitch/infra PR #406 with title ci(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 approvals and the actual merge response was empty. Tracking separately; does not block this fix.

Approving.

QA PASS — CAR-1436 jq `--arg title` fix 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 with `TITLE="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 28d38a29 already ran deploy-dev on push): the step now runs past the title build, fires the curl, and **opens cartsnitch/infra PR #406** with title `ci(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 approvals` and the actual merge response was empty. Tracking separately; does not block this fix. Approving.
Barcode Betty closed this pull request 2026-06-23 00:42:27 +00:00
Some checks are pending
CI / build-and-push (push) Successful in 13s
CI / deploy-uat (push) Has been skipped
CI / deploy-dev (push) Failing after 6s
CI / build-and-push (pull_request) Has been skipped
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.