Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 0 additions & 42 deletions .cursor/rules/code-style.mdc

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def get_checks_errors(client: Client, commit_sha: str, branch_name: str):
query = f"""{_checks_latest_test_status_cte(commit_sha, branch_name)}
SELECT job_status, job_name, status AS test_status, test_name, results_link
FROM latest_test_status
WHERE job_status = 'error' AND test_status NOT IN ('OK', 'SKIPPED')
WHERE job_status = 'error' AND test_status NOT IN ('OK', 'SKIPPED', 'BROKEN')
ORDER BY job_name, test_name
"""
return query_dataframe_with_retry(client, query)
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5272,7 +5272,7 @@ jobs:
finish_workflow:
runs-on: [self-hosted, altinity-on-demand, altinity-style-checker-aarch64]
needs: [ast_fuzzer_amd_debug, ast_fuzzer_amd_msan, ast_fuzzer_amd_tsan, ast_fuzzer_amd_ubsan, ast_fuzzer_arm_asan, build_amd_asan, build_amd_binary, build_amd_coverage, build_amd_debug, build_amd_msan, build_amd_release, build_amd_tsan, build_amd_ubsan, build_arm_asan, build_arm_binary, build_arm_release, buzzhouse_amd_debug, buzzhouse_amd_msan, buzzhouse_amd_tsan, buzzhouse_amd_ubsan, buzzhouse_arm_asan, clickbench_amd_release, clickbench_arm_release, compatibility_check_amd_release, compatibility_check_arm_release, config_workflow, docker_keeper_image, docker_server_image, dockers_build_amd, dockers_build_arm, dockers_build_multiplatform_manifest, install_packages_amd_release, install_packages_arm_release, integration_tests_amd_asan_db_disk_old_analyzer_1_6, integration_tests_amd_asan_db_disk_old_analyzer_2_6, integration_tests_amd_asan_db_disk_old_analyzer_3_6, integration_tests_amd_asan_db_disk_old_analyzer_4_6, integration_tests_amd_asan_db_disk_old_analyzer_5_6, integration_tests_amd_asan_db_disk_old_analyzer_6_6, integration_tests_amd_binary_1_5, integration_tests_amd_binary_2_5, integration_tests_amd_binary_3_5, integration_tests_amd_binary_4_5, integration_tests_amd_binary_5_5, integration_tests_amd_msan_1_6, integration_tests_amd_msan_2_6, integration_tests_amd_msan_3_6, integration_tests_amd_msan_4_6, integration_tests_amd_msan_5_6, integration_tests_amd_msan_6_6, integration_tests_amd_tsan_1_6, integration_tests_amd_tsan_2_6, integration_tests_amd_tsan_3_6, integration_tests_amd_tsan_4_6, integration_tests_amd_tsan_5_6, integration_tests_amd_tsan_6_6, integration_tests_arm_binary_distributed_plan_1_4, integration_tests_arm_binary_distributed_plan_2_4, integration_tests_arm_binary_distributed_plan_3_4, integration_tests_arm_binary_distributed_plan_4_4, sqllogic_test, sqltest, stateless_tests_amd_asan_db_disk_distributed_plan_sequential, stateless_tests_amd_asan_distributed_plan_parallel_1_4, stateless_tests_amd_asan_distributed_plan_parallel_2_4, stateless_tests_amd_asan_distributed_plan_parallel_3_4, stateless_tests_amd_asan_distributed_plan_parallel_4_4, stateless_tests_amd_coverage_1_8, stateless_tests_amd_coverage_2_8, stateless_tests_amd_coverage_3_8, stateless_tests_amd_coverage_4_8, stateless_tests_amd_coverage_5_8, stateless_tests_amd_coverage_6_8, stateless_tests_amd_coverage_7_8, stateless_tests_amd_coverage_8_8, stateless_tests_amd_debug_distributed_plan_s3_storage_parallel, stateless_tests_amd_debug_distributed_plan_s3_storage_sequential, stateless_tests_amd_debug_parallel, stateless_tests_amd_debug_sequential, stateless_tests_amd_msan_wasmedge_parallel_1_4, stateless_tests_amd_msan_wasmedge_parallel_2_4, stateless_tests_amd_msan_wasmedge_parallel_3_4, stateless_tests_amd_msan_wasmedge_parallel_4_4, stateless_tests_amd_msan_wasmedge_sequential_1_2, stateless_tests_amd_msan_wasmedge_sequential_2_2, stateless_tests_amd_tsan_parallel_1_2, stateless_tests_amd_tsan_parallel_2_2, stateless_tests_amd_tsan_s3_storage_parallel_1_2, stateless_tests_amd_tsan_s3_storage_parallel_2_2, stateless_tests_amd_tsan_s3_storage_sequential_1_2, stateless_tests_amd_tsan_s3_storage_sequential_2_2, stateless_tests_amd_tsan_sequential_1_2, stateless_tests_amd_tsan_sequential_2_2, stateless_tests_amd_ubsan_parallel, stateless_tests_amd_ubsan_sequential, stateless_tests_arm_asan_azure_parallel_1_4, stateless_tests_arm_asan_azure_parallel_2_4, stateless_tests_arm_asan_azure_parallel_3_4, stateless_tests_arm_asan_azure_parallel_4_4, stateless_tests_arm_asan_azure_sequential_1_2, stateless_tests_arm_asan_azure_sequential_2_2, stateless_tests_arm_binary_parallel, stateless_tests_arm_binary_sequential, stress_test_amd_debug, stress_test_amd_msan, stress_test_amd_release, stress_test_amd_tsan, stress_test_amd_ubsan, stress_test_arm_asan, stress_test_arm_asan_s3, stress_test_azure_amd_msan, stress_test_azure_amd_tsan, unit_tests_asan, unit_tests_msan, unit_tests_tsan, unit_tests_ubsan]
if: ${{ always() }}
if: ${{ always() && needs.config_workflow.outputs.pipeline_status != '' }}
name: "Finish Workflow"
outputs:
data: ${{ steps.run.outputs.DATA }}
Expand Down Expand Up @@ -5347,7 +5347,7 @@ jobs:
secrets: inherit
with:
runner_type: altinity-regression-tester
commit: c7897a6a858a9ef9c7b3c519e7291cfd3c2ec646
commit: release
arch: release
build_sha: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
timeout_minutes: 210
Expand All @@ -5359,7 +5359,7 @@ jobs:
secrets: inherit
with:
runner_type: altinity-regression-tester-aarch64
commit: c7897a6a858a9ef9c7b3c519e7291cfd3c2ec646
commit: release
arch: aarch64
build_sha: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
timeout_minutes: 210
Expand All @@ -5385,7 +5385,7 @@ jobs:
data: ${{ needs.config_workflow.outputs.data }}

