: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(devex): run coderabbit cli reviews with the full pr policy (#104697)
Georges-Antoine Assi61c4bf8610e2
diff --git a/.agents/skills/reviewing-with-coderabbit/SKILL.md b/.agents/skills/reviewing-with-coderabbit/SKILL.mdindex c8c49a0c15c1..12d3b9678f55 100644--- a/.agents/skills/reviewing-with-coderabbit/SKILL.md+++ b/.agents/skills/reviewing-with-coderabbit/SKILL.md@@ -75,6 +75,16 @@ cr auth status # confirms the session and the organizationcr review --agent --base master```+ Decide whether to add `--deep` before you run it, because the branch gets one run.+ `--deep` applies the full pull request review policy, so the findings match what the bot would post, except the PR-only pre-merge checks.+ Without it the CLI applies a narrower policy, and it does less work.++ - **Add `--deep`** when the diff changes behavior a mistake would hurt: auth, permissions, tenant scoping, migrations, raw SQL or HogQL, money, data deletion, concurrency, or a public API contract.+ Add it too for a large or cross-cutting diff, or when the person asks for a thorough or full review.+ - **Leave it off** for docs, comments, skill text, config bumps, renames, generated files, and other small mechanical diffs.+ - When you cannot tell, add it.++ Record the choice with the findings in step 6.`--agent` emits structured findings for an agent to read.Drop it when a person reads the output.`cr review findings` reprints the last run's findings, so re-reading them costs no review.@@ -84,7 +94,7 @@ cr auth status # confirms the session and the organizationFindings can be false positives, and rejecting one with a reason is a valid outcome.5. Fix what holds, and commit the fixes.6. Record the outcome under Agent context in the PR description, as the PR template asks.- After a run, that is each finding's disposition.+ After a run, that is whether it ran with `--deep`, and each finding's disposition.After a skip, that is why: the CLI was absent, signed out, rate limited, or the person chose to skip.7. Continue the normal flow: `hogli ci:preflight`, then `gh pr create`.diff --git a/.flox/env/on-activate.sh b/.flox/env/on-activate.shindex f7c000ee20d6..a19f80b05656 100755--- a/.flox/env/on-activate.sh+++ b/.flox/env/on-activate.sh@@ -375,7 +375,7 @@ _BG_PHROCS_START=$(date +%s)# checkout, and the venv symlink in Step 2b resolves each worktree's own pin.# A failed install must not break activation: the CLI is only needed at PR-open# time, and the reviewing-with-coderabbit skill opens the PR without it.-_CODERABBIT_VERSION="0.7.6"+_CODERABBIT_VERSION="0.8.0"_CODERABBIT_STORE="$HOME/.config/posthog/tools/coderabbit/$_CODERABBIT_VERSION"_CODERABBIT_BIN="$_CODERABBIT_STORE/coderabbit"@@ -387,16 +387,16 @@ if command -v unzip >/dev/null 2>&1; thencase "$(uname -s)-$(uname -m)" inDarwin-arm64)_CODERABBIT_PLATFORM="darwin-arm64"- _CODERABBIT_SHA256="f970e608e383114e1edf214eea71a99d6604ea1dd09c01e754ee6b8d4b852cb1" ;;+ _CODERABBIT_SHA256="748271195b85cc245613f2affabacd4189c721f3839fb14d3efceccffdb382f5" ;;Darwin-x86_64)_CODERABBIT_PLATFORM="darwin-x64"- _CODERABBIT_SHA256="1c6242dec8a0983ff70842bc1d0e8c888d1a92b1ad80afb969c00c94c482a704" ;;+ _CODERABBIT_SHA256="ccebc6335fd7fe0bbe2ad595aa57f684890551ff03114c8cc2403952d9c7ac52" ;;Linux-aarch64 | Linux-arm64)_CODERABBIT_PLATFORM="linux-arm64"- _CODERABBIT_SHA256="2270641a6314bef0da32e5903ddc6de6265354962f7cf651fc581a4a91f22447" ;;+ _CODERABBIT_SHA256="570fd0569239371de6b7cb1004c760052c507d1fbb3189b692988d7f3804ee6d" ;;Linux-x86_64 | Linux-amd64)_CODERABBIT_PLATFORM="linux-x64"- _CODERABBIT_SHA256="853a1727609ab0ff1f56863fa6de7acf3de593a6dc1bd7f91a32f11c5724ffc9" ;;+ _CODERABBIT_SHA256="e60aa408266c3e2350aae890b239ab8d1c12b3f607f4475e1c2ddd4529af1d71" ;;esacfi