Awesome Reviewers checks + prompts

sources / PostHog/posthog

PostHog/posthog

The checks this repository runs, scanned at 2e95d12, and the review prompts derived from its discussions.

22 recognised tools
39 prompts
28460 stars
Databases & Data Platforms
GitHub

Static analysis

9 tools

ToolKindCommandRuns inFound in
cargo-check Type checking cargo check --all-features ci .github/workflows/ci-rust.yml
clippy Linting cargo clippy --all-targets --all-features -- -D warnings ci .github/workflows/ci-cli.yml
.github/workflows/ci-rust.yml
rust/cohort-stream-processor/clippy.toml
eslint Linting eslint .
eslint . --fix
eslint --fix src/common/generated/personhog
local nodejs/package.json
.depot/actions/paths-filter/.eslintrc.json
.github/actions/paths-filter/.eslintrc.json
nodejs/.eslintrc.js
golangci-lint Linting uses golangci/golangci-lint-action ci .github/workflows/ci-hobby-installer.yml
.github/workflows/ci-livestream-tui.yml
.github/workflows/ci-livestream.yml
.github/workflows/ci-phrocs.yml
mypy Type checking mypy --version
mypy .
ci .github/workflows/ci-python.yml
pyproject.toml
tsc Type checking tsc --noEmit
tsc -b
tsc --noEmit -p .
ci, local .github/workflows/ci-paths-filter.yml
hog/package.json
nodejs/package.json
frontend/package.json
biome
configured, not run
Linting packages/agent/biome.jsonc
products/desktop/biome.jsonc
products/mobile/biome.json
pyright
configured, not run
Type checking pyproject.toml
ruff-check
configured, not run
Linting pyproject.toml
products/ruff.toml
tools/query-performance-ai/ruff.toml

Testing

10 tools