FinishCIReport:
if: ${{ !cancelled() }}
if: ${{ !cancelled() && needs.config_workflow.outputs.pipeline_status != '' }}
needs:
- config_workflow
- dockers_build_amd
Expand Down Expand Up @@ -5525,7 +5525,7 @@ jobs:

SourceUpload:
needs: [config_workflow, build_amd_release]
if: ${{ !failure() && !cancelled() }}
if: ${{ !cancelled() && needs.config_workflow.outputs.pipeline_status != '' && !contains(needs.*.outputs.pipeline_status, 'failure') }}
runs-on: [self-hosted, altinity-on-demand, altinity-style-checker-aarch64]
env:
COMMIT_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5050,7 +5050,7 @@ jobs:
finish_workflow:
runs-on: [self-hosted, altinity-on-demand, altinity-style-checker-aarch64]
needs: [ast_fuzzer_amd_debug, ast_fuzzer_amd_debug_targeted, ast_fuzzer_amd_debug_targeted_old_compatibility, ast_fuzzer_amd_msan, ast_fuzzer_amd_tsan, ast_fuzzer_amd_ubsan, ast_fuzzer_arm_asan, build_amd_asan, build_amd_binary, build_amd_debug, build_amd_msan, build_amd_release, build_amd_tsan, build_amd_ubsan, build_arm_asan, build_arm_binary, build_arm_release, build_arm_tsan, build_toolchain_pgo_bolt_aarch64, build_toolchain_pgo_bolt_amd64, buzzhouse_amd_debug, buzzhouse_amd_msan, buzzhouse_amd_tsan, buzzhouse_amd_ubsan, buzzhouse_arm_asan, compatibility_check_amd_release, compatibility_check_arm_release, config_workflow, docker_keeper_image, docker_server_image, dockers_build_amd, dockers_build_arm, dockers_build_multiplatform_manifest, fast_test, install_packages_amd_release, install_packages_arm_release, integration_tests_amd_asan_db_disk_old_analyzer_1_6, integration_tests_amd_asan_db_disk_old_analyzer_2_6, integration_tests_amd_asan_db_disk_old_analyzer_3_6, integration_tests_amd_asan_db_disk_old_analyzer_4_6, integration_tests_amd_asan_db_disk_old_analyzer_5_6, integration_tests_amd_asan_db_disk_old_analyzer_6_6, integration_tests_amd_asan_targeted, integration_tests_amd_binary_1_5, integration_tests_amd_binary_2_5, integration_tests_amd_binary_3_5, integration_tests_amd_binary_4_5, integration_tests_amd_binary_5_5, integration_tests_amd_msan_1_6, integration_tests_amd_msan_2_6, integration_tests_amd_msan_3_6, integration_tests_amd_msan_4_6, integration_tests_amd_msan_5_6, integration_tests_amd_msan_6_6, integration_tests_amd_tsan_1_6, integration_tests_amd_tsan_2_6, integration_tests_amd_tsan_3_6, integration_tests_amd_tsan_4_6, integration_tests_amd_tsan_5_6, integration_tests_amd_tsan_6_6, integration_tests_arm_binary_distributed_plan_1_4, integration_tests_arm_binary_distributed_plan_2_4, integration_tests_arm_binary_distributed_plan_3_4, integration_tests_arm_binary_distributed_plan_4_4, quick_functional_tests, sqllogic_test, stateless_tests_amd_asan_db_disk_distributed_plan_sequential, stateless_tests_amd_asan_distributed_plan_parallel_1_4, stateless_tests_amd_asan_distributed_plan_parallel_2_4, stateless_tests_amd_asan_distributed_plan_parallel_3_4, stateless_tests_amd_asan_distributed_plan_parallel_4_4, stateless_tests_amd_debug_distributed_plan_s3_storage_parallel, stateless_tests_amd_debug_distributed_plan_s3_storage_sequential, stateless_tests_amd_debug_parallel, stateless_tests_amd_debug_sequential, stateless_tests_amd_msan_wasmedge_parallel_1_4, stateless_tests_amd_msan_wasmedge_parallel_2_4, stateless_tests_amd_msan_wasmedge_parallel_3_4, stateless_tests_amd_msan_wasmedge_parallel_4_4, stateless_tests_amd_msan_wasmedge_sequential_1_2, stateless_tests_amd_msan_wasmedge_sequential_2_2, stateless_tests_amd_tsan_parallel_1_2, stateless_tests_amd_tsan_parallel_2_2, stateless_tests_amd_tsan_s3_storage_parallel_1_2, stateless_tests_amd_tsan_s3_storage_parallel_2_2, stateless_tests_amd_tsan_s3_storage_sequential_1_2, stateless_tests_amd_tsan_s3_storage_sequential_2_2, stateless_tests_amd_tsan_sequential_1_2, stateless_tests_amd_tsan_sequential_2_2, stateless_tests_amd_ubsan_parallel, stateless_tests_amd_ubsan_sequential, stateless_tests_arm_asan_azure_parallel_1_4, stateless_tests_arm_asan_azure_parallel_2_4, stateless_tests_arm_asan_azure_parallel_3_4, stateless_tests_arm_asan_azure_parallel_4_4, stateless_tests_arm_asan_azure_sequential_1_2, stateless_tests_arm_asan_azure_sequential_2_2, stateless_tests_arm_asan_targeted, stateless_tests_arm_binary_parallel, stateless_tests_arm_binary_sequential, stress_test_amd_debug, stress_test_amd_msan, stress_test_amd_release, stress_test_amd_tsan, stress_test_amd_ubsan, stress_test_arm_asan, stress_test_arm_asan_s3, unit_tests_asan, unit_tests_msan, unit_tests_tsan, unit_tests_ubsan]
if: ${{ always() }}
if: ${{ always() && needs.config_workflow.outputs.pipeline_status != '' }}
name: "Finish Workflow"
outputs:
data: ${{ steps.run.outputs.DATA }}
Expand Down Expand Up @@ -5125,7 +5125,7 @@ jobs:
secrets: inherit
with:
runner_type: altinity-regression-tester
commit: c7897a6a858a9ef9c7b3c519e7291cfd3c2ec646
commit: release
arch: release
build_sha: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
timeout_minutes: 210
Expand All @@ -5137,14 +5137,14 @@ jobs:
secrets: inherit
with:
runner_type: altinity-regression-tester-aarch64
commit: c7897a6a858a9ef9c7b3c519e7291cfd3c2ec646
commit: release
arch: aarch64
build_sha: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
timeout_minutes: 210
workflow_config: ${{ needs.config_workflow.outputs.data }}

