Skip to content

Commit afa6685

Browse files
committed
Merge remote-tracking branch 'upstream/main' into rahul/rest-retry-timeout
# Conflicts: # tests/catalog/test_rest.py
2 parents 36053c7 + 4e6033d commit afa6685

131 files changed

Lines changed: 12505 additions & 3482 deletions

File tree

Some content is hidden

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

.asf.yaml

Lines changed: 41 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,52 @@ github:
3131
enabled_merge_buttons:
3232
merge: false
3333
squash: true
34+
squash_commit_message: PR_TITLE_AND_COMMIT_DETAILS
3435
rebase: true
3536
protected_branches:
3637
main:
3738
required_status_checks:
38-
# strict means "Require branches to be up to date before merging".
39-
strict: true
39+
contexts:
40+
# Repository policy and security checks.
41+
- Analyze Actions
42+
- Run zizmor 🌈
43+
- asf-allowlist-check
44+
- rat
45+
46+
# Documentation checks.
47+
- docs
48+
- markdown-link-check
49+
50+
# Python workflow gates.
51+
- python-ci-required
52+
- python-integration-required
4053

4154
required_pull_request_reviews:
4255
required_approving_review_count: 1
4356

4457
required_linear_history: true
58+
rulesets:
59+
- name: Merge Queue
60+
target: branch
61+
enforcement: active
62+
conditions:
63+
ref_name:
64+
include:
65+
- "~DEFAULT_BRANCH"
66+
exclude: []
67+
rules:
68+
- type: merge_queue
69+
parameters:
70+
check_response_timeout_minutes: 90
71+
grouping_strategy: ALLGREEN
72+
max_entries_to_build: 1
73+
max_entries_to_merge: 1
74+
merge_method: SQUASH
75+
min_entries_to_merge: 1
76+
min_entries_to_merge_wait_minutes: 0
4577
pull_requests:
78+
# allow pull requests to merge automatically once all requirements are met
79+
allow_auto_merge: true
4680
# auto-delete head branches after being merged
4781
del_branch_on_merge: true
4882
features:
@@ -52,8 +86,13 @@ github:
5286
collaborators: # Note: the number of collaborators is limited to 10
5387
- ajantha-bhat
5488
- ndrluis
89+
- rambleraptor
5590
ghp_branch: gh-pages
5691
ghp_path: /
92+
copilot_code_review:
93+
enabled: true
94+
review_drafts: false
95+
review_on_push: false
5796

5897
notifications:
5998
commits: commits@iceberg.apache.org

.github/ISSUE_TEMPLATE/iceberg_bug_report.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ body:
2828
description: What Apache Iceberg version are you using?
2929
multiple: false
3030
options:
31-
- "0.11.0 (latest release)"
31+
- "0.12.0 (latest release)"
32+
- "0.11.1"
33+
- "0.11.0"
3234
- "0.10.0"
3335
- "0.9.1"
3436
- "0.9.0"

.github/copilot-instructions.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Instructions
2+
3+
## Code review
4+
5+
You are a pragmatic senior developer. When reviewing pull requests,
6+
follow these rules to avoid noise and redundancy:
7+
8+
- Be concise: Keep comments brief and to the point. Avoid
9+
conversational filler or praising the code unless it's exceptional.
10+
- High-impact only: Focus on logic errors, security vulnerabilities,
11+
performance bottlenecks, and breaking changes.
12+
- Skip the Obvious: Do not describe what the code is doing. Assume the
13+
reader understands the code.
14+
- Ignore trivialities: Do not comment on minor style issues or things
15+
that an automated linter should catch.
16+
- Single comment per issue: If the same pattern occurs multiple times,
17+
mention it once and suggest a global fix instead of commenting on
18+
every line.
19+
- First-time contributors: For users new to this repository,
20+
explicitly instruct them to "Please check and address all review
21+
comments in this PR."

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,10 @@ updates:
3434
interval: "weekly"
3535
cooldown:
3636
default-days: 7
37+
groups:
38+
# The codeql-action init/autobuild/analyze steps must all run the
39+
# same version - split PRs cause a version mismatch that fails the
40+
# Analyze jobs. Group them so a single PR bumps all of them together.
41+
codeql-action:
42+
patterns:
43+
- "github/codeql-action*"

.github/workflows/asf-allowlist-check.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,10 @@ name: "ASF Allowlist Check"
2525

2626
on:
2727
pull_request:
28-
paths:
29-
- ".github/**"
28+
merge_group:
3029
push:
3130
branches:
3231
- main
33-
paths:
34-
- ".github/**"
3532

