From b904e55e5958031ea71db9728987aa642dcdc6a4 Mon Sep 17 00:00:00 2001 From: mathuraditya724 Date: Thu, 29 Jan 2026 23:32:16 +0530 Subject: [PATCH 1/3] feat: initial draft --- .../workflows/test-integrations-agents.yml | 21 +++++++------------ .../test-integrations-ai-workflow.yml | 21 +++++++------------ .github/workflows/test-integrations-ai.yml | 21 +++++++------------ .github/workflows/test-integrations-cloud.yml | 21 +++++++------------ .../workflows/test-integrations-common.yml | 21 +++++++------------ .github/workflows/test-integrations-dbs.yml | 21 +++++++------------ .github/workflows/test-integrations-flags.yml | 21 +++++++------------ .../workflows/test-integrations-gevent.yml | 21 +++++++------------ .../workflows/test-integrations-graphql.yml | 21 +++++++------------ .github/workflows/test-integrations-mcp.yml | 21 +++++++------------ .github/workflows/test-integrations-misc.yml | 21 +++++++------------ .../workflows/test-integrations-network.yml | 21 +++++++------------ .github/workflows/test-integrations-tasks.yml | 21 +++++++------------ .github/workflows/test-integrations-web-1.yml | 21 +++++++------------ .github/workflows/test-integrations-web-2.yml | 21 +++++++------------ codecov.yml | 13 +----------- .../split_tox_gh_actions/templates/base.jinja | 3 +++ .../templates/test_group.jinja | 17 ++++----------- 18 files changed, 128 insertions(+), 220 deletions(-) diff --git a/.github/workflows/test-integrations-agents.yml b/.github/workflows/test-integrations-agents.yml index 2ca67de7a0..6650bf13e7 100644 --- a/.github/workflows/test-integrations-agents.yml +++ b/.github/workflows/test-integrations-agents.yml @@ -17,6 +17,9 @@ concurrency: cancel-in-progress: true permissions: contents: read + actions: read + pull-requests: write + statuses: write env: BUILD_CACHE_KEY: ${{ github.sha }} CACHED_BUILD_PATHS: | @@ -38,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.2 + - uses: actions/checkout@v6.0.1 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: @@ -69,21 +72,13 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - - name: Upload coverage to Codecov + - name: Parse and Upload Coverage if: ${{ !cancelled() }} - uses: codecov/codecov-action@v5.5.2 + uses: getsentry/codecov-action@main with: - token: ${{ secrets.CODECOV_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} files: coverage.xml - # make sure no plugins alter our coverage reports - plugins: noop - verbose: true - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: .junitxml + junit-xml-pattern: .junitxml verbose: true check_required_tests: name: All Agents tests passed diff --git a/.github/workflows/test-integrations-ai-workflow.yml b/.github/workflows/test-integrations-ai-workflow.yml index d8ca4dff84..aecfea886c 100644 --- a/.github/workflows/test-integrations-ai-workflow.yml +++ b/.github/workflows/test-integrations-ai-workflow.yml @@ -17,6 +17,9 @@ concurrency: cancel-in-progress: true permissions: contents: read + actions: read + pull-requests: write + statuses: write env: BUILD_CACHE_KEY: ${{ github.sha }} CACHED_BUILD_PATHS: | @@ -38,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.2 + - uses: actions/checkout@v6.0.1 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: @@ -73,21 +76,13 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - - name: Upload coverage to Codecov + - name: Parse and Upload Coverage if: ${{ !cancelled() }} - uses: codecov/codecov-action@v5.5.2 + uses: getsentry/codecov-action@main with: - token: ${{ secrets.CODECOV_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} files: coverage.xml - # make sure no plugins alter our coverage reports - plugins: noop - verbose: true - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: .junitxml + junit-xml-pattern: .junitxml verbose: true check_required_tests: name: All AI Workflow tests passed diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index 380acee799..74e4c576b5 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -17,6 +17,9 @@ concurrency: cancel-in-progress: true permissions: contents: read + actions: read + pull-requests: write + statuses: write env: BUILD_CACHE_KEY: ${{ github.sha }} CACHED_BUILD_PATHS: | @@ -38,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.2 + - uses: actions/checkout@v6.0.1 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: @@ -89,21 +92,13 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - - name: Upload coverage to Codecov + - name: Parse and Upload Coverage if: ${{ !cancelled() }} - uses: codecov/codecov-action@v5.5.2 + uses: getsentry/codecov-action@main with: - token: ${{ secrets.CODECOV_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} files: coverage.xml - # make sure no plugins alter our coverage reports - plugins: noop - verbose: true - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: .junitxml + junit-xml-pattern: .junitxml verbose: true check_required_tests: name: All AI tests passed diff --git a/.github/workflows/test-integrations-cloud.yml b/.github/workflows/test-integrations-cloud.yml index d3a2526ff7..4ebf9c682d 100644 --- a/.github/workflows/test-integrations-cloud.yml +++ b/.github/workflows/test-integrations-cloud.yml @@ -17,6 +17,9 @@ concurrency: cancel-in-progress: true permissions: contents: read + actions: read + pull-requests: write + statuses: write env: BUILD_CACHE_KEY: ${{ github.sha }} CACHED_BUILD_PATHS: | @@ -42,7 +45,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.2 + - uses: actions/checkout@v6.0.1 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: @@ -85,21 +88,13 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - - name: Upload coverage to Codecov + - name: Parse and Upload Coverage if: ${{ !cancelled() }} - uses: codecov/codecov-action@v5.5.2 + uses: getsentry/codecov-action@main with: - token: ${{ secrets.CODECOV_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} files: coverage.xml - # make sure no plugins alter our coverage reports - plugins: noop - verbose: true - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: .junitxml + junit-xml-pattern: .junitxml verbose: true check_required_tests: name: All Cloud tests passed diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index 244c336e8f..58d2e45e5a 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -17,6 +17,9 @@ concurrency: cancel-in-progress: true permissions: contents: read + actions: read + pull-requests: write + statuses: write env: BUILD_CACHE_KEY: ${{ github.sha }} CACHED_BUILD_PATHS: | @@ -38,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.2 + - uses: actions/checkout@v6.0.1 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: @@ -65,21 +68,13 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - - name: Upload coverage to Codecov + - name: Parse and Upload Coverage if: ${{ !cancelled() }} - uses: codecov/codecov-action@v5.5.2 + uses: getsentry/codecov-action@main with: - token: ${{ secrets.CODECOV_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} files: coverage.xml - # make sure no plugins alter our coverage reports - plugins: noop - verbose: true - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: .junitxml + junit-xml-pattern: .junitxml verbose: true check_required_tests: name: All Common tests passed diff --git a/.github/workflows/test-integrations-dbs.yml b/.github/workflows/test-integrations-dbs.yml index d565203253..a8367c8052 100644 --- a/.github/workflows/test-integrations-dbs.yml +++ b/.github/workflows/test-integrations-dbs.yml @@ -17,6 +17,9 @@ concurrency: cancel-in-progress: true permissions: contents: read + actions: read + pull-requests: write + statuses: write env: BUILD_CACHE_KEY: ${{ github.sha }} CACHED_BUILD_PATHS: | @@ -56,7 +59,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.2 + - uses: actions/checkout@v6.0.1 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: @@ -105,21 +108,13 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - - name: Upload coverage to Codecov + - name: Parse and Upload Coverage if: ${{ !cancelled() }} - uses: codecov/codecov-action@v5.5.2 + uses: getsentry/codecov-action@main with: - token: ${{ secrets.CODECOV_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} files: coverage.xml - # make sure no plugins alter our coverage reports - plugins: noop - verbose: true - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: .junitxml + junit-xml-pattern: .junitxml verbose: true check_required_tests: name: All DBs tests passed diff --git a/.github/workflows/test-integrations-flags.yml b/.github/workflows/test-integrations-flags.yml index c571a14877..27f7a2229f 100644 --- a/.github/workflows/test-integrations-flags.yml +++ b/.github/workflows/test-integrations-flags.yml @@ -17,6 +17,9 @@ concurrency: cancel-in-progress: true permissions: contents: read + actions: read + pull-requests: write + statuses: write env: BUILD_CACHE_KEY: ${{ github.sha }} CACHED_BUILD_PATHS: | @@ -38,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.2 + - uses: actions/checkout@v6.0.1 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: @@ -77,21 +80,13 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - - name: Upload coverage to Codecov + - name: Parse and Upload Coverage if: ${{ !cancelled() }} - uses: codecov/codecov-action@v5.5.2 + uses: getsentry/codecov-action@main with: - token: ${{ secrets.CODECOV_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} files: coverage.xml - # make sure no plugins alter our coverage reports - plugins: noop - verbose: true - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: .junitxml + junit-xml-pattern: .junitxml verbose: true check_required_tests: name: All Flags tests passed diff --git a/.github/workflows/test-integrations-gevent.yml b/.github/workflows/test-integrations-gevent.yml index be01d7297e..998d4722c0 100644 --- a/.github/workflows/test-integrations-gevent.yml +++ b/.github/workflows/test-integrations-gevent.yml @@ -17,6 +17,9 @@ concurrency: cancel-in-progress: true permissions: contents: read + actions: read + pull-requests: write + statuses: write env: BUILD_CACHE_KEY: ${{ github.sha }} CACHED_BUILD_PATHS: | @@ -38,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.2 + - uses: actions/checkout@v6.0.1 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: @@ -65,21 +68,13 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - - name: Upload coverage to Codecov + - name: Parse and Upload Coverage if: ${{ !cancelled() }} - uses: codecov/codecov-action@v5.5.2 + uses: getsentry/codecov-action@main with: - token: ${{ secrets.CODECOV_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} files: coverage.xml - # make sure no plugins alter our coverage reports - plugins: noop - verbose: true - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: .junitxml + junit-xml-pattern: .junitxml verbose: true check_required_tests: name: All Gevent tests passed diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index 20429390e8..a0b1f6ca28 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -17,6 +17,9 @@ concurrency: cancel-in-progress: true permissions: contents: read + actions: read + pull-requests: write + statuses: write env: BUILD_CACHE_KEY: ${{ github.sha }} CACHED_BUILD_PATHS: | @@ -38,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.2 + - uses: actions/checkout@v6.0.1 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: @@ -77,21 +80,13 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - - name: Upload coverage to Codecov + - name: Parse and Upload Coverage if: ${{ !cancelled() }} - uses: codecov/codecov-action@v5.5.2 + uses: getsentry/codecov-action@main with: - token: ${{ secrets.CODECOV_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} files: coverage.xml - # make sure no plugins alter our coverage reports - plugins: noop - verbose: true - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: .junitxml + junit-xml-pattern: .junitxml verbose: true check_required_tests: name: All GraphQL tests passed diff --git a/.github/workflows/test-integrations-mcp.yml b/.github/workflows/test-integrations-mcp.yml index 4496773d3a..31aa2e99f4 100644 --- a/.github/workflows/test-integrations-mcp.yml +++ b/.github/workflows/test-integrations-mcp.yml @@ -17,6 +17,9 @@ concurrency: cancel-in-progress: true permissions: contents: read + actions: read + pull-requests: write + statuses: write env: BUILD_CACHE_KEY: ${{ github.sha }} CACHED_BUILD_PATHS: | @@ -38,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.2 + - uses: actions/checkout@v6.0.1 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: @@ -69,21 +72,13 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - - name: Upload coverage to Codecov + - name: Parse and Upload Coverage if: ${{ !cancelled() }} - uses: codecov/codecov-action@v5.5.2 + uses: getsentry/codecov-action@main with: - token: ${{ secrets.CODECOV_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} files: coverage.xml - # make sure no plugins alter our coverage reports - plugins: noop - verbose: true - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: .junitxml + junit-xml-pattern: .junitxml verbose: true check_required_tests: name: All MCP tests passed diff --git a/.github/workflows/test-integrations-misc.yml b/.github/workflows/test-integrations-misc.yml index efba0f670c..76a322746e 100644 --- a/.github/workflows/test-integrations-misc.yml +++ b/.github/workflows/test-integrations-misc.yml @@ -17,6 +17,9 @@ concurrency: cancel-in-progress: true permissions: contents: read + actions: read + pull-requests: write + statuses: write env: BUILD_CACHE_KEY: ${{ github.sha }} CACHED_BUILD_PATHS: | @@ -38,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.2 + - uses: actions/checkout@v6.0.1 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: @@ -97,21 +100,13 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - - name: Upload coverage to Codecov + - name: Parse and Upload Coverage if: ${{ !cancelled() }} - uses: codecov/codecov-action@v5.5.2 + uses: getsentry/codecov-action@main with: - token: ${{ secrets.CODECOV_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} files: coverage.xml - # make sure no plugins alter our coverage reports - plugins: noop - verbose: true - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: .junitxml + junit-xml-pattern: .junitxml verbose: true check_required_tests: name: All Misc tests passed diff --git a/.github/workflows/test-integrations-network.yml b/.github/workflows/test-integrations-network.yml index c36cd348f8..10d7f3d6f6 100644 --- a/.github/workflows/test-integrations-network.yml +++ b/.github/workflows/test-integrations-network.yml @@ -17,6 +17,9 @@ concurrency: cancel-in-progress: true permissions: contents: read + actions: read + pull-requests: write + statuses: write env: BUILD_CACHE_KEY: ${{ github.sha }} CACHED_BUILD_PATHS: | @@ -38,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.2 + - uses: actions/checkout@v6.0.1 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: @@ -73,21 +76,13 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - - name: Upload coverage to Codecov + - name: Parse and Upload Coverage if: ${{ !cancelled() }} - uses: codecov/codecov-action@v5.5.2 + uses: getsentry/codecov-action@main with: - token: ${{ secrets.CODECOV_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} files: coverage.xml - # make sure no plugins alter our coverage reports - plugins: noop - verbose: true - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: .junitxml + junit-xml-pattern: .junitxml verbose: true check_required_tests: name: All Network tests passed diff --git a/.github/workflows/test-integrations-tasks.yml b/.github/workflows/test-integrations-tasks.yml index ead4ab0617..9a3bc03ffc 100644 --- a/.github/workflows/test-integrations-tasks.yml +++ b/.github/workflows/test-integrations-tasks.yml @@ -17,6 +17,9 @@ concurrency: cancel-in-progress: true permissions: contents: read + actions: read + pull-requests: write + statuses: write env: BUILD_CACHE_KEY: ${{ github.sha }} CACHED_BUILD_PATHS: | @@ -38,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.2 + - uses: actions/checkout@v6.0.1 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: @@ -100,21 +103,13 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - - name: Upload coverage to Codecov + - name: Parse and Upload Coverage if: ${{ !cancelled() }} - uses: codecov/codecov-action@v5.5.2 + uses: getsentry/codecov-action@main with: - token: ${{ secrets.CODECOV_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} files: coverage.xml - # make sure no plugins alter our coverage reports - plugins: noop - verbose: true - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: .junitxml + junit-xml-pattern: .junitxml verbose: true check_required_tests: name: All Tasks tests passed diff --git a/.github/workflows/test-integrations-web-1.yml b/.github/workflows/test-integrations-web-1.yml index 599c524f0e..ae7b262f7e 100644 --- a/.github/workflows/test-integrations-web-1.yml +++ b/.github/workflows/test-integrations-web-1.yml @@ -17,6 +17,9 @@ concurrency: cancel-in-progress: true permissions: contents: read + actions: read + pull-requests: write + statuses: write env: BUILD_CACHE_KEY: ${{ github.sha }} CACHED_BUILD_PATHS: | @@ -56,7 +59,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.2 + - uses: actions/checkout@v6.0.1 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: @@ -95,21 +98,13 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - - name: Upload coverage to Codecov + - name: Parse and Upload Coverage if: ${{ !cancelled() }} - uses: codecov/codecov-action@v5.5.2 + uses: getsentry/codecov-action@main with: - token: ${{ secrets.CODECOV_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} files: coverage.xml - # make sure no plugins alter our coverage reports - plugins: noop - verbose: true - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: .junitxml + junit-xml-pattern: .junitxml verbose: true check_required_tests: name: All Web 1 tests passed diff --git a/.github/workflows/test-integrations-web-2.yml b/.github/workflows/test-integrations-web-2.yml index 4911d319ea..b2e764d34e 100644 --- a/.github/workflows/test-integrations-web-2.yml +++ b/.github/workflows/test-integrations-web-2.yml @@ -17,6 +17,9 @@ concurrency: cancel-in-progress: true permissions: contents: read + actions: read + pull-requests: write + statuses: write env: BUILD_CACHE_KEY: ${{ github.sha }} CACHED_BUILD_PATHS: | @@ -38,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.2 + - uses: actions/checkout@v6.0.1 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: @@ -101,21 +104,13 @@ jobs: run: | coverage combine .coverage-sentry-* coverage xml - - name: Upload coverage to Codecov + - name: Parse and Upload Coverage if: ${{ !cancelled() }} - uses: codecov/codecov-action@v5.5.2 + uses: getsentry/codecov-action@main with: - token: ${{ secrets.CODECOV_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} files: coverage.xml - # make sure no plugins alter our coverage reports - plugins: noop - verbose: true - - name: Upload test results to Codecov - if: ${{ !cancelled() }} - uses: codecov/test-results-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: .junitxml + junit-xml-pattern: .junitxml verbose: true check_required_tests: name: All Web 2 tests passed diff --git a/codecov.yml b/codecov.yml index b7abcf8c86..4cb22edee8 100644 --- a/codecov.yml +++ b/codecov.yml @@ -10,18 +10,7 @@ ignore: - "tests" - "sentry_sdk/_types.py" -# Read more here: https://docs.codecov.com/docs/pull-request-comments -comment: - after_n_builds: 99 - layout: 'diff, files' - # Update, if comment exists. Otherwise post new. - behavior: default - # Comments will only post when coverage changes. Furthermore, if a comment - # already exists, and a newer commit results in no coverage change for the - # entire pull, the comment will be deleted. - require_changes: true - require_base: true # must have a base report to post - require_head: true # must have a head report to post +comment: true github_checks: annotations: false diff --git a/scripts/split_tox_gh_actions/templates/base.jinja b/scripts/split_tox_gh_actions/templates/base.jinja index 8d618d228c..c3bc528a7c 100644 --- a/scripts/split_tox_gh_actions/templates/base.jinja +++ b/scripts/split_tox_gh_actions/templates/base.jinja @@ -23,6 +23,9 @@ concurrency: permissions: contents: read + actions: read + pull-requests: write + statuses: write env: BUILD_CACHE_KEY: {% raw %}${{ github.sha }}{% endraw %} diff --git a/scripts/split_tox_gh_actions/templates/test_group.jinja b/scripts/split_tox_gh_actions/templates/test_group.jinja index 3e1ab30290..6c1c179dca 100644 --- a/scripts/split_tox_gh_actions/templates/test_group.jinja +++ b/scripts/split_tox_gh_actions/templates/test_group.jinja @@ -94,20 +94,11 @@ coverage combine .coverage-sentry-* coverage xml - - name: Upload coverage to Codecov + - name: Parse and Upload Coverage if: {% raw %}${{ !cancelled() }}{% endraw %} - uses: codecov/codecov-action@v5.5.2 + uses: getsentry/codecov-action@main with: - token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %} + token: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %} files: coverage.xml - # make sure no plugins alter our coverage reports - plugins: noop - verbose: true - - - name: Upload test results to Codecov - if: {% raw %}${{ !cancelled() }}{% endraw %} - uses: codecov/test-results-action@v1 - with: - token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %} - files: .junitxml + junit-xml-pattern: .junitxml verbose: true From 0bc8a045ecb3184784e056caf8d2c1eacf945863 Mon Sep 17 00:00:00 2001 From: mathuraditya724 Date: Fri, 30 Jan 2026 12:39:49 +0530 Subject: [PATCH 2/3] empty commit From 833c276860dcbd6cee1c38b3ce2cf170af8e64f1 Mon Sep 17 00:00:00 2001 From: mathuraditya724 Date: Fri, 30 Jan 2026 13:02:15 +0530 Subject: [PATCH 3/3] chore: minor change --- .github/workflows/test-integrations-agents.yml | 2 +- .github/workflows/test-integrations-ai-workflow.yml | 2 +- .github/workflows/test-integrations-ai.yml | 2 +- .github/workflows/test-integrations-cloud.yml | 2 +- .github/workflows/test-integrations-common.yml | 2 +- .github/workflows/test-integrations-dbs.yml | 2 +- .github/workflows/test-integrations-flags.yml | 2 +- .github/workflows/test-integrations-gevent.yml | 2 +- .github/workflows/test-integrations-graphql.yml | 2 +- .github/workflows/test-integrations-mcp.yml | 2 +- .github/workflows/test-integrations-misc.yml | 2 +- .github/workflows/test-integrations-network.yml | 2 +- .github/workflows/test-integrations-tasks.yml | 2 +- .github/workflows/test-integrations-web-1.yml | 2 +- .github/workflows/test-integrations-web-2.yml | 2 +- scripts/split_tox_gh_actions/templates/test_group.jinja | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test-integrations-agents.yml b/.github/workflows/test-integrations-agents.yml index 6650bf13e7..a05649a5f0 100644 --- a/.github/workflows/test-integrations-agents.yml +++ b/.github/workflows/test-integrations-agents.yml @@ -41,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.1 + - uses: actions/checkout@v6.0.2 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: diff --git a/.github/workflows/test-integrations-ai-workflow.yml b/.github/workflows/test-integrations-ai-workflow.yml index aecfea886c..7cd4cb86df 100644 --- a/.github/workflows/test-integrations-ai-workflow.yml +++ b/.github/workflows/test-integrations-ai-workflow.yml @@ -41,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.1 + - uses: actions/checkout@v6.0.2 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: diff --git a/.github/workflows/test-integrations-ai.yml b/.github/workflows/test-integrations-ai.yml index 74e4c576b5..0b305a3775 100644 --- a/.github/workflows/test-integrations-ai.yml +++ b/.github/workflows/test-integrations-ai.yml @@ -41,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.1 + - uses: actions/checkout@v6.0.2 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: diff --git a/.github/workflows/test-integrations-cloud.yml b/.github/workflows/test-integrations-cloud.yml index 4ebf9c682d..d57034d4e3 100644 --- a/.github/workflows/test-integrations-cloud.yml +++ b/.github/workflows/test-integrations-cloud.yml @@ -45,7 +45,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.1 + - uses: actions/checkout@v6.0.2 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: diff --git a/.github/workflows/test-integrations-common.yml b/.github/workflows/test-integrations-common.yml index 58d2e45e5a..9b333435bd 100644 --- a/.github/workflows/test-integrations-common.yml +++ b/.github/workflows/test-integrations-common.yml @@ -41,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.1 + - uses: actions/checkout@v6.0.2 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: diff --git a/.github/workflows/test-integrations-dbs.yml b/.github/workflows/test-integrations-dbs.yml index a8367c8052..b1dadb0ca5 100644 --- a/.github/workflows/test-integrations-dbs.yml +++ b/.github/workflows/test-integrations-dbs.yml @@ -59,7 +59,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.1 + - uses: actions/checkout@v6.0.2 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: diff --git a/.github/workflows/test-integrations-flags.yml b/.github/workflows/test-integrations-flags.yml index 27f7a2229f..dded26658a 100644 --- a/.github/workflows/test-integrations-flags.yml +++ b/.github/workflows/test-integrations-flags.yml @@ -41,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.1 + - uses: actions/checkout@v6.0.2 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: diff --git a/.github/workflows/test-integrations-gevent.yml b/.github/workflows/test-integrations-gevent.yml index 998d4722c0..525140dfa7 100644 --- a/.github/workflows/test-integrations-gevent.yml +++ b/.github/workflows/test-integrations-gevent.yml @@ -41,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.1 + - uses: actions/checkout@v6.0.2 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: diff --git a/.github/workflows/test-integrations-graphql.yml b/.github/workflows/test-integrations-graphql.yml index a0b1f6ca28..322a95ff54 100644 --- a/.github/workflows/test-integrations-graphql.yml +++ b/.github/workflows/test-integrations-graphql.yml @@ -41,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.1 + - uses: actions/checkout@v6.0.2 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: diff --git a/.github/workflows/test-integrations-mcp.yml b/.github/workflows/test-integrations-mcp.yml index 31aa2e99f4..4b576a897f 100644 --- a/.github/workflows/test-integrations-mcp.yml +++ b/.github/workflows/test-integrations-mcp.yml @@ -41,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.1 + - uses: actions/checkout@v6.0.2 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: diff --git a/.github/workflows/test-integrations-misc.yml b/.github/workflows/test-integrations-misc.yml index 76a322746e..021d6cda79 100644 --- a/.github/workflows/test-integrations-misc.yml +++ b/.github/workflows/test-integrations-misc.yml @@ -41,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.1 + - uses: actions/checkout@v6.0.2 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: diff --git a/.github/workflows/test-integrations-network.yml b/.github/workflows/test-integrations-network.yml index 10d7f3d6f6..ee4579f50f 100644 --- a/.github/workflows/test-integrations-network.yml +++ b/.github/workflows/test-integrations-network.yml @@ -41,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.1 + - uses: actions/checkout@v6.0.2 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: diff --git a/.github/workflows/test-integrations-tasks.yml b/.github/workflows/test-integrations-tasks.yml index 9a3bc03ffc..bab5ddf335 100644 --- a/.github/workflows/test-integrations-tasks.yml +++ b/.github/workflows/test-integrations-tasks.yml @@ -41,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.1 + - uses: actions/checkout@v6.0.2 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: diff --git a/.github/workflows/test-integrations-web-1.yml b/.github/workflows/test-integrations-web-1.yml index ae7b262f7e..82632632e7 100644 --- a/.github/workflows/test-integrations-web-1.yml +++ b/.github/workflows/test-integrations-web-1.yml @@ -59,7 +59,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.1 + - uses: actions/checkout@v6.0.2 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: diff --git a/.github/workflows/test-integrations-web-2.yml b/.github/workflows/test-integrations-web-2.yml index b2e764d34e..9dec6bff24 100644 --- a/.github/workflows/test-integrations-web-2.yml +++ b/.github/workflows/test-integrations-web-2.yml @@ -41,7 +41,7 @@ jobs: # Use Docker container only for Python 3.6 container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }} steps: - - uses: actions/checkout@v6.0.1 + - uses: actions/checkout@v6.0.2 - uses: actions/setup-python@v6 if: ${{ matrix.python-version != '3.6' }} with: diff --git a/scripts/split_tox_gh_actions/templates/test_group.jinja b/scripts/split_tox_gh_actions/templates/test_group.jinja index 6c1c179dca..e9581d2d8f 100644 --- a/scripts/split_tox_gh_actions/templates/test_group.jinja +++ b/scripts/split_tox_gh_actions/templates/test_group.jinja @@ -42,7 +42,7 @@ # Use Docker container only for Python 3.6 {% raw %}container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}{% endraw %} steps: - - uses: actions/checkout@v6.0.1 + - uses: actions/checkout@v6.0.2 - uses: actions/setup-python@v6 {% raw %}if: ${{ matrix.python-version != '3.6' }}{% endraw %} with: