Superset Dev
ae61f2f507
fix(plugin-chart-country-map): clear remaining CI issues
...
- transformProps: read snake_case via rawFormData (ChartProps.formData
is camelCased), fixing 4 failing jest tests
- CountryMap.tsx: replace literal colors with theme tokens; wrap user
strings with t() for i18n
- build.py: add proper dict[str, Any] type params, drop unused type:ignore,
emit manifest.json with trailing newline for prettier/EOF parity
- test_build.py: top-of-file mypy ignore (unittest test scaffolding)
- pyproject.toml: per-file ruff ignores for the standalone build pipeline
(TID251/S310/S603/S607/E501/C901/PT009 all intentional/inapplicable)
- regen workflow: surface drift via PR comment + step summary instead of
failing — cross-platform mapshaper output reproducibility is still WIP
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-12 23:14:10 -07:00
Evan Rusackas
8a06bbac1e
test(country-map): unit tests for build script transforms (18 cases)
...
Covers the pure-Python helpers and YAML-applied transforms that the
build pipeline relies on. Subprocess calls (mapshaper, NE download)
are not exercised — those are integration concerns covered by the
regen workflow itself.
Test categories:
- _matches (4 tests): scalar equality, AND'd conditions, `in: [...]`
list-membership matcher, missing property
- _bbox_center (2 tests): unit square, offset square
- _translate_and_scale (4 tests): pure translate, scale-around-centroid,
combined transform, multipolygon handling
- _translate_and_scale_with_pivot (1 test): shared pivot preserves
relative positions of grouped features (the Paris-petite-couronne case)
- _drop_parts (2 tests): drops specified indices, polygon unchanged
- _bbox_contains (2 tests): inside-bbox, outside-bbox-west
- apply_name_overrides (1 test): applies only to matching features,
respects match conditions across countries (FRA "Seien" vs GBR "Seien"
don't collide)
- apply_flying_islands (2 tests): repositions matched features,
drop_outside_bbox guarded to Admin 1 only (the bug we fixed earlier)
Wired into the regen workflow as a step that runs BEFORE the build,
so a broken transform fails CI before producing potentially-bad output
files.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-12 17:37:27 -07:00
Evan Rusackas
cd85b2dc99
ci(country-map): regenerate GeoJSON outputs on config changes
...
New workflow `.github/workflows/country-map-build-regen.yml` that:
1. Triggers on PRs touching the build pipeline configs (or manually
via workflow_dispatch).
2. Sets up Python 3.11 + Node 22 + PyYAML.
3. Runs `./scripts/build.sh` from a clean checkout.
4. Detects output drift (uncommitted changes in
`superset/static/assets/country-maps/` or `src/data/manifest.json`).
5. If drift detected on a PR: leaves a comment telling the contributor
to re-run the build locally and commit, then fails CI.
This forces "configs and outputs stay in sync" — a contributor can't
add a name override / region aggregation / composite without also
updating the committed GeoJSON outputs.
Tagged contents permissions only — does not auto-PR (which would
require deeper repo setup); contributors are expected to regenerate
locally and push.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-12 17:35:47 -07:00
Evan Rusackas
658907a0a6
fix(gha): use sound condition gating for latest-tag step ( #40035 )
...
Co-authored-by: Superset Dev <dev@superset.apache.org >
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-12 22:27:26 +07:00
Evan Rusackas
5ab8583cd0
chore(gha): pin github/codeql-action to a SHA ( #40043 )
...
Co-authored-by: Superset Dev <dev@superset.apache.org >
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-11 20:18:55 -07:00
Evan Rusackas
e66fbc91c2
chore(gha): pass commenter login through env in claude.yml ( #40042 )
...
Co-authored-by: Superset Dev <dev@superset.apache.org >
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-11 20:00:27 -07:00
Evan Rusackas
e77f6ece92
fix(ci): serialize Docs Deployment runs to avoid push races ( #40030 )
...
Co-authored-by: Claude Code <noreply@anthropic.com >
2026-05-11 11:25:31 -07:00
dependabot[bot]
d3c44e311e
chore(deps): bump aws-actions/amazon-ecr-login from 2.1.4 to 2.1.5 ( #39931 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-07 21:54:59 +07:00
Beto Dealmeida
cb53745d43
feat: semantic layer extension ( #37815 )
2026-05-05 12:07:46 -04:00
dependabot[bot]
1ac113fd44
chore(deps): bump aws-actions/amazon-ecs-render-task-definition from 1.8.4 to 1.8.5 ( #39809 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-01 06:31:48 -07:00
dependabot[bot]
de45f3a928
chore(deps): bump aws-actions/amazon-ecs-deploy-task-definition from 2.6.1 to 2.6.2 ( #39806 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-01 09:30:49 -04:00
Evan Rusackas
e585406fff
chore(codeowners): notify @sfirke on translation changes ( #39794 )
...
Co-authored-by: Claude Code <noreply@anthropic.com >
2026-04-30 23:07:29 -04:00
Jakub Hrubý
512ba43e76
feat(i18n): add Czech translations ( #36153 )
...
Co-authored-by: Jakub Hrubý <jakub.hruby@orgis.cz >
Co-authored-by: Jezevec <panjzvc@gmail.com >
Co-authored-by: David Kopelent <david.kopelent@saltpay.co >
Co-authored-by: David Kopelent <66686489+davidkopelent@users.noreply.github.com >
2026-04-30 11:14:58 -04:00
EPoikans
bc875aa3e3
feat: Latvian localization ( #38965 )
...
Co-authored-by: Đỗ Trọng Hải <41283691+hainenber@users.noreply.github.com >
2026-04-30 06:19:42 -07:00
Joe Li
7842a9b05d
fix(playwright): remove Google Sheets dependency from dataset tests ( #39143 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-30 06:18:50 -07:00
dependabot[bot]
4c4f3341de
chore(deps): bump dawidd6/action-download-artifact from 20 to 21 ( #39742 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-29 16:01:28 -04:00
Daniel Vaz Gaspar
eba08ae52a
fix(ci): switch Dependabot Python ecosystem from uv to pip ( #39726 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-29 12:30:38 +01:00
Đỗ Trọng Hải
5fe3a1c2cd
fix(dev): revert react-checkbox-tree from 2.1.0 to 1.8.0 in /superset-frontend ( #39660 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
Co-authored-by: Evan Rusackas <evan@rusackas.com >
2026-04-27 14:17:17 -04:00
dependabot[bot]
59bc895f3f
chore(deps): bump aws-actions/amazon-ecr-login from 2.1.3 to 2.1.4 ( #39583 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-23 03:30:52 -04:00
dependabot[bot]
dc9b459b27
chore(deps): bump actions/setup-node from 6.3.0 to 6.4.0 ( #39481 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-20 08:34:02 -07:00
dependabot[bot]
a9487cbc84
chore(deps): bump aws-actions/amazon-ecr-login from 2.1.2 to 2.1.3 ( #39403 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-18 12:51:07 +07:00
dependabot[bot]
ce5b2aa424
chore(deps): bump actions/upload-artifact from 7.0.0 to 7.0.1 ( #39320 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-18 12:49:30 +07:00
Evan Rusackas
690a411cf3
chore(ci): require PMC review for CI-executed scripts ( #39462 )
...
Co-authored-by: Claude Code <noreply@anthropic.com >
2026-04-17 12:55:27 -07:00
dependabot[bot]
f4a6ea0fde
chore(deps): bump actions/github-script from 8.0.0 to 9.0.0 ( #39267 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 14:52:48 -07:00
dependabot[bot]
e542e9f840
chore(deps): bump actions/cache from 5.0.4 to 5.0.5 ( #39368 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 14:52:32 -07:00
dependabot[bot]
5661fc9128
chore(deps): bump anthropics/claude-code-action from 1.0.93 to 1.0.96 + temporarily stop Dependabot PR for claude-code-action due to high release frequency but low usage( #39360 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: hainenber <dotronghai96@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: hainenber <dotronghai96@gmail.com >
2026-04-15 22:26:44 +07:00
dependabot[bot]
6287a07912
chore(deps): bump anthropics/claude-code-action from 1.0.89 to 1.0.93 ( #39318 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-14 23:14:11 +07:00
dependabot[bot]
7e452df1cc
chore(deps): bump anthropics/claude-code-action from 1.0.87 to 1.0.89 ( #39132 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-07 15:14:30 -07:00
dependabot[bot]
e5ae626433
chore(deps): bump dawidd6/action-download-artifact from 19 to 20 ( #39081 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-03 15:06:06 -07:00
dependabot[bot]
8195574345
chore(deps): bump anthropics/claude-code-action from 1.0.85 to 1.0.87 ( #39083 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-03 15:04:43 -07:00
dependabot[bot]
c51132f824
chore(deps): bump aws-actions/amazon-ecr-login from 2.1.1 to 2.1.2 ( #39042 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-03 09:43:40 +07:00
dependabot[bot]
b4cb815ebf
chore(deps): bump anthropics/claude-code-action from 1.0.83 to 1.0.85 ( #39037 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-03 09:43:05 +07:00
dependabot[bot]
26f4a5acad
chore(deps): bump azure/setup-helm from 4.3.1 to 5.0.0 ( #38815 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joe Li <joe@preset.io >
2026-04-02 01:28:56 -04:00
dependabot[bot]
1bb41a6e60
chore(deps): bump anthropics/claude-code-action from 1.0.82 to 1.0.83 ( #39001 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-01 10:20:18 -07:00
dependabot[bot]
424f99efdf
chore(deps): bump anthropics/claude-code-action from 1.0.80 to 1.0.82 ( #38946 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-31 21:38:37 -07:00
dependabot[bot]
e6f1209318
chore(deps): bump aws-actions/amazon-ecr-login from 2.0.2 to 2.1.1 ( #38944 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-31 22:34:58 +07:00
Đỗ Trọng Hải
dbc25dc555
fix(ci): resolve failed CodeCov upload for backend tests ( #38885 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
2026-03-27 18:33:02 -04:00
dependabot[bot]
7f3351011d
chore(deps): bump anthropics/claude-code-action from 1.0.78 to 1.0.80 ( #38901 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 14:52:31 +07:00
dependabot[bot]
20d0cfd156
chore(deps): bump codecov/codecov-action from 5.5.3 to 6.0.0 ( #38903 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 14:44:26 +07:00
dagecko
8700ec4e6d
fix: pin 2 unpinned action(s),extract 21 unsafe expression(s) to env vars ( #38893 )
2026-03-27 14:38:20 +07:00
dependabot[bot]
43816d7528
chore(deps): bump aws-actions/amazon-ecs-deploy-task-definition from 2.6.0 to 2.6.1 ( #38874 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-26 21:59:45 +07:00
Đỗ Trọng Hải
3506773f51
fix(ci): install missing msgcat used for Babel translation update ( #38830 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
2026-03-25 23:40:40 +07:00
dependabot[bot]
d32e975eb9
chore(deps): bump anthropics/claude-code-action from 1.0.76 to 1.0.78 ( #38842 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-25 23:38:08 +07:00
dependabot[bot]
618113079f
chore(deps): bump anthropics/claude-code-action from 0.0.63 to 1.0.76 ( #38797 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-23 21:48:46 +07:00
Đỗ Trọng Hải
83823911b5
feat(sec): harden GHA ref by using its SHA ID to prevent accidental usage of compromised actions ( #38782 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
2026-03-21 21:27:30 +07:00
Đỗ Trọng Hải
7004369c68
fix(sec): remove compromised Trivy actions ( #38780 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
2026-03-21 12:24:24 +07:00
Shaitan
d4646d43a7
docs(security): update vulnerability reporting policy and admin trust boundary ( #38653 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-19 10:57:57 -07:00
Đỗ Trọng Hải
d6bfc98a61
feat(ci): use zstd for faster saving and loading superset-node-ci image ( #38645 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
2026-03-19 22:43:16 +07:00
dependabot[bot]
5457c2da67
chore(deps): bump dawidd6/action-download-artifact from 17 to 19 ( #38735 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-19 22:42:39 +07:00
Đỗ Trọng Hải
ca403dc45d
fix(ci): allow docs testing to run despite absence of db diagnostics data ( #38655 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
2026-03-17 08:01:43 +07:00