3633
permissions:
3734
contents: read
@@ -40,7 +37,7 @@ jobs:
4037
asf-allowlist-check:
4138
runs-on: ubuntu-24.04
4239
steps:
43-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
40+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4441
with:
4542
persist-credentials: false
46-
- uses: apache/infrastructure-actions/allowlist-check@4e9c961f587f72b170874b6f5cd4ac15f7f26eb8 # main
43+
- uses: apache/infrastructure-actions/allowlist-check@61dcea11f19e2bbe1263f14d72235e8da17d3ad0 # allowlist-check/v1.0.0

.github/workflows/check-md-link.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ on:
2727
branches:
2828
- 'main'
2929
pull_request:
30-
paths:
31-
- '.github/workflows/check-md-link.yml'
32-
- 'mkdocs/**'
30+
merge_group:
3331
workflow_dispatch:
3432

3533
permissions:
@@ -39,7 +37,7 @@ jobs:
3937
markdown-link-check:
4038
runs-on: ubuntu-latest
4139
steps:
42-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
40+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4341
with:
4442
persist-credentials: false
45-
- uses: tcort/github-action-markdown-link-check@e7c7a18363c842693fadde5d41a3bd3573a7a225 # v1.1.2
43+
- uses: tcort/github-action-markdown-link-check@e047c5b37f24ab722bbef1a27b6fab7f96bc4068 # v1.1.3

.github/workflows/codeql.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ on:
2424
branches: [ "main" ]
2525
pull_request:
2626
branches: [ "main" ]
27+
merge_group:
2728
schedule:
2829
- cron: '16 4 * * 1'
2930

@@ -41,16 +42,16 @@ jobs:
4142

4243
steps:
4344
- name: Checkout repository
44-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
45+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4546
with:
4647
persist-credentials: false
4748

4849
- name: Initialize CodeQL
49-
uses: github/codeql-action/init@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4.35.4
50+
uses: github/codeql-action/init@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8
5051
with:
5152
languages: actions
5253

5354
- name: Perform CodeQL Analysis
54-
uses: github/codeql-action/analyze@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4.35.4
55+
uses: github/codeql-action/analyze@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4.37.8
5556
with:
5657
category: "/language:actions"

.github/workflows/license_check.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
#
1919

2020
name: "Run License Check"
21-
on: pull_request
21+
on:
22+
pull_request:
23+
merge_group:
2224

2325
permissions:
2426
contents: read
@@ -27,7 +29,7 @@ jobs:
2729
rat:
2830
runs-on: ubuntu-latest
2931
steps:
30-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
32+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3133
with:
3234
persist-credentials: false
3335
- run: dev/check-license

.github/workflows/nightly-pypi-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ jobs:
3434
outputs:
3535
VERSION: ${{ steps.set-version.outputs.VERSION }}
3636
steps:
37-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
37+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3838
with:
3939
fetch-depth: 1
4040
persist-credentials: false
4141

42-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
42+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
4343
with:
4444
python-version: 3.12
4545

4646
- name: Install UV
47-
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
47+
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
4848

4949
- name: Set version
5050
id: set-version
@@ -88,7 +88,7 @@ jobs:
8888
- name: Publish to TestPyPI
8989
id: publish-testpypi
9090
continue-on-error: true
91-
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
91+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
9292
with:
9393
repository-url: https://test.pypi.org/legacy/
9494
skip-existing: true

.github/workflows/pypi-build-artifacts.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ jobs:
3939
os: [ ubuntu-latest, ubuntu-24.04-arm, windows-latest, macos-15-intel, macos-latest ]
4040

4141
steps:
42-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
42+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4343
with:
4444
fetch-depth: 1
4545
persist-credentials: false
4646

47-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
47+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
4848
with:
4949
python-version: |
5050
3.10
@@ -54,7 +54,7 @@ jobs:
5454
3.14
5555
5656
- name: Install UV
57-
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
57+
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
5858

5959
- name: Set version with RC
6060
shell: bash
@@ -69,7 +69,7 @@ jobs:
6969
if: matrix.os == 'ubuntu-latest'
7070

7171
- name: Build wheels
72-
uses: pypa/cibuildwheel@8d2b08b68458a16aeb24b64e68a09ab1c8e82084 # v3.4.1
72+
uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
7373
with:
7474
output-dir: wheelhouse
7575
config-file: "pyproject.toml"
@@ -89,7 +89,7 @@ jobs:
8989
if: matrix.os == 'ubuntu-latest'
9090
run: ls -lah dist/* && cp dist/* wheelhouse/
9191

92-
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
92+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
9393
with:
9494
name: "pypi-release-candidate-${{ matrix.os }}"
9595
path: ./wheelhouse/*
@@ -100,7 +100,7 @@ jobs:
100100
- pypi-build-artifacts
101101
steps:
102102
- name: Merge Artifacts
103-
uses: actions/upload-artifact/merge@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
103+
uses: actions/upload-artifact/merge@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
104104
with:
105105
name: "pypi-release-candidate-${{ inputs.VERSION }}"
106106
pattern: pypi-release-candidate*

0 commit comments

Comments
 (0)