Skip to content

fix(ci-test-notify): add the else branch jq 1.6 needs in the footer escape - #302

Merged
vcauesantos merged 2 commits into
mainfrom
devops-1593/jq16-footer-fix
Oct 2, 2026
Merged

vcauesantos merged 2 commits into
mainfrom
devops-1593/jq16-footer-fix

Conversation

@vcauesantos

@vcauesantos vcauesantos commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • The footer escape from feat(ci-test-notify): let callers set the footer link text #299 uses if … elif … end with no else. jq 1.7+ accepts that, but ubuntu-22.04 ships jq 1.6, which rejects it. When footer-text is set, build-payload.sh fails and no Slack message is sent.
  • This broke today's scheduled CVE alerts for vcluster-cli:head and vcluster-platform:head. The jobs stayed green because the Slack step is continue-on-error.
  • Fix: add else .. Callers that don't set footer-text were never affected.
  • The bats suite now also runs on ubuntu-22.04 (jq 1.6). It used to run on ubuntu-latest (jq 1.7+) only, which is why feat(ci-test-notify): let callers set the footer link text #299 passed CI.

Test plan

  • Reproduced the compile error with jq 1.6 on ubuntu:22.04. The fix makes it pass.
  • CI: Run bats tests (ubuntu-22.04) and Run bats tests (ubuntu-latest) both pass, 50/50 each.
  • make lint (actionlint + zizmor) is clean.

Related to DEVOPS-1593

@vcauesantos
vcauesantos requested a review from a team as a code owner October 2, 2026 20:11
@vcauesantos
vcauesantos merged commit d15a1df into main Oct 2, 2026
7 checks passed
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.

1 participant