Apache DataFusion SQL Query Engine
Remove the "extended workflow" github action (#17119)
Andrew Lambd375bfed4559
diff --git a/.github/workflows/extended.yml b/.github/workflows/extended.ymlindex d53405afda..805856339b 100644--- a/.github/workflows/extended.yml+++ b/.github/workflows/extended.yml@@ -159,44 +159,6 @@ jobs:cargo test --features backtrace --profile release-nonlto --test sqllogictests -- --include-sqlitecargo clean- # If the workflow was triggered by the PR comment (through pr_comment_commands.yml action) we need to manually update check status to display in UI- update-check-status:- needs: [linux-build-lib, linux-test-extended, hash-collisions, sqllogictest-sqlite]- runs-on: ubuntu-latest- if: ${{ always() && github.event_name == 'workflow_dispatch' }}- steps:- - name: Determine workflow status- id: status- run: |- if [[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}" == "true" ]]; then- echo "workflow_status=failure" >> $GITHUB_OUTPUT- echo "conclusion=failure" >> $GITHUB_OUTPUT- else- echo "workflow_status=completed" >> $GITHUB_OUTPUT- echo "conclusion=success" >> $GITHUB_OUTPUT- fi-- - name: Update check run- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1- with:- github-token: ${{ secrets.GITHUB_TOKEN }}- script: |- const workflowRunUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`;-- await github.rest.checks.update({- owner: context.repo.owner,- repo: context.repo.repo,- check_run_id: ${{ github.event.inputs.check_run_id }},- status: 'completed',- conclusion: '${{ steps.status.outputs.conclusion }}',- output: {- title: '${{ steps.status.outputs.conclusion == 'success' && 'Extended Tests Passed' || 'Extended Tests Failed' }}',- summary: `Extended tests have completed with status: ${{ steps.status.outputs.conclusion }}.\n\n[View workflow run](${workflowRunUrl})`- },- details_url: workflowRunUrl- });--diff --git a/.github/workflows/pr_comment_commands.yml b/.github/workflows/pr_comment_commands.ymldeleted file mode 100644index 3bec5fcf9b..0000000000--- a/.github/workflows/pr_comment_commands.yml+++ /dev/null@@ -1,89 +0,0 @@-# Licensed to the Apache Software Foundation (ASF) under one-# or more contributor license agreements. See the NOTICE file-# distributed with this work for additional information-# regarding copyright ownership. The ASF licenses this file-# to you under the Apache License, Version 2.0 (the-# "License"); you may not use this file except in compliance-# with the License. You may obtain a copy of the License at-#-# http://www.apache.org/licenses/LICENSE-2.0-#-# Unless required by applicable law or agreed to in writing,-# software distributed under the License is distributed on an-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY-# KIND, either express or implied. See the License for the-# specific language governing permissions and limitations-# under the License.--name: PR commands--on:- issue_comment:- types: [created]--permissions:- contents: read- pull-requests: write- actions: write- checks: write--jobs:- # Starts the extended_tests on a PR branch when someone leaves a `Run extended tests` comment- run_extended_tests:- runs-on: ubuntu-latest- if: ${{ github.event_name == 'issue_comment' && github.event.issue.pull_request && contains(github.event.comment.body, 'Run extended tests') }}- steps:- - name: Dispatch extended tests for a PR branch with comment- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1- with:- github-token: ${{ secrets.GITHUB_TOKEN }}- script: |- // Get PR details to fetch the branch name- const { data: pullRequest } = await github.rest.pulls.get({- owner: context.repo.owner,- repo: context.repo.repo,- pull_number: context.payload.issue.number- });-- // Extract the branch name- const branchName = pullRequest.head.ref;- const headSha = pullRequest.head.sha;- const workflowRunsUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}/actions?query=workflow%3A%22Datafusion+extended+tests%22+branch%3A${branchName}`;-- // Create a check run that links to the Actions tab so the run will be visible in GitHub UI- const check = await github.rest.checks.create({- owner: context.repo.owner,- repo: context.repo.repo,- name: 'Extended Tests',- head_sha: headSha,- status: 'in_progress',- output: {- title: 'Extended Tests Running',- summary: `Extended tests have been triggered for this PR.\n\n[View workflow runs](${workflowRunsUrl})`- },- details_url: workflowRunsUrl- });-- // Dispatch the workflow with the PR branch name- await github.rest.actions.createWorkflowDispatch({- owner: context.repo.owner,- repo: context.repo.repo,- workflow_id: 'extended.yml',- ref: 'main',- inputs: {- pr_number: context.payload.issue.number.toString(),- check_run_id: check.data.id.toString(),- pr_head_sha: headSha- }- });-- - name: Add reaction to comment- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1- with:- script: |- await github.rest.reactions.createForIssueComment({- owner: context.repo.owner,- repo: context.repo.repo,- comment_id: context.payload.comment.id,- content: 'rocket'- });diff --git a/docs/source/contributor-guide/testing.md b/docs/source/contributor-guide/testing.mdindex eeed2a0c5d..dd22e12360 100644--- a/docs/source/contributor-guide/testing.md+++ b/docs/source/contributor-guide/testing.md@@ -75,23 +75,17 @@ cargo insta reviewIn addition to the standard CI test suite that is run on all PRs prior to merge,DataFusion has "extended" tests (defined in [extended.yml]) that are run on eachcommit to `main`. These tests rarely fail but take significantly longer to run-than the standard test suite and add important test coverage such as that the-code works when there are hash collisions as well as running the relevant-portions of the entire [sqlite test suite].+than the standard test suite and add important test coverage such as ensuring+correctness when there are hash collisions and running the relevant portions of+the entire [sqlite test suite]. You can run the extended tests+locally by following the [instructions in the documentation].-You can run the extended tests on any PR by leaving the following comment (see [example here]):--```-Run extended tests-```--[extended.yml]: https://github.com/apache/datafusion/blob/main/.github/workflows/extended.yml[sqlite test suite]: https://www.sqlite.org/sqllogictest/dir?ci=tip-[example here]: https://github.com/apache/datafusion/pull/15427#issuecomment-2759160812+[instructions in the documentation]: https://github.com/apache/datafusion/tree/main/datafusion/sqllogictest#running-tests-sqlite## Rust Integration Tests-There are several tests of the public interface of the DataFusion library in the [tests](https://github.com/apache/datafusion/tree/main/datafusion/core/tests) directory.+There are several public interface tests for the DataFusion library in the [tests](https://github.com/apache/datafusion/tree/main/datafusion/core/tests) directory.You can run these tests individually using `cargo` as normal command such as