ToolKindCommandRuns inFound in
cargo-test Unit and integration tests cargo test --all-features
cargo nextest run --profile ci --no-tests=pass $@
cargo test --doc -p $pkg
ci .github/workflows/ci-cli.yml
.github/workflows/ci-rust.yml
ci-matrix Version and platform matrix tests (include: 4)
verify (action: 2)
ci .github/workflows/ci-nodejs.yml
.github/workflows/ci-paths-filter.yml
go-test Unit and integration tests go test -run ^$ -bench=. -benchtime=1x ./...
go test -v
go test -count=1 -v ./...
ci .github/workflows/ci-clickhouse-util-udfs.yml
.github/workflows/ci-livestream.yml
.github/workflows/ci-phrocs.yml
hypothesis Property-based tests pyproject.toml
jest Unit and integration tests jest --runInBand --forceExit --testPathPatterns=postgres-parity
jest --config jest.serial.config.js --runInBand --forceExit --testPathPattern...
jest
ci, local .github/workflows/ci-nodejs.yml
nodejs/package.json
.github/workflows/ci-paths-filter.yml
frontend/package.json
node-test Unit and integration tests node --test .github/scripts/*.test.js .github/scripts/*.test.mjs
node --test bin/find-affected-stories.test.mjs
ci .github/workflows/ci-scripts.yml
playwright End-to-end browser tests playwright test local playwright/package.json
package.json
playwright/playwright.config.ts
products/desktop/apps/code/tests/e2e/playwright.config.ts
pytest Unit and integration tests pytest --reuse-db will run the full migrate itself"
pytest ${TEST_TARGETS[@]} --reuse-db --splits $EXPR --group $EXPR --durations...
pytest common/hogvm
ci .github/workflows/ci-dagster.yml
.github/workflows/ci-hoglang.yml
.github/workflows/ci-inbox-ranking.yml
.github/workflows/ci-llm-gateway.yml
unittest Unit and integration tests unittest discover -s bin/test -p test_render_hobby_compose.py ci .github/workflows/ci-hobby.yml
vitest Unit and integration tests vitest run ci .github/workflows/ci-agent-proxy.yml
packages/agent/packages/agent-contracts/vitest.config.ts
packages/agent/packages/agent/vitest.config.ts
packages/agent/packages/git/vitest.config.ts
ToolKindCommandRuns inFound in
prettier Formatting prettier --write .
prettier --check .
prettier --write src/common/generated/personhog
local nodejs/package.json
.depot/actions/paths-filter/.prettierrc.json
.github/actions/paths-filter/.prettierrc.json
nodejs/.prettierrc
rustfmt Formatting cargo fmt --all -- --check
cargo fmt -- --check
ci .github/workflows/ci-cli.yml
.github/workflows/ci-rust.yml
isort
configured, not run
Formatting pyproject.toml
161 other commands the scanner could not classify

Commands from CI steps and task runners that look like checks but match no known tool. Some are checks, some are not.

  • Generated docs update required
  • bash ./download-actionlint.bash ${ACTIONLINT_VERSION} ./.bin
  • bash .github/scripts/check-comment-density.sh
  • bash posthog/clickhouse/hcl/check.sh
  • branch --show-current)
  • break
  • buf lint proto/
  • buildx imagetools inspect $IMAGE --format {{range .Manifest.Manifests}}{{.Platform.OS}}/{{.Platform.Architecture}}{{"...
  • buildx imagetools inspect $IMAGE:$EXPR --format {{json .Manifest.Digest}})
  • buildx imagetools inspect $IMAGE:master --format {{json .Manifest.Digest}})
  • bun test
  • case $local_sha in
  • case $pr in
  • case $remote_ref in
  • case $trunk_out in
  • command -v gh >/dev/null 2>&1 \
  • command -v trunk >/dev/null 2>&1
  • continue
  • createdb posthog_e2e_test
  • do
  • done
  • elif inspect_digest $SOURCE_IMAGE >/dev/null
  • else
  • else jest --runInBand --forceExit --testPathPatterns=service-e2e/rust-ingestion-consumer.test.ts
  • esac
  • failed
  • for attempt in 1 2 3
  • for pr in $branch_prs
  • from pytest_split.plugin import PytestSplitFilePlugin
  • hogli ci:preflight --strict
  • kea-typegen check
  • kea-typegen watch --delete --show-ts-errors --use-cache
  • kea-typegen write --delete --show-ts-errors
  • kea-typegen write --delete --show-ts-errors --use-cache
  • lint-imports
  • ls-tree -r --format=%(objectname) %(path) $MERGE_BASE
  • ls-tree -r --format=%(objectname) %(path) $MERGE_BASE -- products/db_routing.yaml posthog/product_db_config.py postho...
  • ls-tree -r --format=%(objectname) %(path) $REF
  • ls-tree -r --format=%(objectname) %(path) $REF -- products/db_routing.yaml posthog/product_db_config.py posthog/produ...
  • ls-tree -r --format=%(objectname) %(path) HEAD -- products/db_routing.yaml posthog/product_db_config.py posthog/produ...

full scan as JSON

Review prompts

most discussed first

  • PostHog/posthog Naming Conventions Python data-systems
    raw open
  • PostHog/posthog Caching Python data-systems
    raw open
  • PostHog/posthog Code Style TSX data-systems
    raw open
  • PostHog/posthog Code Style Python data-systems
    raw open
  • PostHog/posthog Performance Optimization Python data-systems
    raw open
  • PostHog/posthog Naming Conventions TSX data-systems
    raw open
  • PostHog/posthog API TypeScript data-systems
    raw open
  • PostHog/posthog Migrations Python data-systems
    raw open
  • PostHog/posthog Null Handling Python data-systems
    raw open
  • PostHog/posthog API Python data-systems
    raw open
  • PostHog/posthog Error Handling Python data-systems
    raw open
  • PostHog/posthog Configurations Python data-systems
    raw open
  • PostHog/posthog Database Python data-systems
    raw open
  • PostHog/posthog AI Python data-systems
    raw open
  • PostHog/posthog Performance Optimization TypeScript data-systems
    raw open
  • PostHog/posthog Testing TypeScript data-systems
    raw open
  • PostHog/posthog Documentation TSX data-systems
    raw open
  • PostHog/posthog Security Python data-systems
    raw open
  • PostHog/posthog Observability TypeScript data-systems
    raw open
  • PostHog/posthog Configurations TSX data-systems
    raw open
  • PostHog/posthog Temporal Python data-systems
    raw open
  • PostHog/posthog Database TypeScript data-systems
    raw open
  • PostHog/posthog Testing Python data-systems
    raw open
  • PostHog/posthog Error Handling TypeScript data-systems
    raw open
  • PostHog/posthog Observability Python data-systems
    raw open
  • PostHog/posthog React TSX data-systems
    raw open
  • PostHog/posthog Configurations Other data-systems
    raw open
  • PostHog/posthog Algorithms Python data-systems
    raw open
  • PostHog/posthog Error Handling Rust data-systems
    raw open
  • PostHog/posthog API TSX data-systems
    raw open
  • PostHog/posthog Performance Optimization TSX data-systems
    raw open
  • PostHog/posthog Null Handling TypeScript data-systems
    raw open
  • PostHog/posthog Configurations TypeScript data-systems
    raw open
  • PostHog/posthog Naming Conventions Css data-systems
    raw open
  • PostHog/posthog Database Other data-systems
    raw open
  • PostHog/posthog API Html data-systems
    raw open
  • PostHog/posthog Security Html data-systems
    raw open
  • PostHog/posthog Security TypeScript data-systems
    raw open
  • PostHog/posthog Security TSX data-systems
    raw open