: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(ci): inspect CI report sections during triage (#98095)
Paul D'Ambraf3a052c9f2d6
diff --git a/.agents/skills/debugging-ci-failures/SKILL.md b/.agents/skills/debugging-ci-failures/SKILL.mdindex 62d68b9d5348..a25421ecbcaf 100644--- a/.agents/skills/debugging-ci-failures/SKILL.md+++ b/.agents/skills/debugging-ci-failures/SKILL.md@@ -158,6 +158,35 @@ practice that is most of the queue. So:merge commits are the first suspects.- In the digest this is the `blocking_merge_queue` state.+### 3. Read the CI report comment (for a PR)++Before reading logs, read the shared CI report comment. It collects independent+CI signals and advisories in many sections.++Read the full raw comment, not GitHub's collapsed view. This command finds it+even when the PR has many comments:++```bash+gh api --paginate "repos/<owner>/<repo>/issues/<pr>/comments?per_page=100" \+ --jq '.[] | select(.user.login == "github-actions[bot]" and (.body | startswith("<!-- posthog-ci-report -->"))) | .body'+```++Inspect every `ci-report:section` block, including unknown sections. Record its+title, status, summary, and links. Do not stop at the first `fail` section or+treat the comment heading as an overall verdict.++- Treat `fail` as a lead, and match it to the current job.+- Treat `alert` and `warn` as non-blocking findings. Review their details and+ follow their stated action, but do not call either a failed job unless its+ job failed.+- `ok` and `info` are not test results.+- A missing report means the reporter did not run or could not write. It does+ not prove the PR is healthy.++The report is a summary. A section without a head SHA or run link can be stale.+Confirm it against the current job. If it disagrees with the current logs,+report the mismatch and use the logs for the cause.+Inspect read-only:```bash