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.

chore(ci): name the github escape in depot retry log (#104775)

Raúl Negrón-Oterod9a5c14205bb
diff --git a/.depot/workflows/ci-backend.yml b/.depot/workflows/ci-backend.yml
index 94067c5f600b..77d322e1d134 100644
--- a/.depot/workflows/ci-backend.yml
+++ b/.depot/workflows/ci-backend.yml
@@ -12,7 +12,8 @@
# `handed_off`, true only when GitHub Actions handed the tests to this engine. Canonical's
# `Django Tests Pass` gate then relays this workflow's gate verdict. Neither the hand-off
# job nor the relay has a counterpart here. A GitHub rerun does not restart this workflow,
-# so the relay's failure log prints the `depot ci` commands that retry it.
+# so the relay's failure log prints the `depot ci` commands that retry it, and the label
+# that sends the PR back to GitHub Actions.
# - runs-on: depot-* labels instead of GitHub-hosted ubuntu-24.04
# - action paths: ./.depot/actions/... instead of ./.github/actions/... (pnpm-install,
# setup-sqlx-cli, setup-python-cached, setup-uv, setup-turbo, and paths-filter mirror
diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml
index 836ad93379fa..74b0ad05ee36 100644
--- a/.github/workflows/ci-backend.yml
+++ b/.github/workflows/ci-backend.yml
@@ -4135,7 +4135,11 @@ jobs:
fi
printf '%s\n' \
"Retry without Depot access: a new commit starts a fresh run." \
- " git commit --allow-empty -m 'chore: retry backend ci' && git push"
+ " git commit --allow-empty -m 'chore: retry backend ci' && git push" \
+ "" \
+ "Run on GitHub Actions instead: the ci-backend-github label routes the next commit of this PR there." \
+ " gh pr edit $PR_NUMBER --repo $REPO --add-label ci-backend-github" \
+ " git commit --allow-empty -m 'chore: retry backend ci on github actions' && git push"
exit 1
;;
esac