: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(ci): delete dead flake-overseer and codeql workflows (#68974)
Raúl Negrón-Otero2aa7225b7e56
diff --git a/.github/workflows/ci-flake-overseer.yml b/.github/workflows/ci-flake-overseer.ymldeleted file mode 100644index 39baf0b02c57..000000000000--- a/.github/workflows/ci-flake-overseer.yml+++ /dev/null@@ -1,66 +0,0 @@-name: CI Flake Overseer--on:- workflow_run:- workflows:- - 'Backend CI'- - 'Dagster CI'- - 'E2E CI Playwright'- types: [completed]- workflow_dispatch:- inputs:- run_id:- description: 'GitHub Actions run ID to inspect'- required: true- type: string--# Observe-only: reads job state and emits telemetry, never reruns — so read-only actions scope.-permissions:- actions: read- contents: read--env:- # Master on/off switch. Defaults to off: set the repo/org variable CI_FLAKE_OVERSEER_ENABLED=true- # to record observations to the DevEx project.- CI_FLAKE_OVERSEER_ENABLED: ${{ vars.CI_FLAKE_OVERSEER_ENABLED || 'false' }}--jobs:- oversee:- name: Classify failed jobs- # Spin up a runner only for actionable runs: failures/timeouts to classify, or any re-run- # attempt (run_attempt > 1, including successes) so we can record rerun outcomes. Manual dispatch always runs.- if: >-- github.event_name == 'workflow_dispatch' ||- github.event.workflow_run.conclusion == 'failure' ||- github.event.workflow_run.conclusion == 'timed_out' ||- github.event.workflow_run.run_attempt > 1- runs-on: ubuntu-latest- timeout-minutes: 10- env:- GH_TOKEN: ${{ github.token }}- GITHUB_TOKEN: ${{ github.token }}- # Emits ci_flake_overseer_decision / ci_flake_overseer_rerun_outcome events to the DevEx project.- POSTHOG_DEVEX_PROJECT_API_TOKEN: ${{ secrets.POSTHOG_DEVEX_PROJECT_API_TOKEN }}- steps:- - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2- id: checkout- continue-on-error: true- with:- clean: false-- - name: Classify failed jobs and record rerun outcomes- if: steps.checkout.outcome == 'success'- env:- EVENT_NAME: ${{ github.event_name }}- INPUT_RUN_ID: ${{ inputs.run_id }}- run: |- set -euo pipefail- args=()- if [[ "$EVENT_NAME" == "workflow_dispatch" ]]; then- args+=(--run-id "$INPUT_RUN_ID")- fi- python .github/scripts/ci_flake_overseer.py "${args[@]}"-- - name: Report skipped overseer- if: steps.checkout.outcome != 'success'- run: echo "::notice title=CI flake overseer skipped::Could not checkout the overseer script; leaving the source CI run unchanged."diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymldeleted file mode 100644index eef22bcc2d6c..000000000000--- a/.github/workflows/codeql.yml+++ /dev/null@@ -1,110 +0,0 @@-name: 'CodeQL Advanced'--# Disabled: CodeQL Advanced runs are gated to manual dispatch while we evaluate-# its impact on GITHUB_TOKEN usage. Re-add `push`, `pull_request`, and `schedule`-# triggers to re-enable. Disabling via GitHub's UI alone is not sufficient for-# Advanced workflows — the workflow file's triggers must also be removed.-on:- workflow_dispatch:--# Cancel superseded PR runs; queue master/schedule so every commit gets scanned.-concurrency:- group: ${{ github.workflow }}-${{ github.ref }}- cancel-in-progress: ${{ github.event_name == 'pull_request' }}--jobs:- analyze:- name: Analyze (${{ matrix.language }})- # Runner size impacts CodeQL analysis time. To learn more, please see:- # - https://gh.io/recommended-hardware-resources-for-running-codeql- # - https://gh.io/supported-runners-and-hardware-resources- # - https://gh.io/using-larger-runners- runs-on: 'ubuntu-latest'- timeout-minutes: 30- permissions:- # required for all workflows- security-events: write-- # required to fetch internal or private CodeQL packs- packages: read-- # only required for workflows in private repositories- actions: read- contents: read-- strategy:- fail-fast: false- max-parallel: 2- matrix:- include:- - language: actions- build-mode: none- - language: c-cpp- build-mode: none- - language: go- build-mode: autobuild- - language: javascript-typescript- build-mode: none- - language: python- build-mode: none- # CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift'- # Use `c-cpp` to analyze code written in C, C++ or both- # Use 'java-kotlin' to analyze code written in Java, Kotlin or both- # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both- # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,- # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.- # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how- # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages- steps:- - name: Checkout repository- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2-- # Add any setup steps before running the `github/codeql-action/init` action.- # This includes steps like installing compilers or runtimes (`actions/setup-node`- # or others). This is typically only required for manual builds.- # - name: Setup runtime (example)- # uses: actions/setup-example@v1-- # Initializes the CodeQL tools for scanning.- - name: Initialize CodeQL- uses: github/codeql-action/init@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9- with:- # If you wish to specify custom queries, you can do so here or in a config file.- # By default, queries listed here will override any specified in a config file.- # Prefix the list here with "+" to use these queries and those in the config file.-- # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs- # queries: security-extended,security-and-quality- languages: ${{ matrix.language }}- build-mode: ${{ matrix.build-mode }}- # Disable TRAP caching - it creates a new cache per commit SHA which- # is never reused, causing ~2GB of wasted cache space.- # See: https://github.com/github/codeql-action/issues/2030- trap-caching: false- config: |- paths-ignore:- - rust/cymbal/tests/static/-- # If the analyze step fails for one of the languages you are analyzing with- # "We were unable to automatically build your code", modify the matrix above- # to set the build mode to "manual" for that language. Then modify this step- # to build your code.- # ℹ️ Command-line programs to run using the OS shell.- # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun- # - name: Run manual build steps- # if: matrix.build-mode == 'manual'- # shell: bash- # run: |- # echo 'If you are using a "manual" build mode for one or more of the' \- # 'languages you are analyzing, replace this with the commands to build' \- # 'your code, for example:'- # echo ' make bootstrap'- # echo ' make release'- # exit 1-- - name: Perform CodeQL Analysis- uses: github/codeql-action/analyze@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4.31.9- with:- category: '/language:${{matrix.language}}'- # Database bundle+upload adds ~1min; only do it weekly.- upload-database: ${{ github.event_name == 'schedule' }}