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): treat cancelled MCP upstream jobs as non-failures (#69780)

mendral-app[bot]0b1601613d56
diff --git a/.github/workflows/ci-mcp.yml b/.github/workflows/ci-mcp.yml
index 4818aa58f215..f3d658add115 100644
--- a/.github/workflows/ci-mcp.yml
+++ b/.github/workflows/ci-mcp.yml
@@ -678,17 +678,17 @@ jobs:
exit 0
fi
- if [[ "${{ needs.build.result }}" != "success" && "${{ needs.build.result }}" != "skipped" ]]; then
+ if [[ "${{ needs.build.result }}" == "failure" ]]; then
echo "MCP build failed."
exit 1
fi
- if [[ "${{ needs.unit-tests.result }}" != "success" && "${{ needs.unit-tests.result }}" != "skipped" ]]; then
+ if [[ "${{ needs.unit-tests.result }}" == "failure" ]]; then
echo "MCP unit tests failed."
exit 1
fi
- if [[ "${{ needs.integration-tests.result }}" != "success" && "${{ needs.integration-tests.result }}" != "skipped" ]]; then
+ if [[ "${{ needs.integration-tests.result }}" == "failure" ]]; then
echo "MCP integration tests failed."
exit 1
fi