FinishCIReport:
if: ${{ !cancelled() }}
if: ${{ !cancelled() && needs.config_workflow.outputs.pipeline_status != '' }}
needs:
- config_workflow
- dockers_build_amd
Expand Down Expand Up @@ -5277,7 +5277,7 @@ jobs:

SourceUpload:
needs: [config_workflow, build_amd_release]
if: ${{ !failure() && !cancelled() }}
if: ${{ !cancelled() && needs.config_workflow.outputs.pipeline_status != '' && !contains(needs.*.outputs.pipeline_status, 'failure') }}
runs-on: [self-hosted, altinity-on-demand, altinity-style-checker-aarch64]
env:
COMMIT_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ jobs:
build_sha: ${{ inputs.build_sha }}
set_commit_status: true
job_name: iceberg
extra_args: --only ${{ matrix.PART == 1 && '"/iceberg/iceberg engine/rest catalog/*" "/iceberg/s3 table function/*" "/iceberg/icebergS3 table function/*" "/iceberg/iceberg cache/*"' || '"/iceberg/iceberg engine/glue catalog/*" "/iceberg/iceberg table engine/*"' }}
extra_args: --only ${{ matrix.PART == 1 && '"/iceberg/iceberg engine/rest catalog/*" "/iceberg/s3 table function/*" "/iceberg/icebergS3 table function/*" "/iceberg/iceberg cache/*"' || '"/iceberg/iceberg engine/glue catalog/*" "/iceberg/iceberg table engine/*" "/iceberg/export partition/*"' }}
secrets: inherit
LDAP:
if: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ jobs:
finish_workflow:
runs-on: [self-hosted, altinity-on-demand, altinity-style-checker-aarch64]
needs: [build_amd_asan, build_amd_binary, build_amd_debug, build_amd_msan, build_amd_release, build_amd_tsan, build_amd_ubsan, build_arm_asan, build_arm_binary, build_arm_release, config_workflow, docker_keeper_image, docker_server_image, dockers_build_amd, dockers_build_arm, dockers_build_multiplatform_manifest, install_packages_amd_release, install_packages_arm_release, stateless_tests_arm_binary_parallel, stateless_tests_arm_binary_sequential]
if: ${{ always() }}
if: ${{ always() && needs.config_workflow.outputs.pipeline_status != '' }}
name: "Finish Workflow"
outputs:
data: ${{ steps.run.outputs.DATA }}
Expand Down Expand Up @@ -1073,7 +1073,7 @@ jobs:
data: ${{ needs.config_workflow.outputs.data }}

