Repository navigation
Fixes #37301: de-alias gcs:// to gs:// in external table container lineage lookup - #37317
Merged
ulixius9 merged 3 commits intoNov 13, 2026
Conversation
Contributor
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
1 similar comment
Contributor
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
|
ayush-shah
approved these changes
Nov 9, 2026
ayush-shah
left a comment
Member
There was a problem hiding this comment.
LGTM. Reviewed the diff; CI green.
ayush-shah
enabled auto-merge (squash)
November 9, 2026 13:17
ayush-shah
disabled auto-merge
November 13, 2026 10:35
ayush-shah
force-pushed
the
detail/bug-fix/fixes-37301-de-alias-gcs-to-gs-in-external-table-c-3a4a62
branch
from
November 13, 2026 10:35
f5b9e35 to
62fbcfc
Compare
ulixius9
approved these changes
Nov 13, 2026
ulixius9
deleted the
detail/bug-fix/fixes-37301-de-alias-gcs-to-gs-in-external-table-c-3a4a62
branch
November 13, 2026 17:32
shrabantipaul-collate
added a commit
that referenced
this pull request
Nov 19, 2026
* fix: support drive services in AutoPilot (#37770)
* Fixes 37735: Agent logs follow the selected run (#37745)
* Fix agent logs to follow the selected run
* Show the agents Add button to service-level ingestion editors
* Share the agent Add gate between the agents tab and the metadata agents widget
* ui: address final review of agent run logs and Add-agent gate
Describe the picked run in the logs modal, force pinned runs non-live in
useIngestionLogSource, use derived permission flags in canAddAgent, record the
Add-agent gate decision, and add tests for the pinned-run guard and the
run-scoped logs URL.
* ui: keep the agents Add gate on ingestionPipeline Create
Drop the service-level Add gate (canAddAgent and its decision record) from
this branch; the Add button stays gated on the global ingestionPipeline
Create permission as on main. The per-run logs fix is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* ui: pin agent logs only to runs with a server run id
A run whose status carries no runId gets a timestamp as its id, which the
UUID-typed run-scoped logs endpoint rejects. Carry the server runId on
AgentRun and fall back to the latest logs when it is absent. Also sort
imports in MetadataAgentsView.test.tsx for ui-checkstyle.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* ci: regenerate the Playwright impact map
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* test(playwright): align ontology specs with the Studio design-review changes (#37784)
#37710 and #37774 changed Ontology Studio behaviour the specs still assumed:
- Over-limit All ontologies: new copy and an ontology picker in the message.
- Switching Graph/Tree/Ontology closes the concept drawer; reopen via URL.
- Linked assets: '+4 more' is now an in-place 'Show all (7)' / 'Show less'.
- Data mode mounts on first open, so a concept closed in Model is picked there.
- Data remembers its pick per ontology, so pickConcept accepts an existing chip.
* Fixes #37301: de-alias gcs:// to gs:// in external table container lineage lookup (#37317)
* fix(ingestion): de-alias gcs:// to gs:// in external table container lineage lookup
* fix(ingestion): preserve aliased container path lookups
* ingestion: clarify container lookup candidate order in docstrings
---------
Co-authored-by: detail-app[bot] <180357370+detail-app[bot]@users.noreply.github.com>
Co-authored-by: Ayush Shah <ayush02shah12@gmail.com>
* Fixes #37738: Archiving an ontology withdraws its open review (with Studio refresh and warning), and an empty import says it is empty (#37739)
* Ontology: archiving an ontology withdraws its open review; an empty import says it is empty
Archiving (soft-deleting) an ontology kept its in-review release and left the
review task Open: reviewers still saw it, and approving it failed with
"ontology instance ... not found". OntologyRepository now withdraws the open
review when an ontology is archived, the way Withdraw does: it closes the
review task (Cancelled, "Closed because the ontology was archived"), which
returns the release to Draft and records the withdrawal event. This runs in
deleteChildren for soft deletes only, before the ontology is marked deleted,
so the existing cancellation path reads a live ontology, and inside the delete
transaction. ADR:2026-10-14-ontology-releases-seal-canonical-sql-members
already says soft deletion cancels the pending review; two ITs encoded the
old behaviour and now assert the documented one. After a restore the release
is a Draft and a new review can be requested.
Importing an empty RDF or CSV file reported "must contain at most 10 MiB of
data". SafeRdfModelParser.requireContent now refuses blank content with
"... is empty" and oversized content with the existing message, for RDF, the
bundled packs and CSV. It bounds the UTF-8 size by the string length (one to
three bytes per UTF-16 unit) and only encodes a copy when the bounds cannot
decide, instead of allocating up to 10 MiB on every import.
* Ontology: withdraw the review only once the archive goes ahead; refresh and warn in the Studio
- A non-recursive delete of an ontology that still holds concepts is refused
in EntityRepository.deleteChildren. The review was withdrawn before that
check, so a refused delete still cancelled it (review feedback). The
withdrawal now runs after the children check and cascade, while the
ontology row is still live. New IT: a refused archive leaves the review
Open and the release In Review.
- Studio: deleting an ontology also invalidates the review queries
(ONTOLOGY_REVIEW_QUEUES_QUERY_KEY), so the Tasks badge, banners and list
drop the withdrawn review at once instead of on the next refetch.
- Studio: the delete dialog warns "Its open review will be withdrawn" when
the ontology's latest release is in review (every locale translated).
* Ontology Studio: disable Tasks trigger with a tooltip when there are no tasks (#37782)
* Ontology Studio: disable the Tasks trigger with a tooltip when there are no tasks
* Ontology Studio: keep Tasks focus on close and settle totals in the created-only test
* Ontology Studio: keep the concept selected when Connect is pressed in Edit (#37792)
* test(playwright): align Ontology Studio permission specs with the disabled Tasks trigger (#37797)
* test(playwright): align Ontology Studio permission specs with the disabled Tasks trigger
* chore(playwright): regenerate impact map
* Ontology Studio: single hovers, searchable column picker, quieter validation (#37798)
* Ontology Studio: drop stacked hovers, searchable column picker, quieter rule validation and delete dialog dividers
- Delete concept dialog uses dividers="scroll" like other modals
- Rule editor hides the empty 'Validation Failed' banner when every error is shown under its field
- Column binding: one server-searched ComboBox with load-more replaces the separate search box, Select and Prev/Next
- Relationship rows, data-graph asset cards and saved-query rows show a single hover
* Regenerate Playwright impact map
* Keep the suggested column while searching; record the row-hover exception
- Fix the suggestion from the unfiltered column list so a search that
excludes it no longer resets the typed text
- Amend ADR:2026-10-30-data-mode-asset-rows-are-styled-at-the-call-site-until-core-ships-a-list-row-button
for rows whose container paints the hover
* test(mcp): stub the query and user lookups memory answers make (#37801)
* test(mcp): stub the query and user lookups memory answers make
* cover get entity test
* Fix Ontology Studio QA findings across editing, binding, import and publishing (#37805)
* Fix Ontology Studio QA findings across editing, binding, import and publishing
- Relationship panel: closing, node and edge clicks go through the discard prompt
- Column binding: each property is suggested for its best column only; the id
fallback applies only to key-like identifiers
- Export and Library no longer force the page into View mode
- Publish count, Draft badge and review dialog share one rule before the first release
- Import: lands in Draft, no Retry for rejected files, clearer error, no missing i18n key
- Published view counts 0 before the first release; health never reads 100% with isolated terms
- New concept: errors shown once, on the field the user typed in
- Rule editor: domain-filtered properties, negative and zero-identifier counts rejected
- Recent changes reads subclass axioms as hierarchy; Library labels hierarchy links
- Escape closes Studio drawers; data picker and relationship picker no longer clipped
- Publish dialog, export label, reviewer hint, tree paging, bind-to-column and dialog
title polish
* Ontology Studio: count Recent changes like Publish, keep rule count errors readable, name label clashes, sentence-case Inverse name
* docs(adr): record that the ontology counts itself as a change before its first release
* Ontology Studio: tie the rule Count error to its field with aria-describedby
* Ontology Studio: sentence-case the All ontologies picker placeholder
* Ontology Studio: suggest every matching column and tick the best; align property selects; apply UI checkstyle
* Fixes 37790: Reload Regular expression and Contains rules from a saved query filter (#37791)
* fix(ui): reload Regular expression rules from a saved query filter
* fix(ui): reload Regular expression and Contains-phrase rules from a saved query filter
* test(ui): cover Not Contains reload for wildcard rules
* fix(ui): keep non-string regexp and match_phrase clauses flagged as unrepresentable
* fix(ui): read regexp and wildcard clauses only in the shape the query builder writes
* fix(ui): read wildcard clauses only in the shape the query builder writes
* fix(ui): read shorthand wildcards and flag nested groups with unread clauses
* test(ui): cover a nested group of query-builder text rules as representable
* refactor(ui): simplify query-builder reload readers and drop redundant test rows
* refactor(ui): test query-builder text rules as a round trip and reuse shared readers
* refactor(ui): drop a no-op scope filter and keep query-builder test rows independent
* fix(automations): limit query runner workflow reads to their requester (#37734)
* fix(automations): limit query runner workflow reads to their requester
A QUERY_RUNNER workflow stores the SQL a user ran, yet every user could
list and read every user's runs through /v1/automations/workflows. The
listing now leaves out other users' runs in SQL, and the id, name and
version reads return 403, unless the caller is an admin or a bot.
* fix(automations): leave other users' query runs out of workflow history
The history listing redacted each snapshot through the read check, so a
time range holding another user's query run refused the whole page. Drop
those snapshots in retainReadableHistory instead.
* refactor(automations): name the query runner requester filter and admin check
Replace the repeated filter parameter and the QUERY_RUNNER literal with a
constant and the enum value, and give the admin-or-bot read check its own
name instead of borrowing the connection secrets guard.
* fix(automations): refuse writes to another user's query runner workflow
PATCH, PUT, DELETE and restore returned the workflow they changed with its
query, and a PATCH or PUT could rewrite request.userId to read it later.
Check the stored workflow before the write, as reads do.
* fix(automations): let the requester delete their own query runner workflow
SQL Studio deletes a run as its requester once results are read or the query
is stopped. A non-admin holds no Delete on workflows, so their runs were never
removed. The requester may now delete their own run by id or name; anyone
else still needs Delete.
* Ontology Studio: design-review round 3 (publish, releases, tasks, data mode) (#37811)
* Ontology Studio: design-review round 3 (publish, releases, tasks, data mode)
Review & publish
- Right rail: validation as check rows, v-prefixed version cards, reviewer list with status, approval hint
- Releases list: whole-row click, status/bump chips, author and date on one line, approver with decision, row menu
- Release details page: notes, rejection feedback, validation line, events timeline, changes, compare-with
- Withdrawn read from release events; Superseded from the active release
- Hide the change pager while loading; drop the stray release card under Changes
Tasks
- The Studio Tasks modal reuses the Inbox task row and task detail panel; tab switch selects its first task
Ontology tabs
- View mode shows the Overview/Concepts/Properties/Constraints/Settings tabs read-only
- Whole overview stat cards open their tab; Relationships opens Constraints
- Conflicts shown as a banner (Show / Resolve / dismiss) instead of a chip
- Shared empty placeholders in the definition tables; Add buttons primary on every tab
- Settings save keeps the tab open and shows a toast
- Constraint type help is plain text
Graph and data mode
- Remove the connect-node banner
- Column panel uses the asset panel layout; long column types truncate
- Asset picker hides already linked assets; row typography per redline
- Data-mode concept search opens above the canvas toolbar
Core
- Accordion draws its outline inside its box so a scrolling dialog does not clip it
* Ontology Studio: show the conflict explanation on a white card
* Ontology Studio: brand hover edge on overview stat cards (core Card stat variant)
* Ontology Studio: Add buttons in View mode switch to Edit and open the create form
* Ontology Studio: keep the surface when switching View and Edit; conflict detail rows on white
* Ontology Studio: View mode opens concepts and constraints read-only in place
Opening a concept or constraint from the Ontology tab in View mode no
longer switches to Edit or jumps to the Graph. Concepts render without
Save, Add mapping or Delete; constraints show a read-only summary, and
Show on graph goes to View's Graph with the concept selected.
* Ontology Studio: published view shows read-only tabs; release changes no longer open field diffs
Published > Ontology now shows Overview, Concepts, Properties, Constraints
and Settings read from the release snapshot, with no Add, Validate, conflict
banner or Save. Change rows in a release are plain text; the per-field
before/after panel is removed.
* Ontology Studio: published view counts and conflicts come from the release
- The Overview and Constraints tab no longer show the draft's cached
validation ("1 in conflict") on a published release.
- The header's concept and relation counts follow the tabs' model instead of
the last graph shown.
- An empty list without an Add drops the "Add the first..." copy.
- Release history rows stay plain text, but a reviewer's task keeps opening a
change's fields, so approvals can still inspect the captured content.
* Ontology Studio: address review - release row semantics, stale create intent
- A release row is no longer a role="button" container around the row menu.
The version is a real button whose ::after covers the row, and the menu is
a sibling control above it.
- View's Add records the create intent only when the switch to Edit is
accepted, and drops it whenever the workspace is back in View, so a refused
switch cannot open the create form later.
* Ontology Studio: QA fixes for long names, publish notices and the published view (#37813)
* Ontology Studio: QA fixes for long names, publish notices and the published view
- Publish notices put the title, the explanation and View request in their own
slots, and a long ontology name wraps inside the notice.
- The review-decision pill keeps one line; a long rejection reason shows on hover.
- No unpublished changes uses the shared NoDataPlaceholder.
- Long ontology names: the Ontology heading stops at two lines, drawer headers
and the Query status line stay one line with an ellipsis tooltip.
- The Changes list lists a class's own properties and rules in their cards, so
each card counts what the summary counts and a disjointness rule is visible.
- The published Concepts tab shows each concept's parent and drops Last edited,
which a release does not record.
- The ontology ID and IRI prefix fold accents (Umlauts, not mlauts); the
decision record is revised.
- Autocomplete tells the caller its search is empty after a pick, so a
search-backed picker no longer reopens on 'No data found'.
- The publish modal takes focus back when a failed action unmounts the focused
button, so Escape still closes it.
- A review task names the release by version; release history names a voter
by display name.
* Ontology Studio: review banner sits above the canvas, not over it
Floating over the graph it covered the top nodes and the Model/Data switch. An
unversioned release in the banner reads Draft instead of its internal name.
* Ontology Studio: visible focus on the publish modal; fix UI checkstyle
- The publish modal's focus target keeps a focus-visible outline instead of
removing it, so keyboard users see where focus lands after a failed action.
- The undo in the new-concept panel deletes in order on purpose; the iteration
lint rule is disabled on that line with the reason.
- Sorted an import as organize-imports expects.
* Fixes 7374: Query Rule Library rules against physical tables (#37083)
* ingestion: bind IOMETE observability to the target catalog
* test: ensure IOMETE adapters load without the optional driver
* ingestion: reuse runner table references for Rule Library SQL
* ingestion: verify SQL rule recovery and align runner typing
* ingestion: preserve existing runner input annotations
* style: trim IOMETE package initializer whitespace
* ingestion: preserve table-specific BigQuery and IOMETE context
* ingestion: defer Rule Library table rendering until validation
* ingestion: bind BigQuery queries to the table project
* test: preserve BigQuery target context for sharded sampling
* ingestion: preserve BigQuery client connection defaults
* ingestion: isolate inherited BigQuery connection properties
* ingestion: move table context helpers to shared utilities
* Ontology Studio: classic header and sub-bar, Load more in Review & publish, drawer fixes (#37814)
* Ontology Studio: card header with description in classic mode
Classic mode now renders the same card header as AI mode: title, Beta
badge and description, with the scope menu and actions on the right and
the View/Edit/Query segmented control below. AI mode keeps its gradient
card and underline tabs. The workspace takes the same inset card frame in
both modes so its edges line up with the header.
* Ontology Studio: classic sub-bar as a card of underline tabs with Tasks
Classic mode renders Graph/Tree/Ontology with the core underline card
tabs, puts the stats and Tasks on the card's right edge instead of in
the header, and gives the canvas its own card below. AI mode keeps its
framed sub-bar with button tabs.
* Ontology Studio: load Review & publish changes 30 at a time
Each change card in the Review & publish dialog showed every row of the
page at once, so a large draft like FIBO rendered 1000 concepts in one
list. Each card now shows 30 rows with a 'showing N of M' count and a
Load more button that reveals the next 30.
* Ontology Studio: design feedback on the concept drawer and graph picker
- Picking a concept on a graph too large to draw only loads and centres
its neighbourhood; the drawer opens when a node is clicked.
- The property type tag sits on the property name's line instead of the
middle of its bindings.
- Add rule stays disabled until the live validation passes for the
current values, as in the Constraints editor.
- The Unlink asset prompt keeps its description in the header and a
tighter footer, so the short confirm reads as one block.
* Ontology Studio: centre a picked concept over an open selection; keep sub-bar stats in flow
- Picking a concept on a too-large graph clears an open selection, so
the camera centres the pick instead of staying on the old concept.
- The classic sub-bar lays the stats and Tasks beside the tabs in a
card instead of over them, so a narrow bar cannot cover the tabs.
* Record the Review & publish change cards' 30-row reveal
Adds ADR:2026-11-14-review-and-publish-change-cards-reveal-thirty-rows-at-a-time
and cites it from CHANGE_ROWS_PAGE_SIZE.
* Ontology Studio: shared reviewer picker, shared Releases empty state, card-radio hover border
- Review & publish picks reviewers with the shared UserTeamSelectableList
(Users and Teams tabs, one team or many users) instead of its own
search box. The caller and capture author are still dropped from a
pick, and the picker is closed while a save is in flight.
- The Releases tab uses NoDataPlaceholder when there are no releases and
NoFilteredResultsPlaceholder when the filter or search matches nothing.
- Core: add the missing --outline-color-hover token. The card RadioButton
hover class tw:after:outline-hover generated no CSS, and tailwind-merge
dropped outline-primary for it, so a hovered card's border fell back to
the near-black text colour.
- Fix the Load more count's Typography colour (tertiary is not a valid
value).
* Ontology Studio: align the data concept picker; Rules empty state like Properties
- The Data-mode concept picker keeps one 16px inset for the search, the
rows, Link data to and the key hints, and its rows are compact
(text-sm, py-2).
- Rules shows the same empty box as Properties: 'No rules yet.' with the
hint as its description (new message.ontology-rules-empty-hint in all
locales; the combined ontology-no-rules-yet-hint is removed).
* Ontology Studio: export dialog spacing and empty change filters
- The All-ontologies export/import picker gets a Cancel footer, so the
dialog has its standard bottom spacing below the ontology select.
- The export dialog's scrolling body keeps a little bottom padding so the
Advanced section's border is not clipped.
- A Review & publish filter or search that matches nothing (Changed 0,
Removed 0) shows the shared NoFilteredResultsPlaceholder instead of
blank space.
* Ontology Studio: keep configured reviewers on a pick; tertiary remove; checkstyle
- A reviewer pick only drops the caller and the capture author from new
picks; reviewers already configured stay (they were silently removed).
- The reviewer row remove action is tertiary again, per
ADR:2026-10-14-icon-only-actions-are-tertiary-button-utility-with-one-edit-icon.
- Wrap the CHANGE_ROWS_PAGE_SIZE comment under the 120-column max-len.
* Ontology Studio: fix ontology Playwright failures from the header and design-review changes
UI fixes:
- Import into a new ontology lands on it: onApplied's URL write no longer
overwrites the ontology param with the stale one.
- Escape that closes a combobox's suggestions no longer reaches the Studio
drawer and opens the discard prompt.
- The conflicts card no longer overlaps the health panel (and its Resolve
button) on the shorter classic canvas.
Specs updated to the current UI: publish counts, sub-bar height, Settings
staying open after save, published Overview fields, task panel
(Inbox TaskDetailPanel), shared reviewer picker, version/validation copy,
dialog footer buttons. Visual baselines refreshed for the ontology new form
and Review & publish dialogs.
* Ontology Studio: sort ontologyReviewers imports for UI checkstyle
* Ontology Studio: real property names, Library unsaved-changes guard, and Playwright fixes after #37814 (#37816)
* Ontology Studio: label properties by their name; reject spaces in new property names
- getPropertyLabel shows displayName, else the property's real name. It
used to humanize the name (patientId -> "patient id"), so two distinct
properties could read the same in the drawer, the rule property picker
and new rule sentences.
- The property form marks a name with whitespace invalid, shows the
existing no-spaces help, keeps Add property disabled, and trims the
name it sends.
* Fix Playwright failures from the post-#37814 main run
Ontology:
- NativeStudio: the graph fills its inset card frame (not the shell edge);
close the New concept drawer before the scope menu it covers.
- StudioFlows, ReviewTasks: fill the comment TextArea's inner textbox.
- AuthoringSafety: restore the unsaved-changes guard on the Library
button that #37805 dropped with its View-mode switch.
- Review: the per-kind release summary is classic-only since round 3.
- NativeAuthoring: pick the class type with chooseSelectOption.
- NativeDataMode: wait for a new table to be indexed before searching it.
- openReleaseHistory: retry the reader-chip / Publish pick and click
together, since permissions can swap them.
- Specs expecting humanized property labels now read the real names.
Other:
- ProfileSsoSettings: search the role before picking, so the awaited
search request is actually sent.
- Refresh visual baselines that drifted with intended UI changes
(connector forms, entity tabs, glossary, explore, ontology releases).
* Visual fixture: give the Finance ontology the publicationStatus the API always returns
Without it the release panel reads the publication as stale and shows
'The submitted version could not be loaded' under 'No releases yet',
which the ontology releases baselines then recorded as if it were the
real empty state.
* Ontology Studio: say what failed to load instead of 'the submitted version'
'The submitted version could not be loaded' was reused for failures that
have nothing to do with a submitted version, so an ontology with no
releases could show 'No releases yet' next to it. Each place now names
what it was reading with the existing 'Error while fetching {{entity}}':
publication status (state and stage reads), changes (working diff and
compare), release (detail), releases (history), release events and tasks.
The review panels that do load the submitted version keep the message.
Adds label.release and label.publication-status in every locale.
* Ontology Studio: one error state instead of an empty state beside a load error
When the publication status cannot be read and the view has nothing to
list (no releases, or no unpublished changes), the panel showed the empty
state and an error banner with Retry together. It now shows a single
'Error while fetching Publication status' state with Reload.
Also sorts the polling import for organize-imports and regenerates the
Playwright impact map, which the impact-map drift check reported stale.
* Ontology Studio: one error per failure, Retry on the alert's right
- An opened release that cannot be read is reported once (with Retry),
not again as the publication status; the reviewers card no longer
repeats an unreadable status.
- Every Review & publish / Releases / Tasks load-error alert puts Retry
in the Alert's rightContent slot instead of inline after the text.
- The Tasks queue error gains Retry, and the detail pane no longer offers
'Select a task' when the queue failed to load.
* Fix the remaining Playwright failures; Reload refreshes every publication read
- Gitar: the publication-status error state's Reload calls refresh(),
which re-reads every publication query and clears a sticky failure, so
one click suffices.
- OntologyRules: wait for the property form to close before moving on;
its preview now names the property too, so the text check passed early
and the next click hit the open form's discard prompt.
- OntologyNativeStudio: switching to Edit keeps the Tree surface; pick
Graph before asserting the canvas.
- OntologyAuthoringSafety: after Discard, View still shows Settings
read-only, so assert the edit was dropped instead of the form vanishing.
- Visual: ontology graph, tree and Review & publish baselines re-recorded
now that the fixture carries publicationStatus (the old ones showed the
broken 'Publish (Unavailable)' state); explore-long-results-dark goes
back to main's, since its breadcrumb truncation varies between runs.
* Ontology Studio: full error state wherever a load failure has room
Changes list, release detail, Releases list, Compare, release events, the
Tasks queue, the Studio graph and the definition lists now show the shared
SomethingWentWrongPlaceholder ('Error while fetching X' with Reload)
instead of a thin banner. Compact spots (the footer status line, the
state banner above a loaded list, dialogs and pickers) keep the alert.
* Fixes #35969: encode reserved characters in dbt DataModel column names (#35973)
DataModel is sent standalone via PUT /tables/{id}/dataModel but was not in
TRANSFORMABLE_ENTITIES, so it fell back to DECODE (its name does not start
with "Create") and column names like `a>b` were sent as-is. Since #30211 the
server rejects them against the columnName pattern.
Register DataModel as ENCODE, and walk Table.dataModel when transforming a
Table so a fetched Table still decodes its nested data model columns.
Co-authored-by: ccurve1870 <hammerous@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com>
Co-authored-by: Mohit Tilala <63147650+mohittilala@users.noreply.github.com>
* Ontology Studio: design feedback round — releases, tasks, bindings and graph (#37821)
* Ontology Studio: design feedback round — releases, tasks, bindings and graph
- Releases: change rows regular weight, group headers semibold; rows are
plain text (the off-screen field comparison is removed).
- Tasks drawer: a task opened from outside the queue gets its own row;
an approved release no longer reads "Draft".
- Conflicts: Remove works in View mode; the clash sentence uses primary text.
- Constraint drawer: View mode shows the disabled form, like properties
and concepts.
- Query: Draft/Published moves to the bottom bar; more menu after Run
query; saved text beside the query badge.
- Concept drawer: remove a property (detach, or delete when only this
concept declares it); Search around shows ten at a time.
- Bindings: column picker is a multi-select spanning the row; Bind
columns opens inline under its asset row.
- Graph: a focused neighbourhood draws only the links it followed, not
every link between outer concepts.
* Refresh the Playwright impact map after removing OntologyReviewFieldChanges
* Address review: record the focused-graph and Search around decisions; one pending group for an opened task
- Add ADR:2026-11-15-studio-focused-graph-draws-only-the-links-its-walk-followed,
superseding ADR:2026-11-02-studio-graph-draws-a-neighbourhood-above-500-concepts.
- Amend ADR:2026-11-13-concept-drawer-reveals-relationships-ten-at-a-time (v2)
to cover the Search around picker's STEP_PAGE_SIZE.
- Tasks drawer: an open task opened from outside the queue joins the Pending
approval group (count + 1) instead of a second group with the same name.
* Ontology Studio: align Playwright specs with the #37821 design round (#37822)
* Ontology Studio: align Playwright specs with the #37821 design round
- Column binding is a multi-select: assert the suggested column chip instead of
the old combobox value.
- Review rows are plain text: assert the row and read the frozen member
through the release members API instead of opening the removed field diff.
- Drop the lane 7 field-diff test; the view it covered was removed.
- Refresh the ontology-query visual baselines for the new console header.
* Refresh the Playwright impact map for the ontology spec changes
* Fixes #36024: exclude soft-deleted tags/terms from bundle warmer enrichment joins (#36039)
* fix(tags): exclude soft-deleted tags/terms from bundle warmer enrichment joins
* fix(tags): distinguish soft-deleted from orphaned tag_usage rows in mapper
Instead of filtering deleted entities out of the LEFT JOIN (which made
soft-deleted tags/terms indistinguishable from genuinely orphaned rows),
select the entity's deleted flag and handle it in the mapper. Soft-deleted
entities now return unenriched labels without triggering the orphan warning,
while truly missing entities still log the warning for diagnosis.
* fix(tags): use getInt for entityDeleted to handle MySQL TINYINT(1) casting
MySQL stores BOOLEAN columns as TINYINT(1), so ResultSet.getObject returns an
Integer, not a Boolean. Replace the Boolean cast with getInt to work correctly
on both MySQL and Postgres.
* fix(tags): handle both Integer and Boolean for entityDeleted column
PostgreSQL stores BOOLEAN as t/f and throws PSQLException on getInt;
MySQL stores it as TINYINT(1) and returns Integer on getObject. Use
getObject with instanceof checks to handle both dialects.
---------
Co-authored-by: detail-app[bot] <180357370+detail-app[bot]@users.noreply.github.com>
* Move the Ontology Studio UI to Collate (#37823)
* Move the Ontology Studio UI to Collate
Ontology Studio becomes a Collate-only feature. This removes its page, the
components, hooks and utilities only it reaches, their Jest tests and its
Playwright specs (including every @ontology-rdf spec) from OpenMetadata, with
its route, sidebar item, AI-mode nav entry and tour step.
OpenMetadata keeps the ontology APIs and every piece another OSS surface
imports: the Glossary relations graph (OntologyExplorer), the task review
panel, ExportGraphPanel, the common/task/comment components, ontologyAPI,
i18n keys and the Playwright helpers the Glossary specs share. The read-only
Ontology Explorer returns to /governance/ontology in a follow-up.
ADR:2026-11-15-ontology-studio-ui-ships-only-in-collate
* Supersede the OSS Studio route record and mark the Studio records' moved guards
The 2026-10-19 record said OSS serves a read-only graph at /governance/ontology;
the Studio-only move supersedes it for OpenMetadata. The Studio records whose
guards moved to Collate get an amendment saying so. Also lowers the positional
locator baseline by the one this PR removed.
* Add expectInboxActivity to the Playwright Inbox helpers (#37834)
The Activity tab loads the 200 newest events of every user and renders 40 at a
time. On a busy shard an asserted entry can sit below the first batch and never
reach the DOM unless the list is scrolled. expectInboxActivity opens the tab
through visitInbox and scrolls its sentinel until the entry renders. Collate's
Ontology Studio specs are the first callers.
* Bring back the read-only Ontology Explorer for OpenMetadata (#37829)
With Ontology Studio moved to Collate, OpenMetadata had no page at
/governance/ontology. This restores the Ontology Explorer there: the existing
OntologyExplorer graph at global scope, read-only, with a header and stats,
under Govern in the classic sidebar and the AI-mode Govern module.
ADR:2026-11-15-ontology-studio-ui-ships-only-in-collate (v2)
* Remove the Linked concepts section from the table page (#37828)
* Remove the Linked concepts section from the table page
The section listed every bound concept and each column's full FQN as a pill
above the tabs, which crowds the entity page. Removing it for now, with its
API client, test and i18n key; concept bindings stay visible in Ontology
Studio's data mode.
* Record the Collate-first merge order for removing UI a Collate spec asserts
* Load React Flow styles in the pipeline task DAG and theme its nodes (#37831)
* fix(pipeline): theme the task DAG nodes with core tokens
The task DAG drew status dots from LESS palette variables and left the
node surface and text unset, so nodes did not follow the theme. Use the
Collate styling: surface and text tokens on the node, visualization
tokens for the status dot, and a Tailwind class for the 24px zoom
controls. Drops both LESS files.
* fix(pipeline): load React Flow styles in the task DAG and drop its default node frame
TasksDAGView never imported reactflow/dist/style.css, so the DAG only
laid out correctly after the Lineage tab had loaded it. Import it, reset
React Flow's default node wrapper (TaskNode draws its own card), and hide
the attribution as Lineage does.
* fix(pipeline): keep React Flow's default zoom-control size
Drops the descendant-selector + !important override on the controls; the
React Flow default size needs no caller-side styling.
* Show users with a hover card where they render as plain text (#37773)
* Show users with a hover card where they render as plain text
Announcements (feed card, settings table), Context Center documents and
persona version history now render the user through UserPopOverCard, so
they get the shared hover card and the display name it resolves. The
owner feed chip and the read-only memory banner fall back to the login
when an owner has no display name instead of rendering blank or the raw
login. Clicking the user in a document row no longer opens the preview.
* Let UserPopOverCard resolve display names for owners and feedback authors
CreateMemoryModal, KnowledgeCard and FeedbackApprovalTask passed
getEntityName(ref) as displayName. getEntityName falls back to the login,
so the prop always won and UserPopOverCard never looked up the display
name for a reference without one. Pass the reference's own displayName
instead. FeedbackApprovalTask also no longer renders a '-' user (and a
lookup for it) when createdBy has no name.
Also shortens an over-long eslint-disable comment in DocumentsView.test.
* Remove the empty Ontology RDF Playwright project (#37836)
* Remove the empty Ontology RDF Playwright project
The @ontology-rdf specs and ontology-rdf.setup.ts moved to Collate with
Ontology Studio (#37823). Nothing in OpenMetadata is tagged @ontology-rdf and
the Knowledge Graph project never depended on ontology-rdf-setup, so both
projects matched no tests. Drops them from playwright.config.ts, the rdf lane's
--project list and path filter, the shard planner and coverage checker, and
their tests; fixes the Knowledge Graph comments that named the setup.
* Drop the stale Ontology*Rdf delegation and fix the ontology impact-map sources
* test: register tasks in ontology fixtures (#37837)
* Fix flaky Playwright tests: settings Back history, cross-worker toasts, query and search collisions (#37838)
- Run useSettingsHashSync in the eager AppShell instead of the lazy
PersonalSpaceModal. A Settings click that landed before the modal chunk
loaded was not counted, so Close replaced the entry instead of going back
and left settings entries behind the page for browser Back.
- PasswordFieldClear: click Next/Save via clickIgnoringToasts; async-delete
toasts from parallel workers (same admin user) covered the form footer.
- BulkImport: wait only for its own toast instead of a bare alert-bar.
- TableQueriesTabPermissions: regenerate the query text in beforeAll; a
rerun reused it and the checksum-named query 409'd.
- AdvancedSearch: ignore column policyTags (parent table tags, not searched)
in substring checks so another test's table tags cannot leak in.
* Remove Ontology Studio visual scenes from OSS and refresh Governance-sidebar baselines (#37843)
* Remove Ontology Studio visual scenes from OSS and refresh Governance-sidebar baselines
Ontology Studio moved to Collate in #37823, so /governance/ontology no longer
renders in OSS and its 11 visual scenes fail with element-not-found. Drop them
and their 22 baselines. The same change removed the Ontology Studio sidebar
entry, shifting every Governance-sidebar capture; refresh those 7 baselines
from the CI actuals of run 43793180722 (attempt and retry were pixel-stable).
* Keep the read-only Ontology Explorer page scene
#37829 restored the read-only Ontology Explorer at /governance/ontology and a
Governance sidebar entry, so page-ontology still applies in OSS. Revert the
sidebar baselines captured at a7214e7; they are regenerated against main.
* Let connector tiles grow to fit long names on the add-service page (#37844)
Tiles on /connections/add-service/all had a fixed 100px height, so a
long name such as "Salesforce Data 360 Pipeline" wrapped to two lines
beside the Beta badge and overflowed the card. Use a minimum height
instead (the grid stretches tiles in a row to equal height), centre the
wrapped name, and keep the badge from shrinking.
* fix(unitycatalog): ingest NOT NULL, partitions, foreign keys and table types; honour includeTables/includeViews (#37826)
* fix(unitycatalog): ingest NOT NULL, partitions, FKs and table types
- NOT NULL columns had no constraint: ColumnInfo.nullable was never
read.
- partition_index was never read; record partition columns as
COLUMN_VALUE and keep the DeltaLake/Iceberg type.
- A foreign key to a table not written yet was dropped with no log.
Hold it and patch it once every table is written.
- Metric views were Regular with no definition and failed the
profiler. Type them View, with CREATE VIEW ... WITH METRICS.
- Streaming and foreign tables were Regular; type them Stream and
Foreign from securable_kind.
- includeTables and includeViews were ignored.
* fix(unitycatalog): keep Delta type over Stream/Foreign, isolate FK retries
- A Delta or Iceberg format still wins over Stream and Foreign, so a
Delta table federated from a Hive metastore stays DeltaLake.
- A federated view (TABLE_FOREIGN_*_VIEW) is a View.
- A failed referred-table lookup fails only its own table's foreign
keys, not every deferred key in the run.
- Record the table-type rule in a decision record.
* docs(unitycatalog): record the deferred foreign-key rule
* fix(unitycatalog): patch held foreign keys without renumbering columns
The sink's patch renumbers columns from 1, so the end-of-run foreign
key PATCH shifted the 0-based positions Unity Catalog reports on every
table it touched. Send the constraints-only PATCH from the source.
* fix(unitycatalog): guard held FK patches and partitions on skipped columns
- Normalize held foreign keys against the stored columns, as inline
keys already are.
- Leave a column get_columns skipped out of tablePartition; the server
rejects a partition on a missing column.
- Make the FK test fake return tableConstraints only when asked, so
dropping fields=["tableConstraints"] fails the tests.
- Record that includeViews/includeTables now apply on upgrade.
* Fixes #37777: MicroStrategy skips documents, parses cube SQL once and routes lineage by project (#37778)
* MicroStrategy: skip documents, parse cube SQL once, dedupe columns
- Tell Report Services documents, templates and themes from dossiers by
viewMedia (the rule MicroStrategy's mstrio-py SDK uses) and skip them
before reading a definition the dossier API cannot serve.
- Parse each cube's SQL once per cube and dialect instead of once per
dbServicePrefixes entry and dossier; skip a prefix whose database does
not match the table's qualifier.
- Give repeated data model column names a suffix, and drop a repeated object.
- Say when a dataset is a report rather than a cube.
* MicroStrategy: suffix repeated column names in id order
A dataset can list its objects in another order on a later run; suffixes
given in listing order would then move a column name to another object.
* Fixes #37764: MCP follows REST for X-Impersonate-User and reports held writes (#37802)
* fix(mcp): follow rest impersonation and report held writes
* team grant tests
* rest impersonation in team grants
* fix adr detection note
* fix(unitycatalog): probe a managed catalog in Test Connection (#37824)
- With no catalog configured, the steps probed the first listed catalog,
even a foreign one, and its JDBC error was diagnosed as an unreachable
SQL warehouse. Prefer a MANAGED_CATALOG; match FAILED_JDBC first.
- GetTags ran its SQL on catalog `None` after GetDatabases failed. It now
uses the resolved-catalog guard the other steps use.
* fix(domain): tasks follow the pick except on an asset, and more fixes from the domain filter retest (#37825)
* Domain filter: task lists follow the pick, except on an asset
Home "My Tasks", the inbox and the bell listed tasks from every domain under a
pick, while a user's Tasks tab hid them, and an asset's Tasks tab counted its
tasks but listed none when the asset was outside the pick.
The withDomainFilter interceptor now scopes task requests like any other list,
and leaves a request about given assets (aboutEntity, aboutEntityIds, dataset)
unscoped, so an opened asset shows all its tasks and its count matches its list.
Callers no longer add the domain to task requests themselves. Decision record
updated (v3).
* Domain filter: metrics hierarchy no longer fails when the picked domain has no metrics
GET /v1/metrics/hierarchy under a pick whose domain holds no metrics returned
400 ("argument is null or empty") from a batch lookup given an empty id list.
* Domain filter: Data Quality search lists include sub-domains of the picked domain
Test cases, test suites and incident searches filtered by a domain matched it
exactly, so under a parent pick the items of its sub-domains were missing. The
domain filter now matches the domain and its sub-domains, as the navbar pick does.
* Domain filter: incident lists include sub-domains of the picked domain
The Incident Manager lists and groups matched only the named domain, so under a
parent pick incidents on test cases in its sub-domains were missing.
* Domain filter: task lists include sub-domains of the picked domain
A task list filtered by a domain matched only that domain, so under a parent pick
the tasks of its sub-domains were hidden from Home and the inbox.
* Domain filter: a glossary's term count follows the pick like its term list
Under a pick the Terms tab listed only the terms in the picked domain but its
badge counted every term of the glossary.
* Domain filter: re-picking the active domain keeps it
* Domain filter: picker search finds domains outside the active domain
* Domain filter: long domain names truncate with a tooltip in the navbar
* Domain filter: hide the chip's clear for a user locked to one domain
* Domain filter: switching domain reopens a list at its first page
* Domain filter: show the permission placeholder on a 403 instead of not-found or a redirect
A domain-only user opening another domain's data product, service or table got
"No Data Product found", an empty page, or a redirect to /403 (blank in Classic).
Render the in-place permission placeholder these pages already use for missing
view access.
* Domain filter: scope search aggregates to the picked domain
/search/aggregate only got an ignored domain= param on GET and nothing on POST,
so under a pick the Explore Domains facet still offered other domains and the
Home "By connector" breakdown counted the whole catalog. Add the same domain
clause /search/query gets, to the GET q filter and the POST body query.
* Domain filter: show domain colour and icon in the Data Products list
The Domains column drew a plain globe and name, so a styled domain lost its
colour and icon there. Render it with DomainTags, which resolves the style by
domain id like every other domain chip.
* Domain filter: clear the Add Assets selection when the drawer closes
The drawer stays mounted when closed, so selecting an asset, closing and
reopening still showed "1 selected". Reset the selection and the failure and
dry-run state when it closes.
* Domain filter: show the other-domain alert on Context Center articles
An article from another domain opened with no "belongs to another domain"
banner, unlike data asset pages. Render DomainMismatchAlert with the article's
domains, which the page already fetches.
* Domain filter: lineage filter options ignore the domain pick
Search aggregates now follow the navbar pick, but the lineage graph shows
every domain's nodes, so its filter dropdowns must offer their values too.
Lineage quick filters send the skip-domain-filter header.
* Domain filter: record sub-domain filters and aggregate scoping (ADR v4)
* Revert "Domain filter: lineage filter options ignore the domain pick"
This reverts commit 000253d78dc4fd918884bf1b3a408fc3057fea87.
* Revert "Domain filter: clear the Add Assets selection when the drawer closes"
This reverts commit 296786222494f09f745e63cb5b32d34a43d9f8cf.
* Revert "Domain filter: scope search aggregates to the picked domain"
This reverts commit c67366abfdfc1875376322ec422e36ea5c0d7b74.
* Revert "Domain filter: long domain names truncate with a tooltip in the navbar"
This reverts commit 0ef9a6a20ebf60017269645f74ca1b55a1e0ade2.
* Domain filter: ADR v4 records only the sub-domain rule
* Domain filter: classifications and tags follow the pick, system-provided ones always stay
Under a navbar pick the classification and tag lists show the picked domain's
items and items with no domain, as the other mostly global lists do. System-
provided ones (Tier, PII, Certification) stay listed even when given a domain,
so assets can always be tiered and classified. Tag pickers search the tag index
and are unchanged.
* Domain filter: an asset's Activity tab is not narrowed by the pick
An opened asset shows all its tasks under any pick; its activity now follows
the same rule, so a Beta table opened under an Alpha pick shows its history.
The activity feed is still scoped. Viewing an asset's activity still needs
permission to view the asset, so a domain-only user sees none for other domains.
* Domain filter: a domain-only user's task list about an asset keeps the role's full scope
For types the navbar pick never narrows (e.g. a task list about an asset), the
domain-only role now limits the list to the user's domains without also
narrowing it to the pick, so an asset's Tasks tab count and list agree.
* Domain filter: a classification's tag count follows the pick like its tag list
The tag list follows the navbar pick, but the count on the Tags page (single and
batch path) counted every tag, so a tag in another domain was counted but not
listed. Under a pick each count now uses the list's filter; with no pick the
bulk count is unchanged.
* Domain filter: ADR v5 records asset activity, domain-only scope and tag counts
* Domain filter: a domain-only user's task lists match their pick again
The requested domain now comes as bare ids (the domain and its sub-domains) while
the domain-only role's scope is quoted, so the two never intersected and the
user's task lists came back empty under a pick. Both sides are compared without
quotes.
* Domain filter: resolve the tag pick filter once per classification list
Under a pick each classification's tag count reused a fresh navbar filter, so
the picked domain's sub-domains were looked up once per row. The batch now
resolves it once and every count shares it.
* Domain filter: drop the pick from every request about one asset
The asset Activity tab list (and several asset count helpers) passed the pick
explicitly, so only the count call ignored it and the tab showed a count over an
empty list. The interceptor now removes a domain from any request about one
asset (its tasks, its data access requests, its activity), whoever set it.
* Domain filter: the service permission message names the requested service
A 403 keeps the previously viewed service's details, so the placeholder named
that service. It now names the service the URL asks for.
* Domain filter: ADR v5 records the in-place permission message on a 403
* Fixes 37626: Data 360 connection and filter reliability (#37627)
* fix(ingestion): Data 360 connection and filter reliability
- Log in to Salesforce inside the CheckAccess step, so a bad secret or
domain fails Test Connection with the Salesforce error instead of never
returning, and run the source's connection test before building the client.
- Apply the schema filter to the three Data 360 schemas, and honour
useFqnForFiltering on the database filter.
- Require salesforceDomain: client credentials only work on the org's My
Domain, so the `login` default could never authenticate.
- Align the documented OAuth scopes with the test-connection message.
* Keep the Salesforce login error on ingestion, record the required domain
Building the client after the connection test replaced the Salesforce
error with a bare "Failed to run the test connection step: CheckAccess",
so the source builds it first again. Add the decision record for the
required salesforceDomain and the test that guards it.
* Pin the client login ahead of the Data 360 connection test
* Fixes #36120: Match Vertica view names case-insensitively in the view definition lookup (#36275)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-authored-by: Akash Verma <138790903+akashverma0786@users.noreply.github.com>
* fix(mcp): reject unsupported protocol versions (#37849)
* fix(mcp): reject unsupported protocol versions
* bump ingestion protocol
* Fixes 37683: Harden MCP registration and add admin client revocation (#37684)
* fix(mcp): add registration policy and admin client revocation
* test(mcp): cover policy changes and harden loopback classification
* fix(mcp): enforce callback policy on errors and trust proxy suffixes
* Add MCP administration UI and enforce the server enable switch
* Keep MCP pagination bounded to the current page and exercise later pages
* Wait for MCP inventory before browser pagination
* Exercise forwarded header suffixes in the MCP rate-limit regression
* Move MCP client administration to an adjacent tab
* feat(mcp): show active grants and revoke tokens without removing clients
* docs(mcp): explain token counts and token-only revocation
* fix(mcp): limit grant locks to database work and handle removed clients
* fix(mcp): align availability with main and clarify client administration
* fix(ci): refresh generated MCP artifacts and register ontology tasks
* fix(alerts): encrypt webhook secrets with the server Fernet key, as every other secret (#37817)
* Encrypt webhook secrets with the server Fernet key and drop the per-owner key
* Encrypt values sent as stored as they are and run each webhook step once in one transaction
* Keep testing a header no key decrypts and correct the record
* Store the client id encrypted in the re-entry IT
* Assert each listed alert gets its own health
* Fixes #36440: Report the RDF graph as not ready after the server ran with RDF off (#37703)
* Fixes #36440: Rebuild the RDF graph after the server ran with RDF off
With RDF off nothing reaches the graph and nothing is recorded, so after
RDF is turned on (again, or for the first time on an existing install)
the projection reported READY from an old or empty run and the agent
SPARQL path served stale or missing data.
- RdfIndexApp flags a run that finds RDF off as projectionUnchanged, so
it no longer counts as a build of the graph.
- A server that starts with RDF off records the time in
rdf_projection_health.rdfDisabledAt (new column, MySQL and Postgres).
- The projection is DEGRADED while the newest indexing run predates that
mark, and server start queues one RdfIndexApp run when nothing has
indexed since.
* Degrade the projection on an RDF-off start instead of comparing times
Review of the first commit found that deciding the state by comparing
rdfDisabledAt with the newest run's start time let any successful run
after the mark, a partial or non-recreate one included, read as READY
over a graph that still missed the changes.
The RDF-off start now also raises failureVersion in the same statement,
so the existing health check reports DEGRADED and only a completed
rebuild of the entire projection that started afterwards repairs it.
rdfDisabledAt stays as the key that decides whether start-up queues a
run. Status reads no longer run an extra query for the mark.
RdfFirstIndexRunIT covers the wiring end to end on the suite server.
* Cover the full-rebuild guard and repair the tests the RDF-off bump reaches
Second review pass on the branch:
- RdfLiveProjectionIT runs on a suite server that starts with RDF off,
which now degrades the projection; its fabricated completed rebuild
repairs the health row as a real one would.
- RdfIndexAppTest pins that a recreate of some entity types and an
incremental run leave the projection degraded, and the RDF-off run's
record now starts after the mark so only the flag can discount it.
- RdfFirstIndexRunIT loads the app as AppResource does (with its bot) and
adds the incremental-run case end to end.
* Keep the original Deciders line on the 2026-11-06 RDF decision record
* Say to run a full Recreate after turning RDF on with a rolling restart
* Record the RDF-off mark again when the server stops
A server with RDF off drops its writes for as long as it runs. During a rolling restart that turns RDF on, the new server's start-up rebuild began after the old server's start mark, so on completion it repaired the projection and reported READY over a graph that could miss the old server's last writes. The stop mark raises failureVersion after that rebuild read it, so the state stays DEGRADED until another full rebuild.
Also write the start mark after migration validation, since it uses a column a pending migration adds, and assert in the RDF-off test lane that a server start records the mark.
* Narrow the recorded upgrade gap to databases already at 2.1.0
The 2.1.0 migration deletes earlier RdfIndexApp run records, so an upgrade from 2.0.x that turns RDF on in the same deploy takes the first-install path and queues the start-up run. Seen live from 2.0.8.
* Test the RDF-off marks on a real server start and stop
RdfDisabledMarkLifecycleIT starts a second server process with RDF off on the suite database, stops it, and checks that both the start and the stop moved the mark, so removing either call fails a test. ForkedServerNode gains a stop that reports whether the process exited by itself.
The setup guide and the decision record said the state stays DEGRADED after a rolling enablement. It reads READY while the old server is still up after the rebuild completed; both now say so, and comments that described a start only cover the stop too.
* Record the RDF-off mark when the stop begins as well
The stop mark was written near the end of shutdown. Jetty waits up to 30 s for open requests first and Kubernetes kills a pod after 30 s by default, so a slow shutdown could be killed before the mark was written. A Jetty lifecycle listener now writes it when the stop begins; the later hook stays, to follow the writes made while the server drained.
* Bound the RDF-off write at the start of a stop to five seconds
Nothing has stopped yet when the stop begins, so a database that does not answer would hold the shutdown for its whole connection timeout and the platform would kill the server before any hook ran. The write now gives up after 5 s; the one at the end of the stop is unchanged. The lifecycle test closes its server in a finally, and the decision record lists the case of a server killed while it drains.
* Keep ALTER DATABASE the last statement of the 2.1.0 MySQL migration
FlowableCharsetMigrationTest requires it to be last, because Flowable's own schema upgrade runs after this file and inherits the database default. The rdfDisabledAt statements were appended after it; they now sit above it, unchanged.
* Drop the start-up rebuild after RDF was off; keep the not-ready mark
A server with RDF off still marks the projection as not ready when it
starts, when its stop begins and at the end of its stop, and an
RdfIndexApp run that finds RDF off is stored as a success flagged
projectionUnchanged, which the state resolver skips. After RDF was off
the agent SPARQL path refuses until a rebuild of the entire projection
completes.
The start-up rebuild queued when nothing had indexed since RDF was last
off is removed: the rebuild after enabling RDF is an explicit step, like
search reindexing. The start-up rule on main stays as it is (one run
when no RdfIndexApp run record exists). The rdfDisabledAt column only fed
that queue, so it and its migration statements are removed and the pull
request makes no schema change.
* Do not name reindex-rdf as the rebuild step after enabling RDF
The ops CLI command never initializes the app scheduler, so it stops before it queues a run. The setup guide and the decision record now name the application page and the API only, and say why the CLI cannot do it today.
* fix(ingestion): raise dnspython, tornado and OpenTelemetry floors for CVEs (#37858)
dnspython >= 2.9.2 fixes CVE-2026-128089, which the 2.9.0 floor from
#37748 leaves open. tornado >= 6.6.1 fixes CVE-2026-126347, and
opentelemetry-exporter-otlp 1.45.2 brings opentelemetry-api 1.45.2 for
CVE-2026-126360. The dnspython and tornado fixes need Python 3.11, so the
existing python_version markers stay and the 3.10 fork keeps the old releases.
The in-tree Airflow constraints pin dnspython 2.9.0, tornado 6.5.9 and the
OpenTelemetry family at 1.45.1 / 0.66b1; bump them to match, and regenerate
uv.lock for just these packages.
* Show how each workflow run's approval was decided (#37729)
* Show how each workflow run's approval was decided
The execution history and the glossary term's workflow card now say, under an approval
step, whether the workflow approved it itself because no one was left to assign the task
to, or which user approved or rejected it. The outcome is read from the step records the
run already stores, so runs from before this change show it too, and a run without an
approval step shows nothing.
* Follow the spec's own runs and record the approval-variable contract
Every edit to a table starts a run of an event-based workflow, recorded even when its
filter drops the edit, so the spec now follows its own runs by their decided approval
step and checks each line by run id right after it lands. The parser tells the two
automatic outcomes apart by the variables each pass sets, not by the reason text, and
the variables the UI reads are recorded as a decision. A late answer for an earlier page
of runs is covered by a test.
* Record how each approval step was decided on its workflow run
The server records the outcome where the decision is made: the auto-approve step, a
listener on the approval task's completion, and an administrator override. A step that
reviewed a change request takes its voters and partial decision from the change request's
settled review. The run keeps the outcomes in its variables, which every server version
reads, and appends them after the step commits with a partial update; ending a run from
outside it no longer rewrites the whole document. The 2.1.0 migration redeploys every
governance workflow so deployed definitions carry the listener. The execution history and
the glossary term's workflow card read the outcomes from the run instead of its steps.
* Say who set an entity's status when its status badge is hovered
Hovering the status badge in an entity header shows how the current status was set: who
approved or rejected it, that the workflow approved it itself and why, that a workflow set
it without an approval after someone's change or on its schedule, or the person who set it
by hand. The entity's version history says when the status last changed and by whom, and
the status-setting workflow run active at that moment says which workflow did it. Nothing
is fetched until the badge is hovered, and the answer is cached per entity. The hover
popover the glossary terms table used is now a shared component.
* Look the status up again when it changes, and record how the hover links a status to a run
The status lookup is cached per entity and status, so a status changed on the page is looked
up afresh. Of the status-setting runs active when the status changed, the run that decided
it is named first, with the decision closest to the change, then a run already going at that
moment: the status write itself can start a short run of the same workflow. The rules the
hover follows are recorded in their own decision record. Callers of the shared hover popover
pass literal test ids, so the Playwright impact map traces the glossary terms table and the
status badge to their specs, and the popover maps to the glossary and workflow areas. The
spec approves a reviewer's task only once it has settled, and again while no decision is
recorded, since a workflow's own status write can supersede the task being approved.
* Start Flowable before the v210 approval-outcome redeploy
migrate runs data migrations before Flowable starts, so the redeploy step
initializes the workflow handler itself rather than relying on an earlier
step having done so. The v210 entry-point test mocks the step and accepts
more than one workflow-handler start.
* Record approval outcomes from the completion validator, without a migration
Every deployed approval task already calls ApprovalTaskCompletionValidator on
completion, and Flowable loads it by class name, so recording the decision
there reaches existing workflows and runs already waiting on a task without
redeploying them. This drops the extra BPMN listener and the v210 redeploy
step, and leaves the v208 redeploy util and the v210 migrations as on main.
* Regenerate the Playwright impact map after merging main
* Lay out the execution history status cell with Box
* Explain the entity status with the core Tooltip
The status badge's explanation is text only, so it renders in the core
Tooltip: its title says how the status was set and its description who or
what led to it, both from one React Query lookup that starts when the tooltip
opens. The glossary terms table keeps its own hover popover as on main, and
the shared HoverPopover is removed.
* Explain the entity status in the core HoverCard
The card sits on the floating surface, so it is white in light mode and dark
in dark mode, opens on hover or keyboard focus, and mounts its content only
while open, so the lookup starts on hover.
* Name every reviewer on the side they voted, and keep the status author without run access
A reviewer who approved some changes and rejected others is named on both
sides of the recorded outcome. The status hover keeps who set the status and
when if the user cannot read workflow runs.
* Assert the recorded outcomes of a two-vote approval instead of the recorder call
The validator unit test is back to checking only what it validates. The
two-vot…
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.



Detail bug report: View on Detail
Describe your changes:
Fixes #37301
I worked on the external table lineage mixin and Snowflake COPY_HISTORY lineage path because GCS-backed external tables (e.g. Snowflake external tables on GCS stages) silently lost their container→table lineage edges. The GCS storage connector indexes containers under
gs://, but catalog sources report GCS locations asgcs://. The sharedcontainer_lookup_pathshelper inExternalTableLineageMixinde-aliased only the Hadoop S3 schemes (s3a/s3n→s3) before the exact-matchfullPathcontainer search, omittinggcs→gs, so the lookup never found the container. The siblingSnowflakeLineageSource._resolve_container_by_pathhad the same bug — it did a single exact lookup on the rawCOPY_HISTORY.stage_locationwith no scheme de-aliasing at all.The codebase already had the correct broader pattern in
unitycatalog/path_utils.py, which de-aliases six schemes (includinggcs→gs) for the identical container index lookup — the shared mixin was just missing it.Type of change:
High-level design:
N/A — small change.
Two changes, both in the ingestion Python module:
external_table_lineage_mixin.py— Extended_SCHEME_ALIASESto mirror the alias set already used inunitycatalog/path_utils.pyfor the same container index: addedgcs→gs(the core fix) plus the Azure Hadoop-era aliasesabfs/wasb/wasbs→abfssfor consistency. The existings3a/s3n→s3aliases are unchanged.container_lookup_pathsnow searches the canonical form first, then the location as reported with and without one trailing separator, and for ags://location alsogcs://, so a container recorded with either GCS scheme still matches.snowflake/lineage.py— Updated_resolve_container_by_pathto use the sharedcontainer_lookup_paths()helper (the same one the mixin uses) instead of a single exactes_search_container_by_pathcall on the raw stage location. This means COPY_HISTORY stage locations reported asgcs://...now producegs://...candidates that match containers indexed by the GCS storage connector.Tests:
Use cases covered
gcs://bucket/events/finds a container indexed asgs://bucket/eventsand emits a container→table lineage edgegcs://stage location resolves to ags://-indexed containers3://,s3a://,s3n://) still emit lineage edges (no regression)abfs://,wasbs://) produceabfss://candidates@~/,@DB.SCHEMA.STAGE/) are still skipped (no regression)gcs://is still found via the raw candidate (no regression)Unit tests
ingestion/tests/unit/topology/database/test_external_table_lineage_mixin.py— added GCS and Azure de-aliasing cases toTestContainerLookupPaths::test_lookup_paths, plus an end-to-end test verifying the mixin emits a lineage edge for agcs://-reported table backed by ags://-indexed containeringestion/tests/unit/topology/database/test_snowflake_access_history_lineage.py— added 4 tests: GCS COPY_HISTORY edge emission,_resolve_container_by_pathGCS de-aliasing, no-match returns None, and raw-form fallbackBackend integration tests
Ingestion integration tests
Playwright (UI) tests
Manual testing performed
docker/development/docker-compose.ymlopenmetadata/server:latestimagefullPath=gs://test-bucket/eventsvia the REST API/search/fieldQueryexact-match behavior:gs://test-bucket/eventsreturns 1 hit,gcs://test-bucket/eventsreturns 0 hits — confirming the container index is scheme-sensitive and thegcs://form cannot matches_search_container_by_pathmethod against the live server, confirmingcontainer_lookup_paths("gcs://test-bucket/events/")producesgs://test-bucket/eventsas the first candidate, which matches the container, while the rawgcs://form does notUI screen recording:
Not applicable — backend/ingestion-only change, no UI impact.
Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.REVIEW.md(thepr-checklistskill runs it) and fixed every 🔴 finding, or answered it on the line below.docs/decisions/(see itsREADME.md). This description is gone fromgit logafter the squash-merge.Automatic Fixes PRs can be configured here.