Repository navigation
chore(release): merge main into 2.1 for 2.1.0-rc2 - #37530
Conversation
…yond the 20 most recent (#36043) * Fixes #36030: Ontology bulk authoring jobs panel hides active jobs beyond the 20 most recent * Fixes #36030 review: clear pending flag when job appears; rework background-submission test * Address review: bind glossaryId as UUID, keep job list limit at 20, drop pending-submission polling - OntologyBulkResource binds glossaryId as UUID so malformed or upper-case ids are rejected/normalised instead of silently returning an empty list; SDK overload takes UUID. - The server-side glossary filter fixes #36030 on its own, so the client limit stays at 20. - Remove noteBackgroundSubmission: schedule() inserts with autocommit and reads back the row before responding, so the post-submit refresh always sees the new job. --------- Co-authored-by: detail-app[bot] <180357370+detail-app[bot]@users.noreply.github.com> Co-authored-by: Anujkumar Yadav <anujf0510@gmail.com>
…ain/resources/ui with 18 updates (#37399) * chore(deps): bump the npm-minor-patch group Bumps the npm-minor-patch group in /openmetadata-ui/src/main/resources/ui with 22 updates: | Package | From | To | | --- | --- | --- | | [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) | `5.106.0` | `5.106.1` | | [@tiptap/extension-link](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/extension-link) | `3.32.2` | `3.33.0` | | [@tiptap/extension-placeholder](https://github.com/ueberdosis/tiptap/tree/HEAD/packages-deprecated/extension-placeholder) | `3.32.2` | `3.33.0` | | [@tiptap/extension-table](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/extension-table) | `3.32.2` | `3.33.0` | | [@tiptap/extension-table-cell](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/extension-table-cell) | `3.32.2` | `3.33.0` | | [@tiptap/extension-table-header](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/extension-table-header) | `3.32.2` | `3.33.0` | | [@tiptap/extension-table-row](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/extension-table-row) | `3.32.2` | `3.33.0` | | [@tiptap/extension-task-item](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/extension-task-item) | `3.32.2` | `3.33.0` | | [@tiptap/extension-task-list](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/extension-task-list) | `3.32.2` | `3.33.0` | | [@tiptap/pm](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/pm) | `3.32.2` | `3.33.0` | | [@tiptap/react](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/react) | `3.32.2` | `3.33.0` | | [@tiptap/starter-kit](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/starter-kit) | `3.32.2` | `3.33.0` | | [@tiptap/suggestion](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/suggestion) | `3.32.2` | `3.33.0` | | [antlr4](https://github.com/antlr/antlr4) | `4.9.2` | `4.13.2` | | [@types/antlr4](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/antlr4) | `4.7.2` | `4.12.0` | | [turndown](https://github.com/mixmark-io/turndown) | `7.2.4` | `7.2.5` | | [@playwright/test](https://github.com/microsoft/playwright) | `1.57.0` | `1.65.0` | | [@swc/core](https://github.com/swc-project/swc/tree/HEAD/packages/core) | `1.16.21` | `1.16.22` | | [@tailwindcss/node](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-node) | `4.3.3` | `4.3.4` | | [eslint-plugin-playwright](https://github.com/mskelton/eslint-plugin-playwright) | `2.12.1` | `2.12.2` | | [less](https://github.com/less/less.js) | `4.1.3` | `4.9.1` | | [rollup-plugin-visualizer](https://github.com/btd/rollup-plugin-visualizer) | `7.1.1` | `7.1.2` | Updates `@tanstack/react-query` from 5.106.0 to 5.106.1 - [Release notes](https://github.com/TanStack/query/releases) - [Changelog](https://github.com/TanStack/query/blob/main/packages/react-query/CHANGELOG.md) - [Commits](https://github.com/TanStack/query/commits/@tanstack/react-query@5.106.1/packages/react-query) Updates `@tiptap/extension-link` from 3.32.2 to 3.33.0 - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Changelog](https://github.com/ueberdosis/tiptap/blob/v3.33.0/packages/extension-link/CHANGELOG.md) - [Commits](https://github.com/ueberdosis/tiptap/commits/v3.33.0/packages/extension-link) Updates `@tiptap/extension-placeholder` from 3.32.2 to 3.33.0 - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Changelog](https://github.com/ueberdosis/tiptap/blob/v3.33.0/packages-deprecated/extension-placeholder/CHANGELOG.md) - [Commits](https://github.com/ueberdosis/tiptap/commits/v3.33.0/packages-deprecated/extension-placeholder) Updates `@tiptap/extension-table` from 3.32.2 to 3.33.0 - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Changelog](https://github.com/ueberdosis/tiptap/blob/v3.33.0/packages/extension-table/CHANGELOG.md) - [Commits](https://github.com/ueberdosis/tiptap/commits/v3.33.0/packages/extension-table) Updates `@tiptap/extension-table-cell` from 3.32.2 to 3.33.0 - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Commits](https://github.com/ueberdosis/tiptap/commits/v3.33.0/packages/extension-table-cell) Updates `@tiptap/extension-table-header` from 3.32.2 to 3.33.0 - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Commits](https://github.com/ueberdosis/tiptap/commits/v3.33.0/packages/extension-table-header) Updates `@tiptap/extension-table-row` from 3.32.2 to 3.33.0 - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Commits](https://github.com/ueberdosis/tiptap/commits/v3.33.0/packages/extension-table-row) Updates `@tiptap/extension-task-item` from 3.32.2 to 3.33.0 - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Commits](https://github.com/ueberdosis/tiptap/commits/v3.33.0/packages/extension-task-item) Updates `@tiptap/extension-task-list` from 3.32.2 to 3.33.0 - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Commits](https://github.com/ueberdosis/tiptap/commits/v3.33.0/packages/extension-task-list) Updates `@tiptap/pm` from 3.32.2 to 3.33.0 - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Changelog](https://github.com/ueberdosis/tiptap/blob/v3.33.0/packages/pm/CHANGELOG.md) - [Commits](https://github.com/ueberdosis/tiptap/commits/v3.33.0/packages/pm) Updates `@tiptap/react` from 3.32.2 to 3.33.0 - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Changelog](https://github.com/ueberdosis/tiptap/blob/v3.33.0/packages/react/CHANGELOG.md) - [Commits](https://github.com/ueberdosis/tiptap/commits/v3.33.0/packages/react) Updates `@tiptap/starter-kit` from 3.32.2 to 3.33.0 - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Changelog](https://github.com/ueberdosis/tiptap/blob/v3.33.0/packages/starter-kit/CHANGELOG.md) - [Commits](https://github.com/ueberdosis/tiptap/commits/v3.33.0/packages/starter-kit) Updates `@tiptap/suggestion` from 3.32.2 to 3.33.0 - [Release notes](https://github.com/ueberdosis/tiptap/releases) - [Changelog](https://github.com/ueberdosis/tiptap/blob/v3.33.0/packages/suggestion/CHANGELOG.md) - [Commits](https://github.com/ueberdosis/tiptap/commits/v3.33.0/packages/suggestion) Updates `antlr4` from 4.9.2 to 4.13.2 - [Release notes](https://github.com/antlr/antlr4/releases) - [Changelog](https://github.com/antlr/antlr4/blob/dev/CHANGES.txt) - [Commits](antlr/antlr4@4.9.2...4.13.2) Updates `@types/antlr4` from 4.7.2 to 4.12.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/antlr4) Updates `turndown` from 7.2.4 to 7.2.5 - [Release notes](https://github.com/mixmark-io/turndown/releases) - [Commits](mixmark-io/turndown@v7.2.4...v7.2.5) Updates `@playwright/test` from 1.57.0 to 1.65.0 - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](microsoft/playwright@v1.57.0...v1.65.0) Updates `@swc/core` from 1.16.21 to 1.16.22 - [Release notes](https://github.com/swc-project/swc/releases) - [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md) - [Commits](https://github.com/swc-project/swc/commits/v1.16.22/packages/core) Updates `@tailwindcss/node` from 4.3.3 to 4.3.4 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.4/packages/@tailwindcss-node) Updates `@types/antlr4` from 4.7.2 to 4.12.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/antlr4) Updates `eslint-plugin-playwright` from 2.12.1 to 2.12.2 - [Release notes](https://github.com/mskelton/eslint-plugin-playwright/releases) - [Changelog](https://github.com/mskelton/eslint-plugin-playwright/blob/main/CHANGELOG.md) - [Commits](mskelton/eslint-plugin-playwright@v2.12.1...v2.12.2) Updates `less` from 4.1.3 to 4.9.1 - [Release notes](https://github.com/less/less.js/releases) - [Changelog](https://github.com/less/less.js/blob/master/CHANGELOG.md) - [Commits](less/less.js@v4.1.3...v4.9.1) Updates `rollup-plugin-visualizer` from 7.1.1 to 7.1.2 - [Changelog](https://github.com/btd/rollup-plugin-visualizer/blob/master/CHANGELOG.md) - [Commits](btd/rollup-plugin-visualizer@v7.1.1...v7.1.2) --- updated-dependencies: - dependency-name: "@tanstack/react-query" dependency-version: 5.106.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-minor-patch - dependency-name: "@tiptap/extension-link" dependency-version: 3.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: "@tiptap/extension-placeholder" dependency-version: 3.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: "@tiptap/extension-table" dependency-version: 3.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: "@tiptap/extension-table-cell" dependency-version: 3.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: "@tiptap/extension-table-header" dependency-version: 3.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: "@tiptap/extension-table-row" dependency-version: 3.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: "@tiptap/extension-task-item" dependency-version: 3.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: "@tiptap/extension-task-list" dependency-version: 3.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: "@tiptap/pm" dependency-version: 3.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: "@tiptap/react" dependency-version: 3.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: "@tiptap/starter-kit" dependency-version: 3.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: "@tiptap/suggestion" dependency-version: 3.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: antlr4 dependency-version: 4.13.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: "@types/antlr4" dependency-version: 4.12.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: turndown dependency-version: 7.2.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-minor-patch - dependency-name: "@playwright/test" dependency-version: 1.65.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: "@swc/core" dependency-version: 1.16.22 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-minor-patch - dependency-name: "@tailwindcss/node" dependency-version: 4.3.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-minor-patch - dependency-name: "@types/antlr4" dependency-version: 4.12.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: eslint-plugin-playwright dependency-version: 2.12.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-minor-patch - dependency-name: less dependency-version: 4.9.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-minor-patch - dependency-name: rollup-plugin-visualizer dependency-version: 7.1.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> * chore(deps): drop antlr4, less and @playwright/test from the npm group antlr4 4.13 removes the antlr4/src/antlr4/tree deep import Fqn.ts and EntityLink.ts use, and cannot run parsers from the pinned 4.9.2 CLI. less 4.9 fails on rgb(from var(...)) under math: always. Playwright 1.65 does not match the v1.57.0-jammy image the CI browser jobs run in. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Anujkumar Yadav <anujf0510@gmail.com>
…ction (#37318) * fix(ingestion): exclude whole-phase wrapper ops from watchdog hang detection * fix(ingestion): preserve per-record watchdog hang detection --------- Co-authored-by: detail-app[bot] <180357370+detail-app[bot]@users.noreply.github.com> Co-authored-by: Pablo Takara <pjt1991@gmail.com> Co-authored-by: IceS2 <pablo.takara@getcollate.io>
…7074) * Fix Oracle table-diff sampling SQL compilation * tests: defer application imports in pytest plugin
) OpenMetadata stores user emails in lowercase and get_reference_by_email matches email.keyword exactly, so a Sigma owner email with any capital letter found no user and the dashboard got no owner. Lowercase it before the lookup, as Looker and PowerBI do. A failed /members read also logged a second, misleading warning ("'NoneType' object has no attribute 'email'"); now only the failed read is logged. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub; not live-verified (no Sigma instance).
…37340) * fix(sigma): make optional response fields optional in models Sigma's spec marks `total` on the workbook, page, element and query listings, `isArchived` on a workbook, and a query's `name` as optional. When one was missing, validation failed and the client returned no workbooks, elements or queries. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub; not live-verified (no Sigma instance). * fix(sigma): stop repeated Sigma workbook, member and file reads The workbook list was requested twice per listing, and every workbook and lineage edge fetched its owner and table file again. Request the list once and reuse successful /members and /files reads in bounded caches; a failed read stays retryable. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub; not live-verified (no Sigma instance).
…chart and data model filters (#37341) * fix(sigma): fetch each workbook's elements once The chart and data model stages each listed the workbook's pages and elements. Fetch them once with the workbook details and share them between both stages. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub; not live-verified (no Sigma instance). * fix(sigma): link charts to their element and stop copying the workbook description Sigma's element listings carry no description or URL. Charts now link to their own element with Sigma's documented `?:nodeId=<elementId>` parameter and no longer repeat the workbook description. Element link format matches the Sigma UI (checked on a trial org; no API access). Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub; not live-verified (no Sigma instance). * fix(sigma): filter untitled elements by their display name Sigma marks an element's name optional. The chart filter checked the raw name, so any include or exclude pattern dropped every untitled element. The filter, the filter report and the chart now share one display name, `Element <elementId>` when the element has no name. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub; not live-verified (no Sigma instance). * fix(sigma): apply dataModelFilterPattern to Sigma data models Workbook elements excluded by the pattern no longer become data models, get no table lineage and cost no element lineage or file lookups. The pattern matches the data model's display name. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub; not live-verified (no Sigma instance).
…odels (#37296) * fix(sigma): make optional response fields optional in models Sigma's spec marks `total` on the workbook, page, element and query listings, `isArchived` on a workbook, and a query's `name` as optional. When one was missing, validation failed and the client returned no workbooks, elements or queries. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub; not live-verified (no Sigma instance). * fix(sigma): stop duplicate and repeated Sigma API calls Fetch each workbook's elements once and share them between the chart and data model stages, request the workbook list once, and reuse successful /members and /files reads in bounded caches. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub; not live-verified (no Sigma instance). * test(sigma): answer faked Sigma HTTP per page and with error statuses The faked Sigma HTTP in the connector tests becomes a `routes` fixture that tests can change. A `page` query parameter is part of the route key, so paginated reads can be tested, and an int route answers with that HTTP status, so failed reads can be tested. * fix(sigma): skip stale deletes after a failed Sigma read A failed read of the workbook list, a workbook, or a workbook's pages or elements left live entities out of the run, and the markDeleted passes then soft-deleted them. A failed workbook read now skips all three passes; a failed page or element read skips the chart and data model passes. The dashboard pass still runs, as its workbook was read. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub 1329d8f73c; not live-verified (no Sigma instance). * fix(sigma): link a lineage table only when exactly one matches Table lookups took the first search hit and searched every database service when no dbServicePrefixes were set, so a table that exists in several services, or several databases, was linked to whichever came back first. Both the SQL and the fallback path now resolve through the shared table binding resolver across the configured prefixes and link a table only when exactly one matches. Without dbServicePrefixes no table is linked. The SQL path now also honours the database and schema a prefix names. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub 1329d8f73c; not live-verified (no Sigma instance). * fix(sigma): read lineage tables keyed in element dependencies The fallback lineage skipped every edge that starts at a `dependencies` key, and Sigma keys an element's upstream tables there, so it found no table for elements shaped like Sigma's documented example. Table and dataset dependency nodes are now read as well; edges that do not start at a key are handled as before, and sheet nodes are still skipped. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub 1329d8f73c; not live-verified (no Sigma instance). Accepted unknown: whether a `dependencies` nodeId is accepted by /v2/files/{inodeId}; edge ids already use that call today. * feat(sigma): read connection types from Sigma The SQL lineage path parses every element query without knowing which warehouse Sigma runs it on. The client can now tell a connection's type (snowflake, bigQuery, ...) from one paginated read of /v2/connections per run, kept in a bounded cache. The next commit uses it to pick the SQL dialect. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub 1329d8f73c; not live-verified (no Sigma instance). Accepted unknown: the spec lists no type string for Snowflake or Databricks connections; Sigma's doc examples show "snowflake". * feat(sigma): parse workbook SQL in the dialect of its Sigma connection Element SQL was parsed in the dialect of the db service prefix's service type, or ANSI. When that service is typed differently from the warehouse Sigma runs the SQL on, dialect-specific SQL lost its tables (BigQuery's SELECT * EXCEPT finds none under Snowflake). When every lineage row of a workbook uses one Sigma connection of a known type, its SQL is now parsed in that warehouse's dialect; otherwise as before. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub 1329d8f73c; not live-verified (no Sigma instance). Accepted unknown: the spec lists no type string for Snowflake or Databricks connections; Sigma's doc examples show "snowflake". * feat(sigma): ingest Sigma Data Models as data models Sigma Data Models, the curated sources workbooks are built on, were not ingested at all. Each one is now a SigmaDataModel data model with one table column per data model element holding that element's columns, the shape PowerBI uses for a dataset. The data model filter pattern applies to them. A data model whose elements cannot be read is kept as it is, and a failed data model listing skips the stale data model pass, so neither drops what Sigma still has. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub 1329d8f73c; not live-verified (no Sigma instance). * feat(sigma): set the Sigma data model owner from ownerId Sigma Data Models have an owner (ownerId), but the new data models carried none. The owner is now resolved through Sigma's member email, as for workbooks. DataHub uses the creator (createdBy) instead; the spec's owner field is the one that tracks ownership changes. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub 1329d8f73c; not live-verified (no Sigma instance). * feat(sigma): link Sigma Data Models to the workbook elements reading them A workbook element built on a Sigma Data Model had no lineage from it. The workbook lineage rows give the link: an element row lists the data model's id among its root sources (dataSourceIds), as Sigma's lineage example shows. Only exact id matches make an edge. The lineage read is shared with the workbook dialect lookup, once per workbook. DataHub parses element-lineage node ids instead, a format the spec does not define. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub 1329d8f73c; not live-verified (no Sigma instance). * style(sigma): log lazily in the new Sigma log calls Seven log calls added earlier on this branch used f-strings, which the ruff suppression check rejects as new G004 debt. They take %-style arguments instead. The four G004 baseline entries for Sigma f-strings that this branch removed are pruned, so the check passes. * perf(sigma): resolve each table reference once per run The lineage stage runs once per dbServicePrefixes entry, and every run searched all the prefixes, so a reference cost P² searches. Keep each reference's cross-prefix answer in a bounded LRU cache and pick the caller's prefix from it. * docs(decisions): record the Sigma stale-pass skip rule * fix(sigma): keep stored data and whole lineage when a Sigma read fails - A workbook whose pages or elements cannot be read is no longer sent with empty charts and data models, nor is its lineage: the server would replace what it holds with none. It is left as stored and kept as seen, as PowerBI does with a report whose pages cannot be read. - An element's lineage edges are sent only once all its tables are looked up, and a failed table search fails that reference for every prefix in the run: under overrideLineage a partial set replaces the element's whole lineage. For the same reason, no data model link is sent into an element whose lineage failed, and a failed data model lookup skips that element's links. - With no dbServicePrefixes the lineage stage makes no Sigma calls, as no table can be linked. - Connection types are read per connection id into the bounded cache, so a type evicted from it is read again instead of being lost. - A stale pass skipped because a read failed is reported as a failure in the run status when the pass is turned on. * revert(sigma): run the stale passes after a failed Sigma read - The dashboard, chart and data model stale passes run in every run, as for other dashboard connectors, even when a Sigma read failed. A skipped pass is no longer reported in the run status, as no pass is skipped. - A workbook whose pages or elements cannot be read is sent with the elements that were read, and its lineage is sent: a failed element page is logged and skipped, as before. - The decision record for the skip (2026-11-07-a-sigma-run-that-cannot-read-everything-skips-the-stale-passes-it-cannot-confirm) is removed, with the tests of the skip. * revert(sigma): send each lineage edge as it is found - An element's lineage edges are sent one by one again, as each table is found, instead of only once every table of the element is looked up. - A failed table search is logged and that table skipped, as before; it is no longer cached as a failure for the rest of the run. - Sigma Data Models are linked to the elements reading them without skipping an element whose lineage or data model lookup failed. Failed-read handling is left to the framework rather than kept in the Sigma connector, as for the stale passes. * refactor(sigma): read page elements through the shared pager - get_page_elements reads every page through _read_all, as the other Sigma listings do, instead of its own page loop; a failed page still keeps the elements read before it. - _workbook_lineage caches the read on the workbook in three lines. - Connection drops connectionId: the type is read per connection id, so the field was never used. - get_chart_details returns None again for a workbook without pages, as on main; the caller already treats None as no elements.
…7339) * fix(sigma): link Sigma columns to the warehouse columns they show Sigma lineage carried no column links: the SQL path sent table edges only, and the fallback compared names exactly while Sigma labels warehouse columns for reading (DEAL_SOURCE_NAME shows as "Deal Source Name"). Both paths link a Sigma label to the column whose name matches once case and separators are ignored, with Tableau's normalize_column_name, moved to metadata.utils.helpers to be shared. A label is linked only when every source table of the element was found and exactly one of their columns matches. A failed table lookup is reported for that table and no longer drops the element's other edges. Verified against Sigma's API docs (downloaded 2026-11-06) and DataHub 1329d8f73c; not live-verified (no Sigma instance). * test(sigma): use placeholder table and column names in the lineage tests The column lineage tests and the docstring now use generic warehouse names (CUSTOMERS, ORDERS) instead of names taken from a real report. * fix(sigma): link no fallback columns when a lineage source could not be read The fallback dropped a source whose /files read failed, or that was not a table, and then counted only the sources left. A label unique among those was linked, although the dropped source could hold the column. get_lineage_details now also says whether every source was read as a table; when one was not, the element keeps its table edges but links no columns.
…ycle (#37298) * fix(sigma): make optional response fields optional in models Sigma's spec marks `total` on the workbook, page, element and query listings, `isArchived` on a workbook, and a query's `name` as optional. When one was missing, validation failed and the client returned no workbooks, elements or queries. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub; not live-verified (no Sigma instance). * test(sigma): add a faked Sigma HTTP fixture to the connector tests The connector tests get a SigmaSource with its real client, whose HTTP is answered from Sigma-spec-shaped routes that a test can change. A `page` query parameter is part of the route key, and an int route answers with that HTTP status. * feat(sigma): record workbook created and updated dates in lifeCycle Sigma returns createdAt and updatedAt for every workbook; the connector parsed createdAt as plain text and dropped both. The workbook dashboard now carries them as lifeCycle created and updated, as Hex does. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub 1329d8f73c; not live-verified (no Sigma instance).
…7343) * Regenerate bot tokens with a shared class that skips current tokens and checks the server JWKS * Document JWT signing key rotation as a hard cut with a decision record * Cover bot-token regeneration idempotence and the JWKS key check in OpsRegenerateBotTokensIT * Report a failed bot by its error type only and share the deploy defaults Bot results can reach an HTTP caller, and a database error message can carry the stored user JSON, so a failed bot names the exception type and points at the server log. The redeploy after regeneration and deploy-pipelines now read their chunk size and per-pipeline deadline from one pair of constants. * Write the IT's stale bot token through the user DAO so it runs on Postgres The raw UPDATE bound a string to the json column, which Postgres stores as jsonb. The DAO holds the MySQL and Postgres forms of that write. The guide now states what the IT asserts: a regenerated token works on its first request. * Prove one regeneration run replaces every stale bot token signed by an old key The stale token is now signed by a freshly generated key under a retired kid, the state a key rotation leaves behind, so the server rejects it on its signature. One run replaces two stale bots, both new tokens work on first use, and the current ingestion-bot keeps working. * Decode JWK numbers as unsigned so a compliant JWKS matches the key * Skip bots whose token was revoked instead of minting them a new one * Audit each bot token regeneration and verify a new token before saving it - An external secrets manager deletes a revoked token's secret and stores null in its place. readToken now returns that null instead of failing, so the bot is skipped as revoked. - Saving through updateIfCurrent records no change event, which the old command's save did. Each regenerated bot now records a masked ENTITY_UPDATED event, so the audit log and event subscriptions see it. - The JWKS check compares only the public key. Each new token is now verified under it before it is saved, so a private key from another pair stores nothing and the bot is reported FAILED. * Name the operator in the regeneration change event and mask it like the user repository does - createUserChangeEvent takes the actor the audit log records. A sign-in passes the user, and the regenerator passes updatedBy (admin), as a REST write does. The event named the bot before. - The event masks profile webhook secrets through ProfileWebhookSecrets.masked, as UserRepository.forChangeEvent does for the repository's own events. - The IT asserts the actor, that the event has no authentication mechanism, and that neither the token nor its stored form appears in it. The saved entity holds the token encrypted, so a check for the plaintext alone could not fail. * Add --all to regenerate-bot-tokens and say what a plain run replaces The help line still said the command regenerates all bot JWT tokens, but a run now replaces only the tokens the configured key does not sign. On main every run replaced every token, which an operator may rely on after a token leaked or to give every bot a new expiry. --all does that again. A revoked bot stays revoked either way. UserUtilTest pins that a user change event masks profile webhook secrets. * Keep replacing every bot token by default and add --skip-current for re-runs A plain regenerate-bot-tokens run replaces every non-revoked bot token, as it did before this branch, so it still serves a leaked token, a new expiry and a cluster name change. --skip-current leaves tokens the configured key already signs unchanged, for re-running a key rotation. BotTokenRegenerator callers name the scope explicitly. * Keep a leaked token out of --skip-current re-runs and restore the staleness bound After a changed-concurrently failure the runbook re-runs with --skip-current only during a key rotation, since that flag keeps a leaked token that still verifies. The replaced-token check waits maxStaleness plus one second again, as the per-server verifier promises for the ops CLI. --skip-current is now shown to replace a stale token, every exit-2 cause is named, and the decision record states the redeploy. * fix(jwt): address signing-key rotation review * Record that a rotation stops every server before any starts with the new key The runbook forbids a rolling restart because a restarted server can fetch a load-balanced peer's old key through publicKeyUrls and keep it for 24 hours. The decision record now states the same rule and that operators check each server's JWKS, since regenerate-bot-tokens reads only one.
A JSON patch built from a stale copy targets a member the server no longer has, and the 400 message embeds the whole entity JSON. Show a refresh hint instead.
… connection (#32920) * Fixes #29494: NPE in ServiceEntityResource.unmask when request has no connection unmask() guarded against originalService.getConnection() == null but not against service.getConnection() == null (the incoming request). A PUT with no connection field (idempotent ensure-service-exists) threw NullPointerException when the service already existed. Added the missing null check. * Apply spotless formatting * Adds integration test reproducing the unmask NPE on connection-less PUT Per review feedback (harshach): put_updateWithoutConnection_preservesExistingConnection_200 drives a raw PUT /v1/services/databaseServices with no connection field against a service that already has one, hitting ServiceEntityResource.unmask() directly. Fails with a 500 (NPE) without the null-check fix; asserts a 200 and that the pre-existing connection is left untouched. Also adds put_updateWithoutConnection_whenNoExistingConnection_200 as a smoke check on the neighboring branch (no connection on either side), which was already guarded before this fix. --------- Co-authored-by: Михаил Иванов <mihailivanov@MacBook-Pro-Mihail.local> Co-authored-by: Mikhail Ivanov <michael.ivanov@a-hub.ru> Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com>
…e entered again (#37269)
#36770) * Fix the Data Insights run-record undercount so that per-step and job-lev taskr run 0147. Per-service and per-day step keys are now unique in the cost-analysis and web-analytics workflows, a new `WorkflowStatsBatchAggregationTest` passes, and the planned spotless check passes. * Fix Data Insights step totals across services and days
…om property (#37300) * fix(sigma): make optional response fields optional in models Sigma's spec marks `total` on the workbook, page, element and query listings, `isArchived` on a workbook, and a query's `name` as optional. When one was missing, validation failed and the client returned no workbooks, elements or queries. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub; not live-verified (no Sigma instance). * test(sigma): add a faked Sigma HTTP fixture to the connector tests The connector tests get a SigmaSource with its real client, whose HTTP is answered from Sigma-spec-shaped routes that a test can change. A `page` query parameter is part of the route key, and an int route answers with that HTTP status. * feat(sigma): set the workbook latestVersion as a dashboard property Sigma's workbook detail carries latestVersion, the most recently published version, which changes on every publish. It is patched onto the dashboard extension after the dashboard exists, behind includeCustomProperties, and registered once per run, as decided in ADR:2026-11-02-run-changing-dashboard-custom-properties-are-patched-after-the-dashboard The property is a number: the spec types it double and Sigma's docs show 1.1. DataHub reads it as int and emits it as free text. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub 1329d8f73c; not live-verified (no Sigma instance). * docs(decisions): record the Sigma latestVersion custom property * fix(sigma): write latestVersion only when nothing changed since the read A latestVersion patch built from a dashboard read with no custom properties replaced the whole extension, so a property a user set after the read was lost. The create-or-update PUT also overwrote the description and display name of a latestVersion property an administrator registered after Sigma's check. Both writes now carry the version Sigma read as If-Match and, on 412, are retried after a fresh read, up to MAX_OPTIMISTIC_LOCK_RETRIES. Sigma patches the value itself, as a PatchRequest carries no If-Match, and adds the definition with a PATCH of the dashboard type. Checked against a local OpenMetadata server: a stale If-Match gets 412 and leaves the entity unchanged; the current one gets 200. * Revert "fix(sigma): write latestVersion only when nothing changed since the read" This reverts commit 452c8af. * ci: retrigger checks skipped by the pull_request_target brownout
#37297) * fix(sigma): make optional response fields optional in models Sigma's spec marks `total` on the workbook, page, element and query listings, `isArchived` on a workbook, and a query's `name` as optional. When one was missing, validation failed and the client returned no workbooks, elements or queries. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub; not live-verified (no Sigma instance). * test(sigma): add a faked Sigma HTTP fixture to the connector tests The connector tests get a SigmaSource with its real client, whose HTTP is answered from Sigma-spec-shaped routes that a test can change. A `page` query parameter is part of the route key, and an int route answers with that HTTP status. * feat(sigma): set the dashboard project to the workbook workspace Sigma dashboards had no project, so they could not be grouped or filtered by workspace. The project is the first segment of the workbook path, where Sigma puts the workspace before its folders. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub 1329d8f73c; not live-verified (no Sigma instance). Accepted unknown: the spec does not describe the workbook path; the "/" separator and the workspace as its first segment come from Sigma's doc examples and DataHub's reading of the same field. * test(sigma): check projectFilterPattern filters by workspace With no project on Sigma dashboards, any projectFilterPattern dropped every dashboard. The workspace project from the previous commit fixes that; this test pins it for an include and an exclude pattern, and the connector doc says what the pattern matches. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub 1329d8f73c; not live-verified (no Sigma instance). Accepted unknown: the workspace is the first "/" segment of the workbook path (doc examples and DataHub, no spec description). * docs(decisions): record the Sigma dashboard project rule --------- Co-authored-by: Pablo Takara <pjt1991@gmail.com>
* Make ODCS import/export conform to the published ODCS v3.1.0 schema so s taskr run 0170. * Fix ODCS SLA integer overflow and record format decisions * Make ODCS import/export conform to the published ODCS v3.1.0 schema so s taskr run 0170. * Assert ODCS custom properties using parsed YAML * Isolate ODCS backfill in existing migration entry-point fixture * fix(odcs): preserve unmapped import metadata generically * fix(odcs): export native contracts with standard fields and custom properties * fix(odcs): keep native property deletions across round trips * fix(odcs): report unsupported array item rules * Use schema-backed versioned ODCS export mappers * Validate native length handling and use conforming ODCS fixtures * Correct export fixture indentation after text-block normalization * Explain pinned-schema validation after ODCS metadata restoration * Centralize ODCS schema provenance and license attribution * Support published historical ODCS export versions * Verify required ODCS schema corruption diagnostics * Centralize build-time schema preparation for model generation * Add ODCS export version selector * Test imports and schema builds of generated ODCS Python models * Fix historical ODCS exports after metadata restoration * Keep schema preparation in generator-owned workspaces * Fix ODCS quality preservation and exact SLA validation * Anchor ODCS import baselines before entity name resolution * Keep legacy ODCS quality normalization atomic * Trigger CI --------- Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
…ge (#37299) * fix(sigma): make optional response fields optional in models Sigma's spec marks `total` on the workbook, page, element and query listings, `isArchived` on a workbook, and a query's `name` as optional. When one was missing, validation failed and the client returned no workbooks, elements or queries. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub; not live-verified (no Sigma instance). * test(sigma): add a faked Sigma HTTP fixture to the connector tests The connector tests get a SigmaSource with its real client, whose HTTP is answered from Sigma-spec-shaped routes that a test can change. A `page` query parameter is part of the route key, and an int route answers with that HTTP status. * feat(sigma): tag dashboards with the workbook certification badge Sigma's certification badge (Endorsed, Warning, Deprecated) marks whether a workbook can be trusted, and the connector dropped it. When tags are on, each workbook's /v2/files entry is read once and its badge is added to the dashboard as a tag in a SigmaBadge classification, as Hex does with its project status. A workbook without a badge, or whose read fails, is ingested without one. Verified against Sigma's OpenAPI spec (downloaded 2026-11-06) and DataHub 1329d8f73c; not live-verified (no Sigma instance). Accepted unknown: Sigma's docs show no /v2/files row for a workbook; reading it by workbook id rests on the spec's "use the workbookId as the inodeId" and DataHub's fixtures. * style(sigma): log the failed badge read lazily The badge read's warning used an f-string, which the ruff suppression check rejects as new G004 debt. It takes %-style arguments instead. * docs(decisions): record the SigmaBadge tag classification --------- Co-authored-by: Pablo Takara <pjt1991@gmail.com>
…ilures (#37082) * fix: finish sampling before failing unavailable classification models * test: exercise effective classification success thresholds * fix: preserve per-column inference memory error handling * Refactor classification model loading and address Sonar findings
…panel (#37464) * fix(ui): load column custom properties from the API in the Explore side panel The panel re-seeded a tableColumn from the Explore search hit on every remount, so a value saved there showed 'No value yet' until the page was refreshed and Elasticsearch had reindexed. Fetch the column (tags, extension) via GET /columns/name/{fqn} and overlay it on the search hit. * fix(ui): ignore stale panel fetches and load columns of deleted tables A late response for a previously selected entity no longer overwrites the panel, and the column fetch passes include=all so a soft-deleted parent table does not 404. * chore(playwright): auto-refresh impact-map.generated.json * style(ui): organise imports in EntitySummaryPanel --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
) * fix(sigma): preserve pagination tokens and SQL column provenance * fix(sigma): omit ambiguous wildcard column mappings * fix(sigma): keep pivot tables as data elements is_data_element accepted only the "table" and "visualization" element types, so a pivot table ({"type": "pivot-table", "vizualizationType": "pivot"}) lost its chart, its data model and its lineage. On main it kept all three through its vizualizationType, and with markDeletedCharts and markDeletedDataModels on by default an upgrade would have deleted the existing pivot charts and data models. Sigma's spec says the element lineage endpoint takes "a data element, such as a table, pivot table, or visualization" and errors only on UI or control elements (GET /v2/workbooks/{workbookId}/lineage/elements/ {elementId}), and Sigma's docs list pivot tables as data elements (Intro to Element Types). "pivot-table" is the element kind Sigma's workbook specification uses for a pivot table. Not live-verified (no Sigma instance). * fix(sigma): omit SQL columns more than one table could hold The SQL parser gives an unqualified column a path from every table the query reads, so SELECT CUSTOMER_ID FROM CUSTOMERS c JOIN ORDERS o ... linked "Customer Id" from both tables, and an unqualified column was linked from the one resolved table even when a table missing from OpenMetadata could hold it. That is a guess, which REVIEW.md "Lineage does not guess" rules out. An output is now omitted when the same source column name reaches it from more than one table that could hold that column: a table that has it, is missing from OpenMetadata, or has no known columns. This is the rule _expand_sql_wildcards already applies to * outputs. An unqualified column that only one resolved table has, and every qualified column, keep their lineage. The parsed paths cannot tell an unqualified column from an expression over the same column of two tables, such as CONCAT(c.ID, o.ID), so that expression is withheld too; the test records it. Not live-verified (no Sigma instance). --------- Co-authored-by: Akash Verma <akashverma0768@gmail.com>
* refactor(ci): diagnose dequeue from GitHub data * fix(ci): recognise curl's bare HTTP status in dequeue diagnosis curl -f reports "The requested URL returned error: 504" without naming HTTP, so a failed curl download was reported as a possible PR regression instead of a dependency download failure. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * ci: run dequeue diagnosis tests on pull requests The report runs main's copy under pull_request_target, so tests inside it never ran on the PR that changed the script, and a failing test there skipped the comment and Slack alert. Run them in a path-filtered pull_request workflow instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * refactor(ci): explain each run's first failed job in the dequeue report Report each workflow run by its first failed job: gates and summaries need the jobs they check, so they finish later and are listed with the rest. Cancelled jobs are never the cause, and nothing is compared with main, whose runs can fail for reasons queue runs do not share. The shared script now renders the whole comment and Slack payload from the queue commit's check runs, including the Playwright summary's failed tests, passed in with --failed-tests. The workflow resolves the event, collects those test names, runs the script and posts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(ci): preserve dequeue alerts after read errors * chore(ci): remove dequeue tooling tests --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…re (#37443) Co-authored-by: detail-app[bot] <180357370+detail-app[bot]@users.noreply.github.com>
…or data assets (#37289)
* fix(persona): separate scope and enforce access Members could receive a cached document containing assets they could not view. Render member context with caller permissions and isolate preload rules from search defaults. Validate filters, expose rule toggles, and count inherited users once. * fix(persona): validate filters during upserts PUT requests receive a temporary UUID before resolving the stored persona. Compare existing rules by persona name so both create and update can validate filtered rules. * fix(persona): preserve filters during rule edits * fix(persona): skip unchanged filter validation * fix(persona): cache sources and enforce visibility * test(persona): verify typed Explore filters * fix(persona): page beyond capped search totals * fix(persona): keep product members lightweight * fix(persona): skip invalid saved search scopes * test(persona): assign the scope regression caller * fix(persona): bound candidate scans per rule
…ot TestCase.__init__ (#37246) * test(ingestion): build unit-test sources in setUp, not TestCase.__init__ pytest >= 8.2 instantiates every unittest TestCase method at collection and keeps the instance until that test's teardown. 65 unit classes built their connector source in __init__, so collection did all of that work up front, once per xdist worker: ~10 min and 3.55 GB peak per process. The SonarCloud ingestion nightly removes the runner's swap, so its unit job was OOM-killed ("runner has received a shutdown signal") since the pytest 9.0.3 bump. Move that setup into setUp (collection: 574s -> 14.5s, 3.55 GB -> 1.17 GB) and fail collection in tests/unit/conftest.py when a TestCase overrides __init__, so the pattern does not come back. * test(ingestion): catch an inherited TestCase.__init__ in the collection guard
#37419) * AI context: a metric concept carries its filters, granularity and unit * AI context: render a metric's filters as one AND, drop blank ones, and record the concept context contract * Update generated TypeScript types and dereferenced schemas --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix Python CI classification model preparation and caching * Read the Python CI matrix from pyproject.toml * Document classification model profiles and cache ownership * Prefix reusable classification workflows * Simplify classification model preparation and warming * Separate test setup and use native model cache transport * Use standard cache actions for sequential model preparation * Disable general uv cache persistence in Python test setup
* fix: require service edit permission for manual AutoPilot runs * fix: validate manual AutoPilot payloads and document permissions * Restore legacy heading styles from main
…ssary term move is approved (#37467) * Fixes #37466: Rewrite tagged assets in the background when a held glossary term move is approved Accepting a held move or rename applied it inside POST /tasks/{id}/resolve and waited on an _update_by_query across the global search alias. On a large cluster that takes ~60s and can fail with 429 (too many scroll contexts), so the reviewer's request timed out. The DB rewrite stays synchronous; the tagged-asset rewrite now starts after commit on the async executor, as an unheld move already does. * Order glossary tagged-asset rewrites and record the decision Every glossary-term tagged-asset rewrite, waited on or not, now runs on one single-threaded lane in post-commit drain order, so a later rename cannot overtake an approved move's background rewrite. Adds ADR:2026-11-10-an-approved-glossary-term-move-rewrites-tagged-assets-in-the-background.
…ror reason (#37436) * Fixes #37056: sign the SAML configuration check and show the IdP's reason The SAML validator checked the IdP SSO Login URL with a hand-built AuthnRequest that was never signed. It read the first 500 bytes of the reply, let a 4xx pass when those bytes mentioned "saml" or "invalid", and otherwise said "SSO URL returned error (HTTP 400). Please verify the URL is correct." A Microsoft Entra application that requires signed requests answers an unsigned request with AADSTS76021, so a configuration with Send Signed Auth Request on could not be saved, and Entra's reason, which sits in the page's $Config script past byte 500, was never shown. - The check sends the request the live login sends: OneLogin builds it from the candidate configuration with SamlSettingsHolder.buildSettings and signs it when request signing is on. - A rejection carries the IdP's own reason: Entra's AADSTS message from $Config, otherwise the page's visible text (IdpErrorResponse). - A 4xx that mentions "saml" or "invalid" no longer passes as a warning, since the check request is now the real one. - An SP private key OneLogin cannot load is reported on the SP private key field, because the live login cannot start with it either. - Recorded in ADR:2026-11-09-the-saml-configuration-check-sends-the-live-sign-in-request. * Show why java-saml rejected a SAML response at the ACS The ACS threw "SAML authentication failed" as soon as java-saml did not accept a response, before reading its reason, so the person signing in never learned the cause. The branch that was meant to report getLastErrorReason() could not run: java-saml only records errors when it does not authenticate. The login now fails with "SAML response rejected: <java-saml's reason>", as SamlResponseValidator already reports its own checks. For example, an SP in strict mode that wants signed messages, behind an Entra application that signs only the assertion, now answers "SAML response rejected: The Message of the Response is not signed and the SP requires it". SamlResponseValidator holds the acceptance check, which Test Login now shares instead of keeping its own copy. * Make the SAML security switches mean what the settings form shows The settings form offers Want Messages Signed and Want Assertions Signed as switches of their own, but java-saml checks them only in strict mode, so with strict mode off they did nothing. SamlResponseValidator, which already applies java-saml's strict-only checks to every response, now also rejects a response whose Response or Assertion element lacks the signature the switch asks for, in java-saml's wording. The SP certificate and private key from the form reached java-saml only when the SP signed requests or required encrypted assertions, and the form hides the encryption switch. Microsoft Entra encrypts assertions once token encryption is on, so with request signing off the assertion could not be decrypted even though the key was filled in. The certificate and key now go to java-saml whenever they are configured; the keystore is still read only when signing or encryption needs it. Recorded in ADR:2026-11-10-saml-security-settings-mean-what-the-form-shows. * Show the SAML signing switches only in strict mode instead of enforcing them The previous commit made Want Messages Signed and Want Assertions Signed hold with strict mode off. That would stop a working login on upgrade wherever the identity provider does not sign the element a switch names (Keycloak's default client signs the Response but not the Assertion), and an admin whose only login is SAML could not reach the form to turn the switch off. SamlResponseValidator no longer applies the two switches; java-saml applies them in strict mode, as before. The settings form now shows the two switches only while Strict Mode is on, so it no longer offers a switch that does nothing. Values stored while they are hidden are kept and take effect once Strict Mode is on. The SP certificate and key still go to java-saml whenever they are configured. The configuration check now builds the sign-in request before it asks the outbound URL policy whether it may send it. Building needs no network, so a configuration the live login cannot turn into a request, such as request signing with a PKCS#1 SP key, fails the check even for an identity provider on a private network that the policy does not let the server probe. ADR:2026-11-10-saml-security-settings-mean-what-the-form-shows is updated to match.
…base lineage (#34385) * fix(trino): use model_str() for databaseSchema.name in cross-db lineage (#34279) EntityReference.name is typed as plain str; calling .root on it raised AttributeError for every run of processCrossDatabaseLineage=true, so the entire cross-database step failed. Replace .root with model_str(), which handles both str and RootModel values safely. Fixes #34279 Prepared with AI assistance (Claude Code, Anthropic), reviewed for correctness before submission. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(trino): sort imports and assert the mapped schema FQN in lineage test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Move Trino schema name tests into the existing lineage test file - Fold the three cross-database schema tests into the sibling Trino lineage test file and drop the new file - Model databaseSchema.name as a plain str in the existing cross-database test, matching EntityReference, so it also fails on the old .root access --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> Co-authored-by: Mayur Singal <39544459+ulixius9@users.noreply.github.com> Co-authored-by: Mohit Tilala <tilalamohit123@gmail.com> Co-authored-by: Mohit Tilala <63147650+mohittilala@users.noreply.github.com>
…ings and MetricSearch (#37514) - Context Center bulk move/delete/download: #37325 clears the selection when the search changes, so select both files from one search on a uuid their names share. - ContextCenterArchive lazy-load beforeAll: 18 uploads each wait up to 90s for extraction; give the hook a 3-minute budget. - LineageSettings: an upgraded instance stores no graphPerformanceConfig and the server fills defaults on write; compare against the seeded value. - MetricSearch: assert no error toast instead of any alert-bar, which catches other workers' success notifications.
…37510) * fix(playwright): align ontology library specs with the install job #37489 moved library installs to the ONTOLOGY_PACK_INSTALL background job and pack reviews to /library/{pack}/summary, but the specs it touched never ran (Playwright was skipped on that PR), so the nightly AUT failed 7 ontology tests. - OntologyNativeLibrary: the industry filter asserted sosa-ssn both visible and absent; assert the healthcare pack fhir is filtered out instead. - OntologyNativeImportReview: wait for the install job, not a change-set apply; DCAT reviews 48 New and 14 Skipped (properties whose ranges sit outside the pack), so Publish grows by 48; route the failed review to /summary. - OntologyNativeOperations: drop the change-set draft interception and the /preview replay the UI no longer calls; retry a lost install start and assert a reinstall settles as an empty (total 0) job. - utils/ontologyStudio: waitForPackInstallJob returns the settled job. * fix(playwright): expect the pack abbreviation in the library's aligned-to badge The detail badge renders the pack abbreviation (Aligned to SOSA/SSN), not the standard's full name.
…cs failing on 2.1 (#37512) * test(playwright): select bulk documents under one search and open OSS workflows by URL Context Center: since #37325 changing the documents search clears the selection, so selecting two files with a search per file left only the last one selected and '2 selected' never appeared. Give the files a shared prefix and select both under one search (selectDocumentsBySearch). Workflows: the list shows 12 cards per page and the seeded workflow definitions already fill page 1, so the test workflow was on page 2 and never clickable. Open the detail page by URL. * chore(playwright): regenerate impact map
❌ 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
|
| Compact |
|
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source
Describe your changes:
No issue: release-branch sync, no new code. Every change it brings is a
mainPR that already merged.Brings
2.1up to date withmain(46 commits) ahead of the2.1.0-rc2release. Per the release thread, 2.1 is refreshed by mergingmainrather than by cherry-picks; merging (instead of recreating 2.1 frommain) keeps 2.1's2.1.0-rc2versions and its 2.1-specific CI.All 10 conflicts are in CI files and one decision record, where
main's #35426 / #37424 / #37391 meet 2.1's own versions of the same hardening (#37470, #37480). Resolution:airflow-apis-tests.yml,data-access-request-e2e.yml,playwright-sso-login-nightly.yml,maven-build-collate.yml(branch lines)refs/heads/2.1/branches: ["2.1"]vsmaindiffermaven-build-collate.yml(SHA/EVENTenv)setup-openmetadata-test-environment/action.ymlpy-tests-shared.ymlOM_SKIP_CLASSIFICATION_MODELS/ spaCy downloadvalidate-jsons-yamls.yml,scripts/tests/test_pr_workflow_security.pytest_release_ci_security.pyand keeps thecontinue-on-errorassertmerge-queue-evidence-tests.ymlmainby #37391docs/decisions/2026-11-10-pr-jobs-never-receive-credentials.mdAfter the merge, 2.1's workflows still reference
2.1in the same 10 places as before; no rc2 version line is removed.warm-classification-models.yml(new from #37424) runs on the default branch only, likemain's other cache warmers.Note: this repo squash-merges, so git will not record that 2.1 contains
main; the next refresh may conflict on the same lines.Type of change:
Tests:
python .github/scripts/check_pr_workflow_security.py→ passes.pytest .github/scripts/tests/test_pr_workflow_security.py .github/scripts/tests/test_release_ci_security.py→ 46 passed, 2 skipped (by design: "Newer 2.1 uses the separate SSO nightly workflow").main's; the PR's own checks run here.actionlintwas not available locally; the PR's actionlint job covers it.