FinishCIReport:
if: ${{ !cancelled() }}
if: ${{ !cancelled() && needs.config_workflow.outputs.pipeline_status != '' }}
needs:
- config_workflow
- dockers_build_amd
Expand Down Expand Up @@ -1115,7 +1115,7 @@ jobs:

SourceUpload:
needs: [config_workflow, build_amd_release]
if: ${{ !failure() && !cancelled() }}
if: ${{ !cancelled() && needs.config_workflow.outputs.pipeline_status != '' && !contains(needs.*.outputs.pipeline_status, 'failure') }}
runs-on: [self-hosted, altinity-on-demand, altinity-style-checker-aarch64]
env:
COMMIT_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
Expand Down
3 changes: 3 additions & 0 deletions ci/jobs/fast_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ def main():
if info.is_local_run or info.is_community_pr:
print("NOTE: Community contribution or local run - set sccache to run without AWS credentials")
os.environ["SCCACHE_S3_NO_CREDENTIALS"] = "true"
# NOTE (strtgbb): sccache will throw an error if AWS credentials are present with SCCACHE_S3_NO_CREDENTIALS=1
os.environ.pop("AWS_SECRET_ACCESS_KEY", None)
os.environ.pop("AWS_ACCESS_KEY_ID", None)
else:
pass
# NOTE (strtgbb): Not used yet, but we should look into setting up the secrets for it
Expand Down
6 changes: 5 additions & 1 deletion ci/jobs/functional_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,11 @@ def main():
if not has_stateful:
has_stateful_tests = False

