Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(ci): use !cancelled() gate pattern for LLM Services roll-up (#60950)

mendral-app[bot]56922d4ef719
diff --git a/.github/workflows/ci-llm-gateway.yml b/.github/workflows/ci-llm-gateway.yml
index 8a8d8e0e6cf0..8069a6eae348 100644
--- a/.github/workflows/ci-llm-gateway.yml
+++ b/.github/workflows/ci-llm-gateway.yml
@@ -97,7 +97,7 @@ jobs:
name: LLM Services Tests Pass
runs-on: ubuntu-latest
timeout-minutes: 5
- if: always()
+ if: ${{ !cancelled() }}
steps:
- name: Check outcomes
run: |
@@ -106,7 +106,7 @@ jobs:
exit 1
fi
- if [[ "${{ needs.llm-gateway.result }}" != "success" && "${{ needs.llm-gateway.result }}" != "skipped" ]]; then
+ if [[ "${{ needs.llm-gateway.result }}" == "failure" ]]; then
echo "LLM Gateway tests failed."
exit 1
fi