Repository navigation
chore(release): merge main into 2.1 - #38229
Conversation
* 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>
…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.
…neage 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>
…tudio 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).
…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
…abled Tasks trigger (#37797) * test(playwright): align Ontology Studio permission specs with the disabled Tasks trigger * chore(playwright): regenerate impact map
…idation (#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 * cover get entity test
…ublishing (#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
…d 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
#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.
…a 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.
…lished 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.
* 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
…blish, 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
…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.
#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>
…d 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.
…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
…chment 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 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.
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.
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 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
…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 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 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
… source cube (#37979) * Fixes #37978: MicroStrategy reads a report dataset's lineage from its source cube * MicroStrategy: keep a report's source cube with its parsed SQL, not only in an evictable cache * MicroStrategy: cache a report's source cube with its SQL The report and parse caches could evict a report while the SQL cache still held it, so the report was matched as a schema cube and lost its column pairs.
… type (#37686) * Take Doris partition types from the partition method and column type The Doris connector ran SHOW PARTITIONS for every table, views included, on a connection of its own, and reported every partition column as TIME-UNIT without an interval. Read information_schema.tables joined with information_schema.partitions once per schema instead. LIST partition columns are COLUMN-VALUE; a RANGE partition column is TIME-UNIT on a DATE or DATETIME column and INTEGER-RANGE on an integer one. For an OLAP table that is RANGE partitioned or has no partition row, SHOW CREATE TABLE gives the unit of an AUTO PARTITION date_trunc or of a dynamic partition, and the partition columns of a table without partitions. * Test the Doris per-table partition fallback and amend the profiler ADR A table whose DDL or columns cannot be read is ingested without partition details. The ADR now records how Doris reports LIST and RANGE partitions. * Roll back the Doris connection after a failed partition lookup A lost connection leaves the thread's connection refusing every statement until it is rolled back, so the next tables would fail with PendingRollbackError instead of only losing their partition details. --------- Co-authored-by: morningman <moringman@apache.org> Co-authored-by: Khairajani <himanshukhairajani8@gmail.com>
* fix(workflows): propagate v1.7.1 config backfill failure and tolerate null config * fix(workflows): propagate per-definition backfill failures in v171 MigrationUtil updateWorkflowDefinitions() caught and logged each createOrUpdate() failure then returned normally, so MigrationWorkflow recorded v1.7.1 as complete and left that workflow's config = null permanently — the NPE-on-edit/redeploy failure mode this PR fixes. Collect per-definition failures and throw after the loop (best-effort for the remaining definitions), so the next migrate/startup retries the backfill. Add a focused MigrationUtilTest exercising the real backfill against a WorkflowDefinitionRepository boundary mock. * fix(workflows): use getFirst() instead of indexed access for first failure * fix(workflows): keep v1.7.1 backfill log-and-skip; guard null config in MainWorkflow A failed migration step must not block upgrades or startup. A deterministic per-definition failure would fail every migrate run, so rethrowing turns one un-editable legacy workflow into a hard-blocked upgrade. Restore the original log-and-skip behaviour in the v1.7.1 migration and MigrationUtil. The MainWorkflow null-config guard alone removes the NPE on edit/redeploy for legacy definitions the backfill skipped, so it is the whole fix. --------- Co-authored-by: detail-app[bot] <180357370+detail-app[bot]@users.noreply.github.com> Co-authored-by: Ram Narayan Balaji <ramnarayanb3005@gmail.com> Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com>
…fety (#37333) * Fixes #37316: key BigQuery DDL cache by FQN for concurrent dataset safety * ingestion: cache BigQuery DDLs per dataset and re-fetch on eviction A 2048-entry per-table LRU dropped DDLs for datasets with more tables than the cap, and for concurrent datasets whose combined size exceeded it. Cache one dict per project.dataset instead, and re-fetch a dataset whose entry was evicted rather than reporting its tables' DDL as missing. * ingestion: hold BigQuery DDLs per schema worker thread Each schema worker ingests one dataset at a time and reads each table's DDL once, so a thread-local slot holding its current dataset bounds memory to threads x one dataset, instead of up to 64 mostly-finished datasets in a shared LRU. A read for a dataset the thread does not hold fetches it. --------- Co-authored-by: detail-app[bot] <180357370+detail-app[bot]@users.noreply.github.com> Co-authored-by: Khairajani <himanshukhairajani8@gmail.com>
…plain text (#38117) * Encrypt the connection secrets that are still saved in plain text - SSIS: type databaseConnection through the MSSQL converter, so its sslConfig and authType are typed and encrypted. - Qlik Sense certificates and NATS authType: their oneOf branches were inline definitions, which jsonschema2pojo generates no class for; move them to their own schema files (titles unchanged) and register converters. - migrate now re-encrypts stored workflows (Test Connection requests) the way it does services; the unused updateWorkflow also saved through the wrong DAO. - The coverage test also checks typed connection properties whose own oneOf holds secrets, which is how SSIS slipped through. * Encrypt SAP S/4HANA authType secrets Its oneOf branches were inline definitions with no generated class; move them to dashboard/sapS4Hana/{basicAuth,oAuthCredentials}.json (titles and javaTypes unchanged) and register a converter. KNOWN_UNCONVERTIBLE is now empty. The generated Python classes move with them: Collate's SAP S/4HANA connector imports them, so it needs the matching import change. * Re-encrypt soft-deleted services and workflows, and record the oneOf split rule * Test that migrate re-encrypts soft-deleted services and workflows * Test soft-deleted re-encryption on stored rows instead of mocks * Mask service version secrets from 2.1.0 too, including secret: values * Key collection secrets by position when names clash once cleaned into a secret id * Match masked list secrets by exact name, and keep only secret ids distinct once cleaned * Keep list secret ids stable when names clash once cleaned A position id moved when servers were reordered, so replacing or clearing one key wrote over, or deleted, the secret the other server still referenced. Such names now get an id from a hash of the exact name. * Use final locals, getFirst and smaller test helpers * Hash a name that looks like a hashed secret id too * Use final in the version masking test * Name boolean locals as questions in version masking
* Fixes #36148: Fix governance workflow lifecycle bugs - Closing or bulk-cancelling a workflow-managed task now records its run as CANCELLED and terminates the waiting Flowable process, instead of leaving the run RUNNING forever. - The certification node writes with governance-bot as impersonator, so its write no longer re-triggers the entity's workflows. - The Flowable task lookup by customTaskId also matches the run's business key (indexed), instead of scanning ACT_RU_VARIABLE on every resolve, vote and terminate. The old query is the fallback. - Replacing the engine on a workflow-settings save keeps the retiring executor's job locks, so a job still running is not acquired and run a second time. Server shutdown keeps releasing locks. - unlockJobsOnStartup stays unwired, with a comment on why. - RunApp's wait polls every 5s instead of spinning on the database, logs failed reads and honours interrupts. - A process definition id without a key (a long workflow name) resolves its key from the deployed definition, so its tasks keep the right workflow and run. * End only the closed task's processes, not the trigger root Closing a workflow-managed task sent the task's terminateProcess message, which reaches a terminate end event with terminateAll and deletes the root process instance. In a periodic batch that tore down the whole trigger and marked the shared run CANCELLED. In parallel approval branches it left the sibling's task open with nothing behind it. - The close now deletes, one at a time, each process holding a Flowable task of the closed task, never the root, so a batch's trigger carries on. A run that is not a periodic batch is recorded CANCELLED first; its other open tasks about the same entity are closed after it ends, because parallel branches overwrite the process-wide customTaskId. - The delete cause is whitelisted in WorkflowFailureListener. - The task lookup narrows by the run only when the task store can be read, so an engine-only lookup no longer fails. - Drop the long-workflow-name fix: #37856 fixed #36148 more completely. - Decision records for the close rule and for the retiring engine keeping its job locks. * Record a closed task's run as CANCELLED only after its delete succeeds The close recorded the run CANCELLED before deleting its process, so a delete refused by a job executing on another server left a CANCELLED run with a live process. A run that is not a periodic batch belongs to the closed task alone: its whole process tree is now deleted from its root, which runs no end listener, and CANCELLED is recorded only after the delete succeeded. A periodic batch still deletes only the process holding the task and leaves the run's status to its trigger. endTaskProcess is split into named steps. The decision record states the new order.
…-edit workflow hang, rename cache eviction, RDF/secrets/glossary flakes) (#38220) * test(it): expect a resolved incident to refuse a legacy reopen in TaskChangeEventIT #37613 made a resolved incident final (ADR:2026-11-17-resolved-incidents-are-final): a test-case resolution status write can no longer reopen its task. The test still reopened it with an Ack write and got a 400 on every main run. It now asserts the write is refused and the task stays Completed. * test: stop SecretsManagerFactoryTest leaking its manager into later unit tests SecretsManagerFactory keeps one manager per JVM and createSecretsManager returns it when set. SecretsManagerFactoryTest reset it only before each test, so its last AWS or GCP manager stayed registered. IngestionPipelineRepositoryTest then asked for the DB manager, kept the leftover one, and since #36740 its hard-delete postDelete schedules secret deletion through it, which hit a NullPointerException on the test pipeline's missing id instead of the expected IngestionRunnerUnavailableException. SecretsManagerFactoryTest now also resets after each test, and IngestionPipelineRepositoryTest clears any leftover manager before creating its DB one and restores the previous one afterwards. * test(it): retry an RDF reindex the server's storage compaction skipped Since #36471 the server compacts the RDF dataset five minutes after start under the reindex lock, holding it for a few seconds. A recreate reindex triggered in that window stops with "Skipped: another RDF reindex is running", which RdfSoftDeleteReindexIT reported as a failed reindex. It now triggers again, up to five attempts, while a run reports it was skipped for the held lock. * fix(workflows): an update whose edit was undone no longer judges as a create #37010 stopped the trigger filter treating a missing change on an update as a create, but CheckChangeDescriptionTask kept the shortcut. When an edit is undone within its session, the entity reverts to a version with no change and the triggering version is not in history, so the node read a null change, routed true as if for a create, and the run opened an approval task and waited forever (WorkflowDefinitionResourceIT test_updateThatLeavesNoChangeDescriptionIsJudgedNotTreatedAsCreate). The trigger now passes the event type to the main workflow, and the node treats a missing change as a create only for a create event, or for a run started before the type was passed. Change-request runs keep their rule. The filter and the node share TriggeringChange.mayCarryNoChange. * fix(cache): escape backslashes when a tag rename looks up the assets to evict A tag or glossary-term rename finds the assets whose cached tags it must drop with a query_string phrase on tags.tagFQN. Only double quotes were escaped; a backslash is itself an escape in that phrase, so a name such as o\'\'brien was searched as o''brien, matched nothing, and the tagged table kept its old label in the entity cache for up to 48h. GlossaryTermResourceIT caught it only when the table's own 500ms cache repair landed before the rename. * test(it): make the two flaky GlossaryTermResourceIT tests deterministic The quoted-name rename test now waits for the table to be searchable under the child's old FQN before renaming, so it no longer depends on a cache repair timer and fails every time the rename's eviction lookup misses. get_assetsCountsWithParentFilter no longer calls the unfiltered endpoint, which runs one search per glossary term on the shared server and took 418s under CI load; filtering by the second glossary checks the filter instead. * fix(migration): redeploy governance workflows in 2.1.0 so triggers pass the event type The undone-edit fix passes the triggering event type from a workflow's trigger to its main process, which only a redeployed workflow does. The 2.1.0 migration redeploys only the glossary and incident workflows, and the last redeploy-all step (2.0.8) has already run on a 2.0.8 install, so its other workflows would keep treating an undone edit as a create until saved. A 2.1.0 step now redeploys every workflow definition once, reusing the 2.0.8 helper. * fix(migration): redeploy workflows for the event type in 2.0.9, shared with the 2.0 line The bug the event-type pass-through fixes is on the 2.0 line too, and the 2.0 line has no 2.1.0 migration. 2.0.9 is unreleased, so the redeploy step moves from the 2.1.0 migration to 2.0.9: main and 2.0 run the same step, and a 2.0.8 install gets it on either upgrade. A 2.1.0 pre-release database replays 2.0.9 for SQL only and keeps its deployments until a workflow is saved; pre-releases are test installs. WorkflowRedeployMigration.redeploy takes the migration version for its log lines, so the 2.0.9 run logs [v209] instead of [v208]. The ADR on judging the triggering change gets a v4 amendment for the node change and the step. * test(it): cache the table's old label before the quoted-name rename Nothing read the table between its tag update and the rename, so its cached copy was already gone and the final read came from the database: the test passed whether or not the rename evicted the table (seen on mysql-elasticsearch-redis with the old quote-only escaping, which evicted nothing for the backslash name). Reading the table right before the rename caches the old label, so a rename that fails to evict it now fails the test.
Merges main at fc11013 into 2.1. Must be merged with a merge commit, not squash.
❌ 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 ✅ Approved 🔴 High riskHard-delete cleanup and relationship-type lifecycle changes affect stored metadata integrity; mistaken ownership decisions could remove shared metadata or disrupt glossary relations. Merges main at fc11013 into 2.1, bringing in relationship type deletion guards, plain-text connection secret encryption, FQN-keyed hard delete cleanup, governance workflow and BPMN fixes, Doris partition handling, Fivetran lineage skipping, and BigQuery DDL cache keying. No issues found. VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
| const lower = (values) => new Set(values.map((value) => value.toLowerCase())); | ||
| const assignableTeams = lower(assignTeams); | ||
| const excluded = lower(exclude); | ||
| const orgApi = process.env.ORG_READ_TOKEN ? getOctokit(process.env.ORG_READ_TOKEN) : null; |
There was a problem hiding this comment.
External PR assignment crashes. When token creation succeeds and an external contributor opens a PR, this calls
getOctokit, but the script never defines or imports it. GitHub's actions/github-script provides github, not a standalone getOctokit. The step throws before it can expand team members or assign an owner. Create the second client explicitly, or use a separate step authenticated with the generated token.
| tasks = | ||
| customTaskIdQuery(customTaskId) | ||
| .processInstanceBusinessKey(workflowInstanceId.toString()) | ||
| .list(); | ||
| } | ||
| if (tasks.isEmpty()) { | ||
| tasks = customTaskIdQuery(customTaskId).list(); |
There was a problem hiding this comment.
Closing tasks leaves workflows running. Parallel approval branches overwrite the process-wide
customTaskId, as closeOtherOpenTasksOfRun also notes. Closing an earlier task still requires that old value here. Adding the business key only narrows the same query; the fallback also requires customTaskId, so neither finds the process. The API closes the catalog task, but endClosedTaskProcess leaves the workflow and sibling approval running. Find the owning process without relying on the overwritten value, and test closing each parallel branch.
Knowledge Base Used: Governance workflow automation
Merges
mainatfc110138a28into2.1.Conflicts (24) — all resolved to main
migration/{mysql,postgres}/v209/Migration.java— 2.1 had the [2.1] Fixes #28299: mask plain text secrets left in service version history (#37975) #38185 backport of Fixes #28299: mask plain text secrets left in service version history #37975; main has Fixes #28299: mask plain text secrets left in service version history #37975 plus the follow-up in Fix main's failing and flaky backend tests (TaskChangeEventIT, undone-edit workflow hang, rename cache eviction, RDF/secrets/glossary flakes) #38220.IngestionPipelineRepositoryTest.java— 2.1 had the Fixes #37287: store agent logs in S3 whenever the server is configured for it (backport 2.1 #37394) #38103 backport of Fixes #37287: store agent logs in S3 whenever the server is configured for it #37394; main has Fixes #37287: store agent logs in S3 whenever the server is configured for it #37394 plus Fix main's failing and flaky backend tests (TaskChangeEventIT, undone-edit workflow hang, rename cache eviction, RDF/secrets/glossary flakes) #38220.2.1-only content kept
2.1.0(poms,pyproject.toml,uv.lock, Dockerfiles, compose files).scenarios.json.Verification
git diff origin/main HEADtouches 43 files, all version lines or 2.1 CI pins. Every file's diff against main matches 2.1's diff against main before the merge, except three where main's newer changes come in: the Corretto JRE builder indocker/docker-compose-quickstart/Dockerfile, and MySQL 8.4.13 iningestion/Dockerfileandopenmetadata-integration-tests/pom.xml.🤖 Generated with Claude Code
Summary by Gitar
This will update automatically on new commits.
Fix the assignment script and parallel approval close path before merging.
Findings
Summary
This merges
maininto2.1, bringing workflow, ingestion, search, security, and UI updates while retaining release-specific settings.Two issues need attention: external PR assignment calls an undefined function, and closing an earlier parallel approval can leave its workflow running.
Reviews (1) · Last reviewed commit: "chore(release): merge main into 2.1" · Reviewed by Greptile