Skip to content

Commit f1c3591

Browse files
authored
Merge branch 'antalya' into list_objects_cache
2 parents c6e53a1 + 89813fd commit f1c3591

File tree

2 files changed

+11
-33
lines changed

2 files changed

+11
-33
lines changed

.github/actions/create_workflow_report/create_workflow_report.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,17 @@ def get_commit_statuses(sha: str) -> pd.DataFrame:
8585
for item in all_data
8686
]
8787

88-
return (
89-
pd.DataFrame(parsed)
90-
.sort_values(by=["job_status", "job_name"], ascending=[True, True])
91-
.reset_index(drop=True)
92-
)
88+
# Create DataFrame
89+
df = pd.DataFrame(parsed)
90+
91+
# Drop duplicates keeping the first occurrence (newest status for each context)
92+
# GitHub returns statuses in reverse chronological order
93+
df = df.drop_duplicates(subset=["job_name"], keep="first")
94+
95+
# Sort by status and job name
96+
return df.sort_values(
97+
by=["job_status", "job_name"], ascending=[True, True]
98+
).reset_index(drop=True)
9399

94100

95101
def get_pr_info_from_number(pr_number: str) -> dict:

.github/workflows/regression.yml

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -266,13 +266,6 @@ jobs:
266266
with:
267267
name: alter-${{ matrix.ONLY }}-${{ inputs.arch }}-artifacts
268268
path: ${{ env.artifact_paths}}
269-
- name: Update workflow report
270-
if: ${{ !cancelled() }}
271-
uses: Altinity/ClickHouse/.github/actions/create_workflow_report@report_updates
272-
env:
273-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
274-
with:
275-
final: false
276269

277270
Benchmark:
278271
strategy:
@@ -344,13 +337,6 @@ jobs:
344337
with:
345338
name: benchmark-${{ matrix.STORAGE }}-${{ inputs.arch }}-artifacts
346339
path: ${{ env.artifact_paths }}
347-
- name: Update workflow report
348-
if: ${{ !cancelled() }}
349-
uses: Altinity/ClickHouse/.github/actions/create_workflow_report@report_updates
350-
env:
351-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
352-
with:
353-
final: false
354340

355341
ClickHouseKeeperSSL:
356342
needs: [runner_labels_setup]
@@ -673,13 +659,6 @@ jobs:
673659
with:
674660
name: ${{ env.SUITE }}-${{ matrix.STORAGE }}-${{ inputs.arch }}-artifacts
675661
path: ${{ env.artifact_paths}}
676-
- name: Update workflow report
677-
if: ${{ !cancelled() }}
678-
uses: Altinity/ClickHouse/.github/actions/create_workflow_report@report_updates
679-
env:
680-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
681-
with:
682-
final: false
683662

684663
TieredStorage:
685664
strategy:
@@ -750,10 +729,3 @@ jobs:
750729
with:
751730
name: ${{ env.SUITE }}-${{ matrix.STORAGE }}-${{ inputs.arch }}-artifacts
752731
path: ${{ env.artifact_paths}}
753-
- name: Update workflow report
754-
if: ${{ !cancelled() }}
755-
uses: Altinity/ClickHouse/.github/actions/create_workflow_report@report_updates
756-
env:
757-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
758-
with:
759-
final: false

0 commit comments

Comments
 (0)