targeter = Targeting(info=info)
if not info.is_community_pr:
targeter = Targeting(info=info)
else:
targeter = None

if is_flaky_check or is_bugfix_validation:
if info.is_local_run:
assert (
Expand Down
6 changes: 3 additions & 3 deletions ci/praktika/yaml_additional_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class AltinityWorkflowTemplates:
echo "Workflow Run Report: [View Report]($REPORT_LINK)" >> $GITHUB_STEP_SUMMARY
"""
# Additional jobs
REGRESSION_HASH = "c7897a6a858a9ef9c7b3c519e7291cfd3c2ec646"
REGRESSION_HASH = "release"
ALTINITY_JOBS = {
"GrypeScan": r"""
GrypeScanServer:
Expand Down Expand Up @@ -108,7 +108,7 @@ class AltinityWorkflowTemplates:
""",
"CIReport": r"""
FinishCIReport:
if: ${{ !cancelled() }}
if: ${{ !cancelled() && needs.config_workflow.outputs.pipeline_status != '' }}
needs:
{ALL_JOBS}
runs-on: [self-hosted, altinity-on-demand, altinity-style-checker-aarch64]
Expand All @@ -127,7 +127,7 @@ class AltinityWorkflowTemplates:
"SourceUpload": r"""
SourceUpload:
needs: [config_workflow, build_amd_release]
if: ${{ !failure() && !cancelled() }}
if: ${{ !cancelled() && needs.config_workflow.outputs.pipeline_status != '' && !contains(needs.*.outputs.pipeline_status, 'failure') }}
runs-on: [self-hosted, altinity-on-demand, altinity-style-checker-aarch64]
env:
COMMIT_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion ci/praktika/yaml_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class Templates:
"""

TEMPLATE_IF_EXPRESSION_ALWAYS = """
if: ${{ always() }}\
if: ${{ always() && needs.config_workflow.outputs.pipeline_status != '' }}\
"""

def __init__(self):
Expand Down
Loading
Loading