Static analysis
7 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
codeql |
Security scanning | uses github/codeql-action/analyze |
ci | .github/workflows/codeql.yml |
flake8 |
Linting | flake8 --select=S |
pre-commit | .pre-commit-config.yaml pyproject.toml |
mypy |
Type checking | mypy |
ci | .github/workflows/backend.yml pyproject.toml |
ruff-check |
Linting | ruff check --force-exclude --fix --quiet |
pre-commit | .pre-commit-config.yaml pyproject.toml |
shellcheck |
Linting | pre-commit hook shellcheck |
pre-commit | .pre-commit-config.yaml |
tsc |
Type checking | tsc --build tsconfig.json static/app/serviceWorker/worker/tsconfig.json --bui... |
ci, local | .github/workflows/frontend.yml package.json |
eslintconfigured, not run |
Linting | package.json |
Testing
4 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
ci-matrix |
Version and platform matrix | analyze (language: 2) |
ci | .github/workflows/codeql.yml |
node-test |
Unit and integration tests | node --test .github/workflows/scripts/*.test.{js,ts}node --test scripts/testCi.test.ts |
ci | .github/workflows/development-environment.yml .github/workflows/frontend.yml .github/workflows/jest-balance.yml |
pytest |
Unit and integration tests | pytest tests/apidocs --reuse-dbpytest $$(find tests -type d -name migrations) -m migrations --migrations --r...pytest tests/sentry/backup/test_exhaustive.py tests/sentry/backup/test_export... |
ci, local | .github/workflows/backend.yml Makefile .github/workflows/development-environment.yml |
jestconfigured, not run |
Unit and integration tests | jest.config.mjs static/app/jest.config.mjs static/gsAdmin/jest.config.mjs static/gsApp/jest.config.mjs |
Formatting and hygiene
2 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
pre-commit-hooks |
File hygiene | pre-commit hook check-case-conflictpre-commit hook check-executables-have-shebangspre-commit hook check-merge-conflict |
pre-commit | .pre-commit-config.yaml |
ruff-format |
Formatting | ruff format --force-exclude --quiet |
pre-commit | .pre-commit-config.yaml |
54 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.
bash -c test "$PRE_COMMIT_REMOTE_BRANCH" != "refs/heads/master"bno_type_checkbcodeowners-coverage check --allow-dirty-baselinedecision-model-linter --config decisionModelLinter.config.ts --base HEAD^1 --format markdown > $reportinspect postgres-postgres-1 --format {{.Config.Image}})node --input-type=module <node ./watch.tsnode .github/workflows/scripts/format-type-coverage-comment.tsnode api-docs/index.ts .artifacts/investigation-api-docs/openapi.json .artifacts/investigation-api-docs/openapi-deref...node api-docs/index.ts api-docs/openapi.json tests/apidocs/openapi-deprecated.jsonnode api-docs/index.ts tests/apidocs/openapi-spectacular.json tests/apidocs/openapi-derefed.jsonnode api-docs/openapi-diff.tsnode scripts/lint.ts cssnode scripts/lint.ts css --quietnode scripts/lint.ts jsnode scripts/lint.ts js --quiet --fix --no-error-on-unmatched-patternnode scripts/oxlint-suppressions.tsnode scripts/testCi.jsnode scripts/type-coverage-diff.tsnode scripts/type-coverage.ts -p tsconfig.jsonnode tests/js/test-balancer/combine.ts artifactsoxfmtoxfmt --checkpre-commit hook check-github-actionspre-commit hook check-github-workflowspre-commit hook check-symlinkspre-commit hook name-tests-testpre-commit hook python-check-blanket-type-ignorepre-commit hook python-use-type-annotationspython -b .github/workflows/scripts/pytest-selected.py -n3 tests --reuse-db --ignore tests/acceptance --ignore tests/...python -b .github/workflows/scripts/pytest-selected.py tests --reuse-db --ignore tests/acceptance --ignore tests/apid...python .github/workflows/scripts/backend-test-durations.py extract .artifacts/pytest.json .artifacts/test-durations.jsonpython .github/workflows/scripts/calculate-backend-test-shards.pypython .github/workflows/scripts/compute-sentry-selected-tests.py --coverage-db $COVERAGE_DB --changed-files $CHANGED...python .github/workflows/scripts/compute-sentry-selected-tests.py --coverage-db .cache/coverage.db --changed-files $$...python .github/workflows/scripts/selective-testing/confirm-test-selection.py .cache/selected-tests.txtpython .github/workflows/scripts/selective-testing/fetch-coverage.py --output .cache/coverage.dbrun-on-changedsentry --config=test_conf export --helpsentry --config=test_conf help
Review prompts
most discussed first