Repository navigation
Backport to 2.0: Fixes #32256: Queries tab shows parent table's description provenance - #32424
Conversation
…#32292) The Description component fell back to the page-level GenericProvider change summary whenever changeSummaryEntry was not passed. When TableQueryRightPanel renders a Query's description inside a Table page, the Query's "authored/accepted by" line silently inherited the parent table's provenance ("Accepted by admin • 6 days ago"). Only use the context change summary when the rendered entity type matches the context entity's type. Adds a regression test. Co-authored-by: Auto-revert Test <[email protected]> Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]> (cherry picked from commit 02b1550)
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ ApprovedBackport of #32292 to the 2.0 release branch fixes the Queries tab incorrectly showing the parent table's description provenance. The OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|
✅ Playwright Results — workflow succeededValidated commit ✅ 555 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 53m 10s ⏱️ Max setup 3m 12s · max shard execution 17m 42s · max shard-job elapsed before upload 20m 51s · reporting 4s 🌐 208.07 requests/attempt · 2.82 app boots/UI scenario · 8.66% common-shard skew Optimization targets still in progress:
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |



Describe your changes:
Backport of #32292 to the
2.0release branch.Fixes #32256
Cherry-picked from
maincommit02b1550f4f. Clean apply, no conflicts.The
Descriptioncomponent silently fell back to the page-levelGenericProviderchange summary wheneverchangeSummaryEntrywas not passed.TableQueryRightPanelrenders aQuerydescription on a Table page without that prop, so any query showed the table's provenance ("Accepted by admin • 6 days ago"). This scopes the fallback to only apply when the renderedentityTypematches the context entity'stype.Type of change:
High-level design:
N/A — small change (5 lines in
Description.tsx+ a regression test), cherry-picked as-is.Tests:
Use cases covered
<Description>for an entity that matches the surroundingGenericProviderstill shows the page-level change summary as before.Unit tests
Description.test.tsx— 26/26 pass on the 2.0 branch (includes the new regression testshould not inherit the page-level change summary when entityType differs from the context entity).Backend / Ingestion / Playwright
Manual testing performed
mainprior to backport; cherry-pick is a clean apply.UI screen recording / screenshots:
Not applicable — the fix removes an incorrect metadata line under an existing panel.
Checklist:
Fixes #32256.Fixes #<issue-number>above.🤖 Generated with Claude Code