Repository navigation
Conversation
Contributor
sadpandajoe
self-requested a review
October 27, 2026 17:17
Member
|
@shchun code looks good but you have a failing CI. Can you take a look? Your branch may just need a rebase/merge master. |
shchun
force-pushed
the
test/chart-list-tag-filtering
branch
from
October 28, 2026 03:04
613edbc to
8cba05e
Compare
Author
|
Rebased onto the latest master. All 52 related tests and pre-commit checks pass locally. The workflows appear to be awaiting approval. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #45695 +/- ##
===========================================
+ Coverage 65.27% 84.61% +19.34%
===========================================
Files 3069 3069
Lines 205483 205417 -66
Branches 48295 48284 -11
===========================================
+ Hits 134128 173823 +39695
+ Misses 68269 28300 -39969
- Partials 3086 3294 +208
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
sadpandajoe
approved these changes
Oct 28, 2026
sadpandajoe
left a comment
Member
There was a problem hiding this comment.
LGTM thanks for getting CI green
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY
The previous tests removed system tags, such as
type:chart, before rendering TagsList. As a result, they could still pass if the actual ChartList filtering regressed and started displaying system tags. This change passes unfiltered tag data through ChartList and checks the rendered result so that the tests can catch that regression.The new cases cover numeric custom tags, legacy custom tags, tags without a type, system-only tags, empty or missing tags, and truncation after filtering. TagsList retains unit coverage for sorting and truncation. Application code is unchanged.
AI assistance: I used Codex to help implement, review, and validate the tests, and to translate my explanation into English.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Not applicable: tests only; no UI changes.
TESTING INSTRUCTIONS
From
superset-frontend, run:npm run test -- --runInBand src/pages/ChartList/ChartList.listview.test.tsx src/components/TagsList/TagsList.test.tsxtags.filter(...)withtagscaused four of the six new cases to fail. The production source was restored, and both suites passed again.ADDITIONAL INFORMATION
TAGGING_SYSTEM, enabled in the test mocks.