Skip to content

Commit 13b66b9

Browse files
authored
Merge branch 'master' into llm
2 parents 56c1ad7 + c49a5ac commit 13b66b9

File tree

6,205 files changed

+274747
-298112
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,205 files changed

+274747
-298112
lines changed

.clang-tidy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Checks: [
3838

3939
'-clang-analyzer-optin.performance.Padding',
4040

41+
'-clang-analyzer-core.BitwiseShift', # false positive on boost::dynamic_bitset::to_ulong
42+
4143
'-cppcoreguidelines-*', # impractical in a codebase as large as ClickHouse, also slow
4244

4345
'-darwin-*',

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
<!---
2-
A technical comment, you are free to remove or leave it as it is when PR is created
3-
The following categories are used in the next scripts, update them accordingly
4-
utils/changelog/changelog.py
5-
tests/ci/cancel_and_rerun_workflow_lambda/app.py
6-
-->
1+
<!---AI changelog entry and formatting assistance: true-->
2+
73
### Changelog category (leave one):
84
- New Feature
95
- Experimental Feature

.github/copilot-instructions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
When performing a code review, ignore `/.github/workflows/*` files.

.github/workflows/backport_branches.yml

Lines changed: 206 additions & 244 deletions
Large diffs are not rendered by default.

.github/workflows/hourly.yml

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# generated by praktika
2+
3+
name: Hourly
4+
on:
5+
schedule:
6+
- cron: 0 */3 * * 1-5
7+
workflow_dispatch:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}
11+
12+
env:
13+
PYTHONUNBUFFERED: 1
14+
CHECKOUT_REF: ""
15+
16+
jobs:
17+
18+
config_workflow:
19+
runs-on: [self-hosted, style-checker-aarch64]
20+
needs: []
21+
name: "Config Workflow"
22+
outputs:
23+
data: ${{ steps.run.outputs.DATA }}
24+
pipeline_status: ${{ steps.run.outputs.pipeline_status }}
25+
steps:
26+
- name: Checkout code
27+
uses: actions/checkout@v4
28+
with:
29+
ref: ${{ env.CHECKOUT_REF }}
30+
31+
- name: Prepare env script
32+
run: |
33+
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
34+
mkdir -p ./ci/tmp ./ci/tmp ./ci/tmp
35+
cat > ./ci/tmp/praktika_setup_env.sh << 'ENV_SETUP_SCRIPT_EOF'
36+
export PYTHONPATH=./ci:.:
37+
38+
cat > ./ci/tmp/workflow_status.json << 'EOF'
39+
${{ toJson(needs) }}
40+
EOF
41+
ENV_SETUP_SCRIPT_EOF
42+
43+
- name: Run
44+
id: run
45+
run: |
46+
echo "pipeline_status=undefined" >> $GITHUB_OUTPUT
47+
. ./ci/tmp/praktika_setup_env.sh
48+
set -o pipefail
49+
if command -v ts &> /dev/null; then
50+
python3 -m praktika run 'Config Workflow' --workflow "Hourly" --ci |& ts '[%Y-%m-%d %H:%M:%S]' | tee ./ci/tmp/job.log
51+
else
52+
python3 -m praktika run 'Config Workflow' --workflow "Hourly" --ci |& tee ./ci/tmp/job.log
53+
fi
54+
55+
collect_flaky_tests:
56+
runs-on: [self-hosted, style-checker-aarch64]
57+
needs: [config_workflow]
58+
name: "Collect flaky tests"
59+
outputs:
60+
data: ${{ steps.run.outputs.DATA }}
61+
pipeline_status: ${{ steps.run.outputs.pipeline_status }}
62+
steps:
63+
- name: Checkout code
64+
uses: actions/checkout@v4
65+
with:
66+
ref: ${{ env.CHECKOUT_REF }}
67+
68+
- name: Prepare env script
69+
run: |
70+
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp
71+
mkdir -p ./ci/tmp ./ci/tmp ./ci/tmp
72+
cat > ./ci/tmp/praktika_setup_env.sh << 'ENV_SETUP_SCRIPT_EOF'
73+
export PYTHONPATH=./ci:.:
74+
75+
cat > ./ci/tmp/workflow_status.json << 'EOF'
76+
${{ toJson(needs) }}
77+
EOF
78+
ENV_SETUP_SCRIPT_EOF
79+
80+
- name: Run
81+
id: run
82+
run: |
83+
echo "pipeline_status=undefined" >> $GITHUB_OUTPUT
84+
. ./ci/tmp/praktika_setup_env.sh
85+
set -o pipefail
86+
if command -v ts &> /dev/null; then
87+
python3 -m praktika run 'Collect flaky tests' --workflow "Hourly" --ci |& ts '[%Y-%m-%d %H:%M:%S]' | tee ./ci/tmp/job.log
88+
else
89+
python3 -m praktika run 'Collect flaky tests' --workflow "Hourly" --ci |& tee ./ci/tmp/job.log
90+
fi

0 commit comments

Comments
 (0)