Skip to content

Backport to 2.0: Fixes #32256: Queries tab shows parent table's description provenance - #32424

Merged
chirag-madlani merged 1 commit into
2.0from
backport/32292-2.0
Sep 2, 2026
Merged

chirag-madlani merged 1 commit into
2.0from
backport/32292-2.0

Conversation

@chirag-madlani

Copy link
Copy Markdown
Collaborator

Describe your changes:

Backport of #32292 to the 2.0 release branch.

Fixes #32256

Cherry-picked from main commit 02b1550f4f. Clean apply, no conflicts.

The Description component silently fell back to the page-level GenericProvider change summary whenever changeSummaryEntry was not passed. TableQueryRightPanel renders a Query description 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 rendered entityType matches the context entity's type.

Type of change:

  • Bug fix

High-level design:

N/A — small change (5 lines in Description.tsx + a regression test), cherry-picked as-is.

Tests:

Use cases covered

  • On a table whose description came from an accepted AI suggestion, opening the Queries tab no longer shows the table's "Accepted by … 6 days ago" line under a freshly-created query's description.
  • Rendering <Description> for an entity that matches the surrounding GenericProvider still 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 test should not inherit the page-level change summary when entityType differs from the context entity).

Backend / Ingestion / Playwright

  • Not applicable (UI-only change).

Manual testing performed

  • Verified on main prior 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:

  • I have read the CONTRIBUTING document.
  • My PR title includes Fixes #32256.
  • My PR is linked to a GitHub issue via Fixes #<issue-number> above.
  • I have added a regression test covering the exact scenario we are fixing.

🤖 Generated with Claude Code

…#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)
@chirag-madlani
chirag-madlani requested a review from a team as a code owner September 2, 2026 05:58
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

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 skip-pr-checks label.

@gitar-bot

gitar-bot Bot commented Sep 2, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Backport of #32292 to the 2.0 release branch fixes the Queries tab incorrectly showing the parent table's description provenance. The Description component now scopes its fallback to the page-level change summary only when the rendered entity type matches the context entity type. Includes regression test; clean cherry-pick with no conflicts.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@github-actions github-actions Bot added safe to test Add this label to run secure Github workflows on PRs UI UI specific issues labels Sep 2, 2026
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 67%
67.1% (80533/120006) 51.63% (49401/95677) 52.5% (14724/28043)

@sonarqubecloud

sonarqubecloud Bot commented Sep 2, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

✅ Playwright Results — workflow succeeded

Validated commit 3a7606daf291126628a10e3e4e5c33d78b93e35e in Playwright run 33596880618, attempt 1.

✅ 555 passed · ❌ 0 failed · 🟡 0 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky

Performance

Blocking 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:

  • Browser traffic was 208.07 requests per attempt (convergence target: fewer than 200).
  • Application boot ratio was 2.82 per UI scenario (1626 boots / 576 scenarios; convergence target: at most 1).
Shard Passed Failed Flaky Skipped Lifecycle failed Lifecycle flaky
✅ Shard chromium-01 133 0 0 0 0 0
✅ Shard chromium-02 140 0 0 0 0 0
✅ Shard chromium-03 126 0 0 0 0 0
✅ Shard data-asset-rules-01 63 0 0 0 0 0
✅ Shard domain-isolation-01 16 0 0 0 0 0
✅ Shard global-state-01 34 0 0 0 0 0
✅ Shard ingestion-01 1 0 0 0 0 0
✅ Shard reindex-01 2 0 0 0 0 0
✅ Shard search-01 11 0 0 0 0 0
✅ Shard search-rbac-01 29 0 0 0 0 0

📦 Download artifacts

How to debug locally
# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip    # view trace

@chirag-madlani
chirag-madlani merged commit 2a26b53 into 2.0 Sep 2, 2026
82 of 84 checks passed
@chirag-madlani
chirag-madlani deleted the backport/32292-2.0 branch September 2, 2026 09:17

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants