Skip to content

chore(deps): Update @posthog/mcp to 0.21.2 #12909

chore(deps): Update @posthog/mcp to 0.21.2

chore(deps): Update @posthog/mcp to 0.21.2 #12909

Workflow file for this run

name: Dev Setup (Flox)
on:
pull_request:
paths:
- '.flox/**'
- '.github/workflows/ci-dev-setup.yml'
- 'bin/start'
- 'pyproject.toml'
- 'uv.lock'
- 'pnpm-lock.yaml'
- 'package.json'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
flox-dev-setup:
runs-on: ubuntu-24.04
timeout-minutes: 30
# Skipped on trunk-merge/** heads: merge-queue PRs are ephemeral and every
# constituent PR already ran this in full.
if: ${{ !startsWith(github.head_ref, 'trunk-merge/') }}
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install Flox
uses: flox/install-flox-action@c94e7e1ab56ae14fe98bae4fd84384fd135f0c2a # v2.4.0
with:
# This workflow only runs on pull_request, so the cache is never seeded on
# master and every PR writes a branch-scoped copy nothing else can read.
# Re-downloading the installer on a free runner is cheaper than the churn.
use-cache: false
- name: Activate Flox and verify dev setup
run: |
flox activate -- bash -c '
set -euo pipefail
echo "--- Flox environment activated successfully ---"
echo "--- Toolchain versions ---"
echo "Go: $(go version)"
echo "Node: $(node --version)"
echo "Python: $(python --version 2>&1)"
echo "Rust: $(rustc --version)"
echo "pnpm: $(pnpm --version)"
echo "uv: $(uv --version)"
echo "--- Python environment ---"
uv run python -c "import django; print(f\"Django: {django.__version__}\")"
echo "--- Node packages ---"
pnpm --filter=@posthog/frontend exec tsc --version
pnpm --filter=@posthog/frontend exec tsgo --version
'
- name: Check lockfile consistency
run: |
# git diff cannot see an untracked file, so a deletion would
# otherwise pass: flox activate just regenerates it untracked.
if ! git ls-files --error-unmatch .flox/env/manifest.lock > /dev/null 2>&1; then
echo "::error::.flox/env/manifest.lock must stay tracked. Untracked, every fresh clone resolves against the catalog again, which needs a FloxHub account."
exit 1
fi
if ! git diff --exit-code -- uv.lock pnpm-lock.yaml .flox/env/manifest.lock; then
echo "::error::Lockfiles were modified by flox activate. Please commit the updated lockfiles."
exit 1
fi