Skip to content

Commit 71e5709

Browse files
committed
Merge remote-tracking branch 'origin/master' into ultraset-descriptive-page-headings-section-labels
# Conflicts: # superset-frontend/src/pages/Chart/Chart.test.tsx
2 parents 7440cc4 + 7810ec1 commit 71e5709

485 files changed

Lines changed: 69803 additions & 25601 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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ github:
9292
- test-sqlite
9393
- unit-tests-required
9494
- frontend-tests-required
95-
- asf-allowlist-check
95+
- asf-allowlist-check-required
9696

9797
required_pull_request_reviews:
9898
dismiss_stale_reviews: false

‎.github/ISSUE_TEMPLATE/sip.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ assignees: "apache/superset-committers"
77
---
88

99
*Please make sure you are familiar with the SIP process documented*
10-
[here](https://github.com/apache/superset/issues/5602). The SIP will be numbered by a committer upon acceptance.
10+
[here](https://github.com/apache/superset/issues/5602). The SIP will be numbered automatically shortly after it is opened.
1111

1212
## [SIP] Proposal for ...<title>
1313

‎.github/dependabot.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ updates:
1717
- "actions/*"
1818
cooldown:
1919
default-days: 7
20+
rebase-strategy: disabled
2021

2122
- package-ecosystem: "npm"
2223
ignore:
@@ -146,6 +147,7 @@ updates:
146147
versioning-strategy: increase
147148
cooldown:
148149
default-days: 7
150+
rebase-strategy: disabled
149151

150152
- package-ecosystem: "pip"
151153
ignore:
@@ -171,6 +173,7 @@ updates:
171173
patterns: ["*"]
172174
cooldown:
173175
default-days: 7
176+
rebase-strategy: disabled
174177

175178
- package-ecosystem: "npm"
176179
directory: ".github/actions"
@@ -184,6 +187,7 @@ updates:
184187
versioning-strategy: increase
185188
cooldown:
186189
default-days: 7
190+
rebase-strategy: disabled
187191

188192
# Pinned Claude Code CLI used by backfill-translations.yml.
189193
- package-ecosystem: "npm"
@@ -197,6 +201,7 @@ updates:
197201
versioning-strategy: increase
198202
cooldown:
199203
default-days: 7
204+
rebase-strategy: disabled
200205

201206
- package-ecosystem: "npm"
202207
directory: "/superset-websocket/utils/client-ws-app/"
@@ -213,3 +218,4 @@ updates:
213218
versioning-strategy: increase
214219
cooldown:
215220
default-days: 7
221+
rebase-strategy: disabled

‎.github/sip-steward/comments.md‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!--
2+
Stock comments the SIP steward workflow posts as github-actions.
3+
Each section starts with a <!-- STAGE name --> marker; everything until the next
4+
marker is the comment, posted verbatim after placeholders are filled in.
5+
Placeholders: {number} {title} {issue_url} {discuss_url} {vote_url} {result_url} {board_url}
6+
A link whose URL placeholder is unknown is posted as plain text (brackets and URL dropped).
7+
-->
8+
9+
<!-- STAGE numbered -->
10+
Thanks for the proposal! This has been numbered **SIP-{number}**, and will be added to the [SIP project board]({board_url}) shortly.
11+
12+
The next step is a `[DISCUSS] SIP-{number}: {title}` thread on the `dev@superset.apache.org` mailing list, linking back to this issue. If you're not subscribed yet, send an email to `dev-subscribe@superset.apache.org` first, or the list won't accept your post. The full process is in [SIP-0](https://github.com/apache/superset/issues/5602).
13+
14+
<!-- STAGE in-discussion -->
15+
A [DISCUSS thread]({discuss_url}) for this SIP is open on the `dev@` mailing list, so it's been labeled `sip:in-discussion` and should be moved to the appropriate column on the [Project board]({board_url}). Please keep the conversation going, and update this issue if the proposal changes along the way.
16+
17+
Once the discussion settles, a committer can call a `[VOTE]` on the list. Per [SIP-0](https://github.com/apache/superset/issues/5602), it takes 3 binding +1 votes from committers, and no vetoes.
18+
19+
<!-- STAGE voting -->
20+
A [VOTE thread]({vote_url}) for this SIP is open on the `dev@` mailing list, so it's been labeled `sip:voting` and should be moved to the appropriate column on the [Project board]({board_url}). Once the voting period closes, whoever called the vote should send a `[RESULT][VOTE]` email to the list with the tally.
21+
22+
<!-- STAGE approved -->
23+
The [VOTE thread]({vote_url}) for this SIP has [passed]({result_url}), and since the SIP is approved, the Issue has served its purpose, and will be closed. Congratulations, and please move this item forward on the [Project board]({board_url}) as implementation proceeds. Thank you!

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name: ASF Allowlist Check
88
on:
99
workflow_dispatch:
1010
pull_request:
11-
# No `paths` filter: `asf-allowlist-check` is a required status check, so it
11+
# No `paths` filter: `asf-allowlist-check-required` is a required status check, so it
1212
# must report on every PR or PRs that do not touch .github/ stay BLOCKED.
1313
types: [opened, synchronize, reopened, ready_for_review]
1414
push:

‎.github/workflows/bump-python-package.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
python-version: "3.11"
4949

5050
- name: Install uv
51-
uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
51+
uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
5252
with:
5353
python-version: "3.11"
5454
enable-cache: true

‎.github/workflows/check-python-deps.yml‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ jobs:
2222
check-python-deps:
2323
runs-on: ubuntu-26.04
2424
steps:
25-
- uses: Kesin11/actions-timeline@460b1f8a750077029ad3589824d371b200e91dcf # v3.2.1
26-
with:
27-
expand-composite-actions: true
28-
2925
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
3026
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3127
with:

‎.github/workflows/codeql-analysis.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383

8484
# Initializes the CodeQL tools for scanning.
8585
- name: Initialize CodeQL
86-
uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
86+
uses: github/codeql-action/init@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4
8787
with:
8888
languages: ${{ matrix.language }}
8989
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -94,6 +94,6 @@ jobs:
9494
# queries: security-extended,security-and-quality
9595

9696
- name: Perform CodeQL Analysis
97-
uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
97+
uses: github/codeql-action/analyze@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4
9898
with:
9999
category: "/language:${{matrix.language}}"

‎.github/workflows/dependency-review.yml‎

Lines changed: 17 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
77
name: "Dependency Review"
88
on:
9-
push:
10-
branches:
11-
- "master"
12-
- "[0-9].[0-9]*"
139
pull_request:
1410
types: [synchronize, opened, reopened, ready_for_review]
1511

@@ -24,47 +20,30 @@ permissions:
2420

2521
jobs:
2622
dependency-review:
27-
if: github.event_name == 'pull_request'
2823
runs-on: ubuntu-slim
2924
steps:
3025
- name: "Checkout Repository"
3126
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3227
with:
3328
persist-credentials: false
29+
3430
- name: "Dependency Review"
35-
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
31+
uses: actions/dependency-review-action@bbc44d14a204704ccc493733616cd1e93a0321ec # v5.0.1
3632
with:
3733
fail-on-severity: critical
3834
# compatible/incompatible licenses addressed here: https://www.apache.org/legal/resolved.html
3935
# find SPDX identifiers here: https://spdx.org/licenses/
4036
deny-licenses: MS-LPL, BUSL-1.1, QPL-1.0, Sleepycat, SSPL-1.0, CPOL-1.02, AGPL-3.0, GPL-1.0+, BSD-4-Clause-UC, NPL-1.0, NPL-1.1, JSON
41-
# pkg:npm/store2@2.14.2
42-
# adding an exception for an ambigious license on store2, which has been resolved in
43-
# the latest version. It's MIT: https://github.com/nbubna/store/blob/master/LICENSE-MIT
44-
# pkg:npm/node-forge@1.3.1
45-
# selecting BSD-3-Clause licensing terms for node-forge to ensure compatibility with Apache
37+
# pkg:npm/rgbcolor: exempted due to MIT license usage
38+
# pkg:npm/jszip@3.10.1: exempted due to MIT license usage
4639
allow-dependencies-licenses: pkg:npm/rgbcolor, pkg:npm/jszip@3.10.1
4740

48-
python-dependency-liccheck:
49-
# NOTE: Configuration for liccheck lives in our pyproject.yml.
50-
# You cannot use a liccheck.ini file in this workflow.
51-
runs-on: ubuntu-slim
52-
steps:
53-
- uses: Kesin11/actions-timeline@460b1f8a750077029ad3589824d371b200e91dcf # v3.2.1
54-
with:
55-
expand-composite-actions: true
56-
57-
- name: "Checkout Repository"
58-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
59-
with:
60-
persist-credentials: false
61-
6241
- name: Setup Python
6342
uses: $/.github/actions/setup-backend/
6443
with:
6544
requirements-type: base
6645

67-
- name: "Set up liccheck"
46+
- name: Check license of Python dependencies
6847
run: |
6948
# liccheck (as of 0.9.2) still does a bare `import pkg_resources`
7049
# without declaring setuptools as a dependency, relying on it
@@ -88,9 +67,19 @@ jobs:
8867
python -m zipfile -e /tmp/old-setuptools/setuptools-*.whl /tmp/old-setuptools-extracted/
8968
cp -r /tmp/old-setuptools-extracted/pkg_resources "$(python -c 'import site; print(site.getsitepackages()[0])')/"
9069
uv pip install --system liccheck
91-
- name: "Run liccheck"
92-
run: |
9370
# run the checks
9471
liccheck -R output.txt
9572
# Print the report
9673
cat output.txt
74+
75+
- name: Setup Java
76+
uses: actions/setup-java@d1374f8ac74474200d16ef8ecee22c7ae7a51880 # v6.3.0
77+
with:
78+
distribution: "temurin"
79+
java-version: "8"
80+
81+
- name: Check Apache license header's presence
82+
run: |
83+
# Drop files the Python steps wrote (liccheck report, egg-info) so RAT scans only the checkout
84+
git clean -fdx --quiet
85+
./scripts/check_license_header.sh

‎.github/workflows/docker.yml‎

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,18 +136,28 @@ jobs:
136136
# Any other failure is returned as-is, and the assertions below run
137137
# on the command a successful invocation printed, so they are never
138138
# retried.
139+
# Each call is bounded: on a drained API quota supersetbot sleeps
140+
# until the reset (its warning buffered in "$err") instead of
141+
# failing, which would otherwise hang silently to the job timeout.
139142
supersetbot_dry_run() {
140-
local attempt out err
143+
local attempt out err rc call_timeout=60
141144
out="$(mktemp)"
142145
err="$(mktemp)"
143146
for attempt in 1 2 3; do
144-
if supersetbot docker "$@" --dry-run >"$out" 2>"$err"; then
147+
rc=0
148+
timeout "$call_timeout" supersetbot docker "$@" --dry-run >"$out" 2>"$err" || rc=$?
149+
if [ "$rc" -eq 0 ]; then
145150
cat "$err" >&2
146151
cat "$out"
147152
rm -f "$out" "$err"
148153
return 0
149154
fi
150155
cat "$err" >&2
156+
if [ "$rc" -eq 124 ]; then
157+
echo "::error::supersetbot did not finish within ${call_timeout}s; it is most likely waiting out a GitHub API rate limit (see its 'retrying in N seconds' output above)" >&2
158+
rm -f "$out" "$err"
159+
return 1
160+
fi
151161
if [ "$attempt" -eq 3 ] ||
152162
! grep -q 'RequestError \[HttpError\]' "$err" ||
153163
! grep -Eq '^[[:space:]]*status: 5[0-9]{2},' "$err"; then
@@ -200,12 +210,12 @@ jobs:
200210
docker_command_for_platform() {
201211
local preset="$1" extra_flags="$2" platform="$3"
202212
shift 3
203-
DOCKERHUB_TOKEN= supersetbot docker \
213+
# Through supersetbot_dry_run so these calls get its 5xx retry.
214+
DOCKERHUB_TOKEN= supersetbot_dry_run \
204215
--preset "$preset" \
205216
--platform "$platform" \
206217
"$@" \
207-
--extra-flags "$extra_flags" \
208-
--dry-run
218+
--extra-flags "$extra_flags"
209219
}
210220
# One master publish job per platform (docker.yml's docker-build and
211221
# docker-build-arm64) asks the plan for its own platform.
@@ -971,7 +981,7 @@ jobs:
971981
contains(fromJson('["superset", "lean"]'), matrix.build_preset) &&
972982
steps.grype-scan.outputs.sarif != ''
973983
continue-on-error: true
974-
uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
984+
uses: github/codeql-action/upload-sarif@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4
975985
with:
976986
sarif_file: ${{ steps.grype-scan.outputs.sarif }}
977987
# Both `superset` and `lean` are scanned now; without a distinct

0 commit comments

Comments
 (0)