diff --git a/.github/workflows/_build-and-test-locally.yml b/.github/workflows/_build-and-test-locally.yml index 1b03dc9c03..23cd9188c6 100644 --- a/.github/workflows/_build-and-test-locally.yml +++ b/.github/workflows/_build-and-test-locally.yml @@ -338,67 +338,3 @@ jobs: - name: Merge and upload coverage data if: inputs.build-type == 'debug' uses: ./.github/actions/save-coverage-data - - regress-tests: - # Don't run regression tests on debug arm64 builds - if: inputs.build-type != 'debug' || inputs.arch != 'arm64' - permissions: - id-token: write # aws-actions/configure-aws-credentials - contents: read - statuses: write - needs: [ build-neon ] - runs-on: ${{ fromJSON(format('["self-hosted", "{0}"]', inputs.arch == 'arm64' && 'large-arm64' || 'large-metal')) }} - container: - image: ${{ inputs.build-tools-image }} - credentials: - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - # for changed limits, see comments on `options:` earlier in this file - options: --init --shm-size=512mb --ulimit memlock=67108864:67108864 - strategy: - fail-fast: false - matrix: ${{ fromJSON(format('{{"include":{0}}}', inputs.test-cfg)) }} - steps: - - name: Harden the runner (Audit all outbound calls) - uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0 - with: - egress-policy: audit - - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - submodules: true - - - name: Pytest regression tests - continue-on-error: ${{ matrix.lfc_state == 'with-lfc' && inputs.build-type == 'debug' }} - uses: ./.github/actions/run-python-test-set - timeout-minutes: ${{ (inputs.build-type == 'release' && inputs.sanitizers != 'enabled') && 75 || 180 }} - with: - build_type: ${{ inputs.build-type }} - test_selection: regress - needs_postgres_source: true - run_with_real_s3: true - real_s3_bucket: neon-github-ci-tests - real_s3_region: eu-central-1 - rerun_failed: ${{ inputs.rerun-failed }} - pg_version: ${{ matrix.pg_version }} - sanitizers: ${{ inputs.sanitizers }} - aws-oidc-role-arn: ${{ vars.DEV_AWS_OIDC_ROLE_ARN }} - # `--session-timeout` is equal to (timeout-minutes - 10 minutes) * 60 seconds. - # Attempt to stop tests gracefully to generate test reports - # until they are forcibly stopped by the stricter `timeout-minutes` limit. - extra_params: --session-timeout=${{ (inputs.build-type == 'release' && inputs.sanitizers != 'enabled') && 3000 || 10200 }} --count=${{ inputs.test-run-count }} - ${{ inputs.test-selection != '' && format('-k "{0}"', inputs.test-selection) || '' }} - env: - TEST_RESULT_CONNSTR: ${{ secrets.REGRESS_TEST_RESULT_CONNSTR_NEW }} - CHECK_ONDISK_DATA_COMPATIBILITY: nonempty - BUILD_TAG: ${{ inputs.build-tag }} - PAGESERVER_VIRTUAL_FILE_IO_ENGINE: tokio-epoll-uring - USE_LFC: ${{ matrix.lfc_state == 'with-lfc' && 'true' || 'false' }} - - # Temporary disable this step until we figure out why it's so flaky - # Ref https://github.com/neondatabase/neon/issues/4540 - - name: Merge and upload coverage data - if: | - false && - inputs.build-type == 'debug' && matrix.pg_version == 'v16' - uses: ./.github/actions/save-coverage-data diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 4d71d20441..29090921b0 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -203,16 +203,6 @@ jobs: sub_fetch_depth: "50" pass_if_unchanged: true - check-codestyle-rust: - needs: [ meta, check-permissions, build-build-tools-image ] - # No need to run on `main` because we this in the merge queue. We do need to run this in `.*-rc-pr` because of hotfixes. - if: ${{ contains(fromJSON('["pr", "storage-rc-pr", "proxy-rc-pr", "compute-rc-pr"]'), needs.meta.outputs.run-kind) }} - uses: ./.github/workflows/_check-codestyle-rust.yml - with: - build-tools-image: ${{ needs.build-build-tools-image.outputs.image }}-bookworm - archs: '["x64", "arm64"]' - secrets: inherit - check-dependencies-rust: needs: [ meta, files-changed, build-build-tools-image ] # No need to run on `main` because we this in the merge queue. We do need to run this in `.*-rc-pr` because of hotfixes. @@ -278,6 +268,7 @@ jobs: fetch-depth: 0 - name: Get Neon artifact + if: false uses: ./.github/actions/download with: name: neon-${{ runner.os }}-${{ runner.arch }}-${{ matrix.build_type }}-artifact @@ -285,6 +276,7 @@ jobs: aws-oidc-role-arn: ${{ vars.DEV_AWS_OIDC_ROLE_ARN }} - name: Get coverage artifact + if: false uses: ./.github/actions/download with: name: coverage-data-artifact @@ -292,9 +284,11 @@ jobs: aws-oidc-role-arn: ${{ vars.DEV_AWS_OIDC_ROLE_ARN }} - name: Merge coverage data + if: false run: scripts/coverage "--profraw-prefix=$GITHUB_JOB" --dir=/tmp/coverage merge - name: Build coverage report + if: false env: COMMIT_URL: ${{ github.server_url }}/${{ github.repository }}/commit/${{ github.event.pull_request.head.sha || github.sha }} run: | @@ -344,6 +338,6 @@ jobs: echo "summary-json=${REPORT_URL}" >> $GITHUB_OUTPUT - name: Sleep for debug - if: always() && steps.upload-coverage-report-new.conclusion == 'failure' + if: always() run: | sleep 3600