{
  "repository": "SigNoz/signoz",
  "ref": "825991864df2594dd300080da83423f5576715bf",
  "methods": [
    {
      "slug": "formal",
      "title": "Formal verification and model checking"
    },
    {
      "slug": "static_analysis",
      "title": "Static analysis"
    },
    {
      "slug": "testing",
      "title": "Testing"
    },
    {
      "slug": "formatting",
      "title": "Formatting and hygiene"
    },
    {
      "slug": "supply_chain",
      "title": "Supply chain"
    },
    {
      "slug": "unclassified",
      "title": "Unclassified"
    }
  ],
  "verifications": [
    {
      "tool": "ruff-check",
      "method": "static_analysis",
      "commands": [
        "ruff check --fix ."
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/integrationci.yaml",
          "locator": "jobs.fmtlint.steps[5] (lint)"
        },
        {
          "path": "Makefile",
          "locator": "target py-lint (line 170)"
        },
        {
          "path": "tests/pyproject.toml",
          "locator": "[tool.ruff]"
        },
        {
          "path": "tests/pyproject.toml",
          "locator": "[dependency-groups] dev: ruff"
        }
      ],
      "upstream": "https://github.com/astral-sh/ruff",
      "docs": "https://docs.astral.sh/ruff/linter/#exit-codes",
      "exit_codes": {
        "0": "no violations",
        "1": "violations found",
        "2": "invalid configuration, CLI options or internal error"
      },
      "autofix": true,
      "declared_only": false
    },
    {
      "tool": "golangci-lint",
      "method": "static_analysis",
      "commands": [],
      "triggers": [],
      "evidence": [
        {
          "path": ".golangci.yml",
          "locator": "config file"
        }
      ],
      "upstream": "https://github.com/golangci/golangci-lint",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": true
    },
    {
      "tool": "tsc",
      "method": "static_analysis",
      "commands": [],
      "triggers": [],
      "evidence": [
        {
          "path": "frontend/package.json",
          "locator": "dependencies: typescript"
        }
      ],
      "upstream": "https://github.com/microsoft/TypeScript",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": true
    },
    {
      "tool": "ci-matrix",
      "method": "testing",
      "commands": [
        "test (project: 1, shard: 4)",
        "test (suite: 38, sqlstore-provider: 2, sqlite-mode: 1, clickhouse-version: 1, schema-migrator-version: 1, postgres-version: 1)"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/e2eci.yaml",
          "locator": "jobs.test.strategy.matrix"
        },
        {
          "path": ".github/workflows/integrationci.yaml",
          "locator": "jobs.test.strategy.matrix"
        }
      ],
      "upstream": "https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/run-job-variations",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": "go-test",
      "method": "testing",
      "commands": [
        "go test -race ./..."
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "Makefile",
          "locator": "target go-test (line 89)"
        }
      ],
      "upstream": "https://github.com/golang/go",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": "jest",
      "method": "testing",
      "commands": [
        "jest",
        "jest --coverage",
        "jest --watch",
        "jest --changedSince=main --coverage --silent"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "frontend/package.json",
          "locator": "scripts.jest"
        },
        {
          "path": "frontend/package.json",
          "locator": "scripts.jest:coverage"
        },
        {
          "path": "frontend/package.json",
          "locator": "scripts.jest:watch"
        },
        {
          "path": "frontend/package.json",
          "locator": "scripts.test"
        },
        {
          "path": "frontend/package.json",
          "locator": "scripts.test:changedsince"
        },
        {
          "path": "frontend/package.json",
          "locator": "dependencies: jest"
        },
        {
          "path": "frontend/jest.config.ts",
          "locator": "config file"
        }
      ],
      "upstream": "https://github.com/jestjs/jest",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": "node-test",
      "method": "testing",
      "commands": [
        "node --test plugins/__tests__/*.test.mjs"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "frontend/package.json",
          "locator": "scripts.test:plugins"
        }
      ],
      "upstream": "https://github.com/nodejs/node",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": "pytest",
      "method": "testing",
      "commands": [
        "pytest --basetemp=./tmp/ -vv --reuse --with-web e2e/bootstrap/setup.py::test_setup",
        "pytest --basetemp=./tmp/ -vv --teardown e2e/bootstrap/setup.py::test_teardown",
        "pytest --basetemp=./tmp/ integration/tests/$EXPR --sqlstore-provider $EXPR --sqlite-mode $EXPR --postgres-version $EXPR --clickhouse-version $EXPR --schema-migrator-version $EXPR",
        "pytest --basetemp=./tmp/ -vv --reuse --rebuild --capture=no integration/bootstrap/setup.py::test_setup",
        "pytest --basetemp=./tmp/ -vv --teardown --capture=no integration/bootstrap/setup.py::test_teardown"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/e2eci.yaml",
          "locator": "jobs.test.steps[12] (bring-up-stack)"
        },
        {
          "path": ".github/workflows/e2eci.yaml",
          "locator": "jobs.test.steps[15] (teardown-stack)"
        },
        {
          "path": ".github/workflows/integrationci.yaml",
          "locator": "jobs.test.steps[7] (run)"
        },
        {
          "path": "Makefile",
          "locator": "target py-test-setup (line 174)"
        },
        {
          "path": "Makefile",
          "locator": "target py-test-teardown (line 178)"
        },
        {
          "path": "Makefile",
          "locator": "target py-test (line 182)"
        },
        {
          "path": "tests/pyproject.toml",
          "locator": "[tool.pytest]"
        }
      ],
      "upstream": "https://github.com/pytest-dev/pytest",
      "docs": "https://docs.pytest.org/en/stable/reference/exit-codes.html",
      "exit_codes": {
        "0": "all tests passed",
        "1": "some tests failed",
        "2": "interrupted by the user",
        "3": "internal error",
        "4": "command line usage error",
        "5": "no tests were collected"
      },
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": "playwright",
      "method": "testing",
      "commands": [],
      "triggers": [],
      "evidence": [
        {
          "path": "tests/e2e/playwright.config.ts",
          "locator": "config file"
        }
      ],
      "upstream": "https://github.com/microsoft/playwright",
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": true
    },
    {
      "tool": "ruff-format",
      "method": "formatting",
      "commands": [
        "ruff format ."
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/integrationci.yaml",
          "locator": "jobs.fmtlint.steps[4] (fmt)"
        },
        {
          "path": "Makefile",
          "locator": "target py-fmt (line 166)"
        }
      ],
      "upstream": "https://github.com/astral-sh/ruff",
      "docs": "https://docs.astral.sh/ruff/formatter/#exit-codes",
      "exit_codes": {
        "0": "already formatted",
        "1": "files would be reformatted (--check)",
        "2": "error"
      },
      "autofix": true,
      "declared_only": false
    },
    {
      "tool": "prettier",
      "method": "formatting",
      "commands": [],
      "triggers": [],
      "evidence": [
        {
          "path": "frontend/.prettierrc.json",
          "locator": "config file"
        }
      ],
      "upstream": "https://github.com/prettier/prettier",
      "docs": "https://prettier.io/docs/cli#exit-codes",
      "exit_codes": {
        "0": "everything formatted",
        "1": "something was not formatted (--check)",
        "2": "prettier error"
      },
      "autofix": true,
      "declared_only": true
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/pnpm/store --mount=type=bind,target=/restored tar -xf /restored/go-build.tar -C /root/.cache/go-build"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/cacheci.yml",
          "locator": "jobs.tests.steps[2] (inject)"
        },
        {
          "path": ".github/workflows/e2eci.yaml",
          "locator": "jobs.test.steps[9] (inject)"
        },
        {
          "path": ".github/workflows/integrationci.yaml",
          "locator": "jobs.test.steps[6] (inject)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/pnpm/store mkdir -p /out"
      ],
      "triggers": [
        "ci"
      ],
      "evidence": [
        {
          "path": ".github/workflows/cacheci.yml",
          "locator": "jobs.tests.steps[4] (extract)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "bash scripts/test-storybook.sh"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/jsci.yaml",
          "locator": "jobs.storybook.steps[4] (test-storybook)"
        },
        {
          "path": "frontend/package.json",
          "locator": "scripts.test:storybook"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "commitlint --edit $1"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "frontend/package.json",
          "locator": "scripts.commitlint"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "go run ./scripts/semconv -check"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/goci.yaml",
          "locator": "jobs.semconv-generated.steps[2] (check-semconv-generated-files)"
        },
        {
          "path": "Makefile",
          "locator": "target semconv-check (line 203)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "go run cmd/enterprise/*.go generate openapi"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "Makefile",
          "locator": "target gen-openapi-specs (line 212)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "oxfmt"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "frontend/package.json",
          "locator": "scripts.prettify"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "oxfmt --check"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "frontend/package.json",
          "locator": "scripts.fmt"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "oxlint ./src"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "frontend/package.json",
          "locator": "scripts.lint"
        },
        {
          "path": "frontend/package.json",
          "locator": "scripts.lint:js"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "oxlint ./src --fix"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "frontend/package.json",
          "locator": "scripts.lint:fix"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "oxlint ./src/api/generated --fix"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "frontend/package.json",
          "locator": "scripts.lint:generated"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "sh scripts/post-types-generation.sh"
      ],
      "triggers": [
        "ci",
        "local"
      ],
      "evidence": [
        {
          "path": ".github/workflows/jsci.yaml",
          "locator": "jobs.openapi.steps[4] (generate-api-clients)"
        },
        {
          "path": "frontend/package.json",
          "locator": "scripts.generate:api"
        },
        {
          "path": "Makefile",
          "locator": "target gen-openapi-specs (line 212)"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    },
    {
      "tool": null,
      "method": "unclassified",
      "commands": [
        "stylelint src/**/*.scss"
      ],
      "triggers": [
        "local"
      ],
      "evidence": [
        {
          "path": "frontend/package.json",
          "locator": "scripts.lint"
        },
        {
          "path": "frontend/package.json",
          "locator": "scripts.lint:styles"
        }
      ],
      "upstream": null,
      "docs": null,
      "exit_codes": {},
      "autofix": false,
      "declared_only": false
    }
  ]
}
