Skip to content

Fixes #37164: Only Approved glossary terms can be applied through the API - #37643

Merged
yan-3005 merged 7 commits into
mainfrom
yan-3005/api-restriction-on-glossaryterm-tagging
Nov 12, 2026
Merged

yan-3005 merged 7 commits into
mainfrom
yan-3005/api-restriction-on-glossaryterm-tagging

Conversation

@yan-3005

@yan-3005 yan-3005 commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Fixes #37164

The UI only lets a user pick Approved glossary terms when tagging an asset, and disables "Add assets" on a term that is not Approved. The API had no such rule: create, PUT, PATCH, bulk PUT, createMany, a term's assets/add, the column APIs and a table's dataModel all accepted Draft, In Review, Rejected or Deprecated terms. So the same governance rule held or failed depending on which client applied the term.

This PR makes the server reject, with a 400, any write that newly applies a glossary term that is not Approved, on every write path. A term that leaves Approved after it was applied stays on the asset, and writes that carry it back unchanged (ingestion re-sends, edits to other fields, moves) still succeed. Classification tags are untouched.

Ingestion: dbt is the only connector that attaches glossary terms. It will skip non-Approved terms client-side with a warning instead of failing the run, tracked in #37256. #37256 must ship with or before this PR, or dbt runs that reference non-Approved terms start getting 400 on PUT /tables/{id}/dataModel.

Type of change:

  • Bug fix

High-level design:

Rule (recorded in docs/decisions/2026-11-06-only-approved-glossary-terms-can-be-newly-applied-to-an-asset.md): a write is judged per target. A target is the asset, or one of its inline fields (column, schema field, task, ML feature), addressed by FQN. A glossary term is "new" on a target that does not already hold it in its own right. A term that is only inherited from the parent, or held on a different column, counts as new. A term with no entityStatus predates the approval lifecycle and counts as Approved, the same as the UI does.

ApprovedGlossaryTermGuard (new, jdbi3) holds the rule:

  • Targets on each side. It walks the entity and its tagged inline fields. EntityRepository.taggedFieldContainers supplies the fields, from the ChildFieldResolver registry by default; FileRepository overrides it to add File columns.
  • Moves and re-parents. Updated fields are matched to their stored selves by container path plus lower-cased name path, not by FQN. This matters because a container move rewrites data-model column FQNs before tag_usage is re-keyed.
  • Lookups. All requested terms are looked up once. Approved terms short-circuit. For the remaining terms, held terms are dropped first against the loaded original, then against tag_usage (getTagsByTargetFQNHashes) for any target the loaded state doesn't show. A partial projection therefore can't make a stored term look new, and writes carrying only Approved terms pay no extra read.
  • Quoting. Terms are compared by FQN hash, so quoting a segment can't disguise a term.

Where it runs:

  • Both create funnels: createNewEntity and createManyEntities.
  • BulkEntityCreator.prepare, so createMany fails only the offending input with VALIDATION_ERROR.
  • The start of every EntityUpdater flush (flushUpdate, updateWithDeferredStore), before session consolidation rebases original. This covers PUT, PATCH, bulk PUT updates, the column API and column bulk-update apply, and import updates.
  • TableRepository.addDataModel (dbt).
  • Up front in AssetTagLabelService.add. That endpoint exists only to apply the term, so a non-Approved term is rejected for every asset in the request.
  • The column bulk-update search dry-run and the column CSV dry-run, which now report the rows the apply would reject.
  • /columns/bulk-update-preview returns 400, since its response has no per-column error field.

Not changed:

  • CSV import already rejected non-Approved terms row by row (EntityCsv) and keeps that stricter check.
  • The UI already filters to Approved terms.

Alternatives rejected:

  • Checking the full tag list, like checkDisabledTags. That fails every unrelated edit of an asset that still holds a since-deprecated term.
  • Checking at the DAO / applyTags* layer. That also sees rewrites of existing tags: CSV import re-adds, column re-adds after a type change, rename re-keying.
  • Exempting bots. Any bot token would bypass the rule. Ingestion is handled client-side in dbt ingestion applies glossary terms from dbt meta without checking their status #37256 instead.

Rollout / compat:

  • No schema, migration or REST contract change.
  • Existing tags are untouched.
  • Clients that apply non-Approved terms now get 400. That is the intent.

Tests:

Use cases covered

  • Create / PUT / PATCH a table with a Deprecated term at table level → 400; with a Draft term on a column → 400.
  • Bulk PUT: a new table with a Deprecated term fails that table only; an existing table gaining a Deprecated term fails and stays unchanged.
  • createMany (test cases, onConflict=skip): the input with a Deprecated term fails as VALIDATION_ERROR, the other input is created.
  • assets/add with a Deprecated term → 400, no tag applied.
  • PUT /tables/{id}/dataModel bringing a Deprecated term to a column → 400. Re-sending a data model whose term the column already holds, after it was deprecated → 200, term kept.
  • Column API (PUT /columns/name/{fqn}) and /columns/bulk-update-preview with a Deprecated term → 400.
  • File column with a Deprecated term → 400.
  • API endpoint: a Deprecated term added to a request-schema field that shares its name with a response field that holds it → 400.
  • A term held on column A can't be added to column B, or to the table, once it's deprecated.
  • A term applied while Approved and then deprecated stays on the table and column, and PATCH (description), PUT re-send and bulk PUT re-send all succeed.
  • Moving a container whose data-model column holds a since-deprecated term → 200, term kept.
  • Approved terms can still be applied at table and column level.

Unit tests

  • ApprovedGlossaryTermGuardTest (new, 10 cases): per-target judgement, inherited ≠ held, in-memory vs tag_usage fallback, no tag_usage read for Approved terms, nested field walk, moved fields keyed by stored FQN, same-named fields in different containers, quoted FQN, case-only rename.
  • TagLabelUtilTest (+3): applied-term extraction, Approved / unstaged / In Review status, no lookup when there are no terms.
  • ColumnRepositoryImportTest (+2): column CSV dry-run and search-mode bulk-update dry-run report the rejected column, and pass the column that already holds the term.
  • Run locally: ApprovedGlossaryTermGuardTest, TagLabelUtilTest, ColumnRepositoryImportTest: 45 run, 0 failures. openmetadata-mcp CreateEntityToolTest, PatchEntityToolTest: 74 run, 0 failures.
  • Coverage: not measured with JaCoCo. The changed EntityRepository / TableRepository / FileRepository / AssetTagLabelService / BulkEntityCreator lines are exercised by the ITs below.

Backend integration tests

  • Added openmetadata-integration-tests/.../GlossaryTermApprovedTaggingIT.java (19 cases), owned by Glossary*IT in the impact map. Updated WorkflowDefinitionResourceIT#test_approvedGlossaryTermMoveRewritesTaggedAssetsInSearch so its setup only applies Approved terms.
  • Not applicable for ingestion.

Local runs on the branch rebased onto main @ 6e80dfcd5e0. The branch was then rebased onto 3ea4bcfafb0, which only added 16 unrelated commits; that head was compile-checked locally, and its IT lanes run in GitHub Actions (MySQL + Elasticsearch, focused scope; make java_affected selects the full suite because EntityRepository changed, so the full plan is left to the merge queue):

Lane Classes Result
parallel GlossaryTermApprovedTaggingIT + FileResourceIT, TestCaseResourceIT, ColumnResourceIT, APIEndpointResourceIT, ColumnBulkUpdateIT, ColumnCsvImportIT, ContainerResourceIT, DashboardDataModelResourceIT, DataProductResourceIT, DatabaseSchemaResourceIT, GlossaryResourceIT, GlossaryTagChildPersistenceIT, GlossaryTagChildPropagationIT, GlossaryTermAutomationDraftIT, GlossaryTermInheritedReviewerApprovalIT, GlossaryTermMoveApprovalIT, GlossaryTermResourceIT, MetricResourceIT, MlModelResourceIT, PipelineResourceIT, SearchIndexResourceIT, TableColumnTagsIT, TableDataModelCertificationIT, TableResourceIT, TagResourceIT, TopicResourceIT, WorksheetResourceIT 4709 run, 0 failures, 12 errors, 352 skipped. GlossaryTermApprovedTaggingIT passed 19/19. All 12 errors are in TagResourceIT ("Recognizer must set recognizerConfig.supportedLanguage"); they come from #37517 on main, not from this branch.
isolated WorkflowDefinitionResourceIT 145 run, 0 failures. test_approvedGlossaryTermMoveRewritesTaggedAssetsInSearch (added in #37467) tagged a table with an In Review term. Its setup now approves the term first, picking the approval task by the term's id because the aboutEntity filter matches by FQN prefix.

Unit tests: ApprovedGlossaryTermGuardTest, TagLabelUtilTest, ColumnRepositoryImportTest pass. In openmetadata-mcp, CreateEntityToolTest/PatchEntityToolTest ran 75 with 3 errors: context-memory NPEs in ContextMemoryEvidenceAccess/SubjectContext. This branch doesn't touch MCP or context-memory code. I haven't confirmed whether they also fail on clean main.

GitHub Actions on c1cc5deb628, full suite:

Both runs are red, but every failing test also fails on main in the same lane and engine. I compared against main runs 43187243593, 43189778400 and 43188149593.

  • parallel lane: DataContractResourceIT ×2, DatabaseServiceResourceIT, DomainReassignmentAuthorizationIT, OntologyBulkIT, TaskResourceIT, TeamResourceIT ×2. On PostgreSQL also DomainMoveApprovalAuthorizationIT, IncidentGroupsIT ×3 and AIContextMcpIT; on MySQL also TestNamespaceTest.
  • global-state lane: MetricMigrationIT.
  • rdf lane: RdfLibraryPackActivationIT.

This PR adds no new failures. The new rejection message appears in the CI logs only for GlossaryTermApprovedTaggingIT's own expected cases.

Not run: the rest of the full plan, JavaUIIT and search-it.

Ingestion integration tests

Playwright (UI) tests

No UI changes. I ran the impacted specs locally against this branch's server: the packaged distribution at acb992c8794, with MySQL + Elasticsearch 9.3.0, sample data ingested, PLAYWRIGHT_IS_OSS=true, and --project=chromium.

Specs:

  • Impact-mapped: Features/Table, Features/Topic, Pages/CustomProperties, Pages/CustomPropertiesApiContract.
  • Glossary tagging paths: Pages/Glossary, Features/Glossary/GlossaryAssets, Features/Glossary/GlossaryBulkAssetPermissions, Features/BulkEditEntity, Features/ColumnBulkOperationsTagsGlossary.

257 tests: 255 passed, 2 failed, both passing on re-run (CustomProperties.spec.ts:994, Glossary.spec.ts:2379):

  • CustomProperties.spec.ts:994: a search-result timing assertion on a Duration custom property.
  • Glossary.spec.ts:2379: the tag dropdown didn't open in the create-glossary form, before any request was sent.

Notes:

  • None of the changed Java files are in .github/playwright/impact-map.json. Adding them is a repo-wide mapping decision, so it's left out of this PR.
  • The packaged distribution needs parsson ahead of opensearch-deps on the classpath to start. The shaded opensearch-deps jar registers a stale GlassFish JsonProvider. That's on main and unrelated to this PR; I worked around it locally.

Manual testing performed

None beyond the integration tests above, which drive the real server over HTTP (MySQL + Elasticsearch testcontainers).

UI screen recording:

Not applicable: backend-only change.

Checklist:

  • I have read the CONTRIBUTING document.

  • My PR title is Fixes <issue-number>: <short explanation>

  • My PR is linked to a GitHub issue via Fixes #<issue-number> above.

  • I have commented on my code, particularly in hard-to-understand areas.

  • For JSON Schema changes: not applicable, no schema change.

  • For a UI feature or feature task: not applicable.

  • I have added tests (unit / integration / Playwright as applicable) and listed them above.

  • Self-review: I reviewed the final diff against REVIEW.md (the pr-checklist skill runs it) and fixed every 🔴 finding, or answered it on the line below.

    • Three fresh-eyes passes. The first two raised 🔴 findings, all fixed with tests:
      • createMany failed the whole request;
      • container moves rejected held terms;
      • API request/response fields collided;
      • File columns were unchecked;
      • a quoted FQN bypassed the check.
    • The third pass, on 3119837a19f, raised no 🔴. Its 🟡 findings:
      • Bulk PUT update rejection had no test: test added.
      • assets/add rejects even for assets that already hold the term: kept as intended (the endpoint only applies terms), documented in the ADR and Javadoc.
      • createMany looks terms up twice: accepted, a small cost.
  • Decision check: adds docs/decisions/2026-11-06-only-approved-glossary-terms-can-be-newly-applied-to-an-asset.md.

  • I have added a test that covers the exact scenario we are fixing.

Known, not changed here: bulk-update-async with an explicit columnUpdates list ignores dryRun and applies the updates. Only search mode honours dry-run. This predates the PR.

🤖 Generated with Claude Code

… API

The UI only offers Approved glossary terms when tagging an asset, but the
API accepted Draft, In Review, Rejected and Deprecated terms on every write
path. ApprovedGlossaryTermGuard now rejects, per target (asset or inline
field), any glossary term that is newly applied and not Approved: on create,
PUT, PATCH, bulk PUT, the table dataModel, a term's assets/add, the column
API, and the column bulk-update / CSV previews. A term already held on the
same target stays, so writes that carry it back still pass.
createMany runs the glossary-term guard in BulkEntityCreator.prepare so a
rejected input fails alone instead of failing the request. The updater
keys the updated entity's targets by the stored FQN of the same name path,
so a container move that rewrites its data-model column FQNs before the
stored labels are re-keyed does not make a held term look new. Adds tests
for both and for the column bulk-update and CSV dry-run previews.
The guard took nested fields from ChildFieldResolver, which leaves File
columns out, and keyed name paths by field name alone, so a request and a
response field with the same name collided. Fields now come from
EntityRepository.taggedFieldContainers (FileRepository adds its columns),
name paths carry the container path and ignore case like column matching,
and terms are compared by FQN hash so a quoted FQN cannot slip past.
The createMany test case's suite is named after its table, so the table
now lives under a short service and schema. The container move test reads
back with tags. The decision record notes that bots get no exemption and
that dbt skips non-Approved terms client-side (#37256), shipping together.
Adds the IT step for a bulk PUT that adds a Deprecated term to an existing
table. assets/add rejects a non-Approved term for every asset in the
request, as the endpoint only applies terms; the Javadoc and ADR now say so.
test_approvedGlossaryTermMoveRewritesTaggedAssetsInSearch tagged a table
with a term still In Review, which is now refused. The test approves the
term through its own approval task first; the aboutEntity filter matches
by FQN prefix, so the task is picked by the term's id, not the first one.
@yan-3005
yan-3005 requested a review from a team as a code owner November 12, 2026 09:00
@yan-3005
yan-3005 requested a review from manerow November 12, 2026 09:00
@yan-3005 yan-3005 added the To release Will cherry-pick this PR into the release branch label Nov 12, 2026
Copilot AI balanced review requested due to automatic review settings November 12, 2026 09:00
@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR checks passed

The linked issue has a description and all required Shipping project fields set. Thanks!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

The dry-run called the approved-term guard once per row, so a file with
many glossary-tagged rows looked terms up row by row on the request thread.
It now pools every row's labels per column, runs the guard once for the
file, and judges each row by its own terms against the shared result.
Copilot AI balanced review requested due to automatic review settings November 12, 2026 09:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@gitar-bot

gitar-bot Bot commented Nov 12, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 🔴 High risk 1 closed / 1 findings

Enforcing approval status across asset and field tagging APIs changes governance write eligibility; rollout mismatch could reject ingestion and block metadata updates.

Enforces that only Approved glossary terms can be newly applied to assets through the API, returning 400 on every write path that would apply a non-Approved term. The CSV dry-run per-row glossary-term lookup on the request thread was addressed, and no open issues remain.

✅ 1 closed
✅ Performance: CSV dry-run runs a glossary-term lookup per row on the request thread

📄 openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/ColumnRepository.java:1086-1088 📄 openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/ColumnRepository.java:1121-1135 📄 openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/ApprovedGlossaryTermGuard.java:109-121
countPreviewedRow calls ApprovedGlossaryTermGuard.rejectionsByTarget once for each CSV row. Every call does its own getEntityByNames(GLOSSARY_TERM, …) query, and when a term isn't Approved it also does a tag_usage read. Before this change the synchronous dry-run made no DB round trips per row. validateImportPayload allows up to MAX_IMPORT_CSV_ROWS = 100_000 rows, so a dry-run where most rows carry a glossary term can make up to ~200k queries while holding a request thread. That is the unbounded per-request cost ColumnRepositoryImportTest says the import must avoid. Identical rows also repeat the same lookups, because the write path's importRowKey dedup is not used here. The fix is to collect every row's updates first, call rejectionsByTarget once on the combined map (one term lookup and at most one tag_usage read), then count each row against that shared result.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

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

Compact
gitar display:verbose         

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

@yan-3005
yan-3005 merged commit 9803398 into main Nov 12, 2026
74 of 89 checks passed
@yan-3005
yan-3005 deleted the yan-3005/api-restriction-on-glossaryterm-tagging branch November 12, 2026 12:45
@github-actions

Copy link
Copy Markdown
Contributor

🤖 Backport to 2.0 is under way. It is built from openmetadata-collate, which holds the credentials needed to open a PR here, and it will comment again with the result — nothing is needed from you unless it reports otherwise.

@gh-bot-collate

Copy link
Copy Markdown

🤖 Not backported to 2.0. Claude looked at the conflict and declined to resolve it:

Backport aborted: #37643 → 2.0

Reason

This PR's "Only Approved glossary terms can be applied" guard is wired into
infrastructure that does not exist on 2.0. It is not a conflict-resolution
problem — it is a dependency-on-absent-code problem, in at least four places:

  1. Generic EntityInterface<T>. The new code is written against
    EntityRepository<T extends EntityInterface<?>> and
    BulkEntityCreator<T extends EntityInterface<?>>. On 2.0,
    EntityInterface is not generic
    (openmetadata-spec/.../EntityInterface.java), and
    EntityRepository<T extends EntityInterface> matches. None of the new
    code compiles against 2.0's type hierarchy as written.

  2. ChildFieldResolver registry. EntityRepository.taggedFieldContainers()
    — the hook every entity type relies on by default to find its nested
    tagged fields (table columns, topic schema fields, dashboard data models,
    etc.) — reads ChildFieldResolver.supports(...) /
    ChildFieldResolver.specFor(...). That class was added on main in Fixes #34181: resolve inline child collections through one registry and serve them on every entity type #34182
    and was never backported; it doesn't exist anywhere in 2.0's history.
    Without it, the guard has no way to discover nested tagged fields for any
    entity type except File (which the PR hand-overrides).

  3. AssetTagLabelService / BulkEntityCreator. Both files are touched
    by this PR and both are themselves entirely new files introduced by
    other, later, unported PRs:

  4. ColumnRepository CSV import/bulk-update pipeline. The dry-run
    preview logic this PR adds (previewColumnUpdates, previewRejections,
    occurrencesByName, updatesByRow, resultByRow) is layered onto a CSV
    import implementation that has been independently rewritten on main since
    2.0 diverged. 2.0's current version uses a different,
    searchColumns-based per-row approach with no occurrencesByName /
    updatesByRow structures to hook into — the conflicting hunks here don't
    correspond to anything that exists in 2.0's code.

Resolving the cherry-pick's conflicts would require re-implementing all four
of the above (a generic EntityInterface, the ChildFieldResolver registry,
the Assets-tab-as-PATCH and bulk-create-outcomes refactors, and the rewritten
CSV import pipeline) before the guard itself could be meaningfully attached —
that is multiple independent, substantial backports bundled under one, not a
conflict resolution. Per the workflow's instructions, I'm not forcing that
and am aborting instead.

State left behind

The repository is left mid-cherry-pick (git cherry-pick 98033981f8... in
progress, conflicts unresolved) exactly as handed off. No files were staged,
committed, or edited.

If this is wanted on 2.0 anyway

Recommend either:

resolver run

yan-3005 added a commit that referenced this pull request Nov 12, 2026
… API (#37643) (#37688)

* Fixes #37164: Only Approved glossary terms can be applied through the API

The UI only offers Approved glossary terms when tagging an asset, but the
API accepted Draft, In Review, Rejected and Deprecated terms on every write
path. ApprovedGlossaryTermGuard now rejects, per target (asset or inline
field), any glossary term that is newly applied and not Approved: on create,
PUT, PATCH, bulk PUT, the table dataModel, a term's assets/add, the column
API, and the column bulk-update / CSV previews. A term already held on the
same target stays, so writes that carry it back still pass.

* Judge bulk creates per input and match moved fields by name path

createMany runs the glossary-term guard in BulkEntityCreator.prepare so a
rejected input fails alone instead of failing the request. The updater
keys the updated entity's targets by the stored FQN of the same name path,
so a container move that rewrites its data-model column FQNs before the
stored labels are re-keyed does not make a held term look new. Adds tests
for both and for the column bulk-update and CSV dry-run previews.

* Find tagged fields per repository and compare terms by hash

The guard took nested fields from ChildFieldResolver, which leaves File
columns out, and keyed name paths by field name alone, so a request and a
response field with the same name collided. Fields now come from
EntityRepository.taggedFieldContainers (FileRepository adds its columns),
name paths carry the container path and ignore case like column matching,
and terms are compared by FQN hash so a quoted FQN cannot slip past.

* Keep IT fixture names short and record the ingestion decision

The createMany test case's suite is named after its table, so the table
now lives under a short service and schema. The container move test reads
back with tags. The decision record notes that bots get no exemption and
that dbt skips non-Approved terms client-side (#37256), shipping together.

* Test the bulk PUT update rejection and document assets/add

Adds the IT step for a bulk PUT that adds a Deprecated term to an existing
table. assets/add rejects a non-Approved term for every asset in the
request, as the endpoint only applies terms; the Javadoc and ADR now say so.

* Approve the moved term before tagging it in the move-rewrite IT

test_approvedGlossaryTermMoveRewritesTaggedAssetsInSearch tagged a table
with a term still In Review, which is now refused. The test approves the
term through its own approval task first; the aboutEntity filter matches
by FQN prefix, so the task is picked by the term's id, not the first one.

* Judge a column CSV dry-run in one guard call

The dry-run called the approved-term guard once per row, so a file with
many glossary-tagged rows looked terms up row by row on the request thread.
It now pools every row's labels per column, runs the guard once for the
file, and judges each row by its own terms against the shared result.

(cherry picked from commit 9803398)
yan-3005 added a commit that referenced this pull request Nov 12, 2026
…gh the API (#37689)

* Fixes #37164: Only Approved glossary terms can be applied through the API (#37643)

* Fixes #37164: Only Approved glossary terms can be applied through the API

The UI only offers Approved glossary terms when tagging an asset, but the
API accepted Draft, In Review, Rejected and Deprecated terms on every write
path. ApprovedGlossaryTermGuard now rejects, per target (asset or inline
field), any glossary term that is newly applied and not Approved: on create,
PUT, PATCH, bulk PUT, the table dataModel, a term's assets/add, the column
API, and the column bulk-update / CSV previews. A term already held on the
same target stays, so writes that carry it back still pass.

* Judge bulk creates per input and match moved fields by name path

createMany runs the glossary-term guard in BulkEntityCreator.prepare so a
rejected input fails alone instead of failing the request. The updater
keys the updated entity's targets by the stored FQN of the same name path,
so a container move that rewrites its data-model column FQNs before the
stored labels are re-keyed does not make a held term look new. Adds tests
for both and for the column bulk-update and CSV dry-run previews.

* Find tagged fields per repository and compare terms by hash

The guard took nested fields from ChildFieldResolver, which leaves File
columns out, and keyed name paths by field name alone, so a request and a
response field with the same name collided. Fields now come from
EntityRepository.taggedFieldContainers (FileRepository adds its columns),
name paths carry the container path and ignore case like column matching,
and terms are compared by FQN hash so a quoted FQN cannot slip past.

* Keep IT fixture names short and record the ingestion decision

The createMany test case's suite is named after its table, so the table
now lives under a short service and schema. The container move test reads
back with tags. The decision record notes that bots get no exemption and
that dbt skips non-Approved terms client-side (#37256), shipping together.

* Test the bulk PUT update rejection and document assets/add

Adds the IT step for a bulk PUT that adds a Deprecated term to an existing
table. assets/add rejects a non-Approved term for every asset in the
request, as the endpoint only applies terms; the Javadoc and ADR now say so.

* Approve the moved term before tagging it in the move-rewrite IT

test_approvedGlossaryTermMoveRewritesTaggedAssetsInSearch tagged a table
with a term still In Review, which is now refused. The test approves the
term through its own approval task first; the aboutEntity filter matches
by FQN prefix, so the task is picked by the term's id, not the first one.

* Judge a column CSV dry-run in one guard call

The dry-run called the approved-term guard once per row, so a file with
many glossary-tagged rows looked terms up row by row on the request thread.
It now pools every row's labels per column, runs the guard once for the
file, and judges each row by its own terms against the shared result.

(cherry picked from commit 9803398)

* Describe how 2.0 repositories name their tagged inline fields

* Fix the 2.0 port: non-generic EntityInterface, inline DERIVED check, imports
shrabantipaul-collate added a commit that referenced this pull request Nov 18, 2026
* Fixes 37258: Map column lineage through STRUCT and ARRAY<STRUCT> fields (#37259)

* fix(lineage): map column lineage through STRUCT and ARRAY<STRUCT> fields

* fix(lineage): resolve a STRUCT field path only where nothing else can own its name

* test(lineage): anchor the no-lineage cases on an edge that must exist

* fix(lineage): resolve a STRUCT field path only from a table source; fix static checks

* fix(lineage): detect subqueries through the parser's public column lineage; pin root vs nested matching

* fix(lineage): copy nested fields only through a column the query copies unchanged; catch CTEs built from constants

* fix(lineage): carry nested fields only from the source column the final SELECT copies

* fix(lineage): match table columns and STRUCT field copies separately; skip target column lists

* fix(lineage): copy a STRUCT star's fields only when the star is plain and nothing else produces them

* fix(data-insights): regenerate asset type enum (#37661)

* Fixes 35889: Consolidate Python tests and connector E2E orchestration (#37562)

* ci: move Python compatibility and integration tests to nightly

* ci: share nightly classification model preparation

* ci: unify Python workflows and restore merge queue integration tests

* ci: remove workflow test scaffolding and add manual workload modes

* ci: notify ingestion on Python nightly failures

* ci: share legacy connector E2E jobs with Python nightly

* ci: record Python workload policy and centralize connector defaults

* ci: run Python nightly at 01:00 UTC

* ci: run E2E meta tests only in nightly workloads

* Fixes #37636: Match the Ontology Studio concept panel to the design handoff (#37637)

* Fixes #37636: Match the Ontology Studio concept panel to the design handoff

- Concept panel (View and Edit):
  - type badge with help, middle-shortened IRI with copy, completeness out
    of five sections
  - handoff empty states and copy
  - Type helper and help icon in the edit form
  - read-only "Advanced · ID and IRI" table that also carries status and
    provider
- Inline forms restyled: relationship, property (Object / Data / More), rule,
  mapping and the data-asset picker card
- Conflicts card shows only when there is something to resolve or the check
  failed
- Editors no longer get a separate release-history button on the canvas;
  history stays under Review & publish → Releases, readers keep the chip

* Concept panel: add a relationship inline, as in the design

- The Relationship field is a select (defaulting to broader) beside Target
  concept, so Add opens the form directly instead of the chooser popover.
  Each type shows its inverse and, when it does not fit, Domain → Range.
- "Browse all relationship types…" at the end of the list opens the full
  chooser for search, glosses and (with permission) a new type.
- The form's choices live in the panel, so the working copy arriving after
  Add no longer empties a half-filled form.

* Concept panel: empty states through a wrapper; default to SKOS broader

- Add InlineEmptyPlaceholder (box or one line) in common/EmptyPlaceholder
  and render every concept-panel empty state through it, as
  ADR:2026-10-21-empty-states-render-through-the-placeholder-wrappers
  requires; drop the hand-built ConceptEmptyState / ConceptEmptyText.
- The inline relationship form defaults to broader by its SKOS predicate
  IRI, which is how real options are keyed; tests cover the IRI match and
  the empty default.

* InlineEmptyPlaceholder: colour the text line through Typography's color prop

* InlineEmptyPlaceholder: keep its props type beside the component

* Concept panel: edit a relationship inline, the same form as Add

The row's edit button now opens the inline form in place of the row instead
of the chooser in a modal: the Relationship select starts on the current
type, the target is shown read-only (only the type can change), the preview
reads the sentence, a refused type explains why and keeps Save off, and a
server warning shows without blocking. "Browse all relationship types…"
still opens the full chooser.

* Concept panel: close an open relationship edit when edit rights go away

* Ontology tree: full width under the floating cards, scrolls, keeps its place

- The tree takes the full width; the Health / conflicts cards float on top,
  as in the design, instead of reserving a right gutter.
- The tree card no longer shrinks in its column, so an expanded tree scrolls
  to its last row instead of clipping it under the toolbar.
- Rows are separated by dividers, as in the design.
- Expanding or collapsing one row keeps the current window, so the rows above
  stay in view and no Previous / Next appears for a small tree.
- "Expand all" / "Collapse all" in sentence case.
- The canvas toolbar's search slot is as wide as its field, so it no longer
  runs into the full-screen button.

* fix(ui): apply prettier formatting to ontology tree views

* fix(ui): re-anchor the ontology tree window forward on expand/collapse after Previous

* Ontology tree: left-aligned, conflicts inside its card

- The tree starts at the left and spans the width instead of a centred
  1000px column.
- On Tree, the draft's conflicts show inside the tree card as the design's
  Constraints rows (red dot, the clash, red "Conflict", Show on graph; expand
  for the callout with a link to each concept) instead of the floating
  conflicts card. A failed check shows with Retry; a clean draft shows nothing.

* Tree conflicts: callout through core Alert and Dot; each toggle names its conflict

* fix(ui): browser Back returns to the previous persona view in settings (#37630)

* fix(ui): let browser Back return to the previous persona view in settings

The settings modal wrote every view change with `replace`, so opening a
persona never added a history entry and Back left the modal entirely.
`setHash` now takes `{ push: true }`; the Personas panel uses it for views
the user opens, and keeps `replace` for returning to the list after a
delete, create or cancel. The modal also reopens when Back leaves the
full-page customizer for a view it shows.

* test(playwright): wait for the customize guard before going Back

* fix(ui): close settings back to the page entry after in-modal pushes

Opening settings from the user menu now pushes, so the page's own entry
never carries a settings hash. A setHash push records the hash it left in
the history state, so the closing hook counts it and closing goes back past
every view the modal pushed. Back to an entry without a settings hash
closes the open modal. Records the push/replace rule as a decision record.

* chore(playwright): refresh the impact map for the persona Back tests

* fix(playwright): assert nested column description on the cell, not the deferred previewer (#37670)

* fix(playwright): assert nested column description on the cell, not the deferred previewer

Since #36950 TableDescription renders a plain-text placeholder until the
cell nears the viewport. A row that starts with no description mounts
that placeholder only after the save, and when the page is left scrolled
above the row the previewer (and its viewer-container) never mounts.

* chore(playwright): regenerate impact map

* Fixes #37572: Keep a metric's hierarchy, reviewers and experts when ingestion re-PUTs it (#37575)

* Keep a metric's parent and group when ingestion re-PUTs it

Connectors never send parent or metricGroup, so every re-ingestion
removed the hierarchy users built on ingested metrics and versioned
each curated metric. A bot PUT that names no parent now keeps the
stored live parent and its inherited group; a root keeps its stored
group. A deleted parent is not kept, so the restore rule still holds.

ADR:2026-11-11-a-bot-put-never-removes-a-metric-parent-or-group

* Test that a group a bot names moves a root but not a child

* Keep reviewers and experts when a bot PUT names none

Ingestion re-PUTs metrics with no reviewers or experts, and the updater
applied the empty lists, so every run cleared what users had assigned.
A bot PUT that names none now keeps the stored ones, as owners already do.

Also adds re-ingestion ITs for a user-added child under an ingested parent
and for related metrics never becoming hierarchy parents.

* Fixes #37478: Let a document's owners or an admin extract or retry its memories (#37479)

* Expose whether memory extraction is available and why

AiProvider.extractionAvailability() reports whether memories can be
extracted and, when not, why: ExtractionDisabled or ProviderUnavailable.
By default it needs the LLM layer and memoryExtractionEnabled, as before.

The file gate and the article triggers, Queued stamps included, now ask
the active provider instead of the LLM switch, so a provider that cannot
extract stops them all. GET /v1/contextCenter/memories/extractionAvailability
gives any authenticated user the answer for the UI.

* Report a failed LLM build as unavailable and pin the file gate default

The default extractionAvailability() now reports ProviderUnavailable when
the LLM was switched on but its client could not be built, so the UI does
not ask an admin to turn on what is already on. ExtractionDisabled stays
for an LLM layer or memory extraction that is switched off.

ContextFileProcessingService takes a null gate as
AiProviderHolder::isExtractionAvailable and its public constructor passes
null, so providerUnavailableSkipsExtraction runs the production default
instead of a copy of it.

* Report extraction as off whenever its switch is off

A switched-off memory extraction now reads as ExtractionDisabled even
when the requested LLM also failed to build. ProviderUnavailable is left
for extraction that is switched on but whose LLM client could not be
built, which LLMClientHolder.isMemoryExtractionSwitchedOn() now tells
apart from extraction that can run.

* Show documents whose memories were never extracted as Not processed

MemoryExtractionState.neverExtracted() decides it on the server: a
Processed file with a content snapshot and no extraction stats, or an
article with a body and no processing status. A Collate chat attachment
has no content snapshot, so it stays Processed; a quick link is never
extracted, so it never qualifies.

The document and article status badges read the same rules from
ContextCenterMemoryExtractionPureUtils and show label.not-processed, and
the article panel shows its Memory extraction row for such an article.

* Serve Not processed as a field the server derives

Files and pages gain neverExtracted, computed from MemoryExtractionState
on every read that asks for it, never stored and hidden from version
history. The file search document computes it too, so a searched
Documents list shows the same state as the REST list. The badges and
the article panel read the field, and the UI copy of the rule is gone.

A file whose text is blank is never Not processed: the engine skips a
source without text, so Extract could never change its label.

* Keep Not processed current across writes and body edits

An article reads Not processed when no run has read its current body:
never queued, or edited while extraction was off, which keeps the
earlier run's Processed status and stats. The rule compares the body's
hash with the one the last run recorded, through the engine's own
sourceHash, and still needs a body.

Write responses carry no neverExtracted. A file row keeps its folder,
memory count and extraction state across a metadata write, and an
article re-reads its extraction state after its body is saved.

* Refresh an article's extraction state after a draft sync, off the save

A draft stashed before the tab closed is PATCHed on load, which
changes the extraction state as much as a typed save does, so the
sync now refreshes it too. The refresh starts once the write is
settled, so the save no longer reads Saving until it returns.

* Let owners and admins extract or retry a document's memories

POST /v1/contextCenter/drive/files/{id}/extract and
POST /v1/contextCenter/pages/{id}/extract queue one document whose
memories failed or were never extracted. Only its owners, an owning
team's members included, and admins may call them, and only on a
document they can see.

A file restarts at the stage its content snapshot lacks: text
extraction when the snapshot has no text, memory extraction otherwise.
An article is stamped Queued and runs once its quiet period passes, as
after any article write. The status stamp is a conditional write on the
current snapshot, made as the document's last editor, and it is what
refuses a second request (409) while the first is queued or running.
A document with nothing to extract (no snapshot, a quick link, already
extracted) is also a 409, as is any request while the provider cannot
extract, naming its reason. Both endpoints return the document in its
new state (200).

A status change on an article now carries its own error, so a retried
article no longer keeps its last failure's message once it moves on.

* Answer 503 when the queue refuses a requested extraction

A requested Extract or Retry whose run the queue cannot take (the
memory job insert fails, or the text-extraction executor is full) now
leaves the file or article Failed with the queue's message and answers
503 with that message, instead of 200 with a body that read as queued.

Recording that failure now gets up to three full conditional-write
budgets instead of one, since no job is left to record it later. A
record lost to contention left the document in an in-progress status
with no job, so every later Extract got 409: until a restart for files,
and for good for articles, where the lost record also escaped as a 500.
The upload pipeline's own queue refusals, and a contended text run the
executor cannot requeue, record their failure the same way.

* Add Extract and Retry for documents and articles

A document's owners, an owning team's members included, and admins see
Extract on a document never extracted and Retry on a failed one: in the
document preview, the Documents row menu and the article's right panel.
While extraction is unavailable the action shows disabled with the reason
the availability endpoint gives, read once and again after a 409.

A file's Extract response carries every field the Documents list reads, so
it replaces the row and the preview instead of going through the metadata
write merge, which keeps the list's neverExtracted. File reads now ask for
owners, which gate the action; an owner without edit or delete rights still
gets the row menu for it. A 409 or 503 shows the server's message and reads
the document again; a 403 hides the action. An article applies the state
over any extraction refresh still in flight.

* Record who starts or retries a document's extraction

A document's owners, an owning team's members included, and admins start
or retry its memory extraction; no policy grants it and nothing backfills.
The record states the availability reasons and their precedence, the
derived Not processed predicate, the 409 set, the 503 contract with its
unrecorded residual, the article quiet period and the response fields the
Documents list shares with the Extract response.

Recording a run the queue refused gets three conditional-write budgets, so
the snapshot-write record is amended for that one write. The 503 docs and
Javadoc now say what a retry gets when the failure could not be recorded,
and AiProvider.extractionAvailability() states what an override must keep.

* Re-render each row's extraction gate on the signed-in user only

Every Documents row runs the Extract and Retry hook; reading the whole
application store re-rendered every row on any change to it.

* Translate extraction refusals and add the ProviderDisabled reason

Extract and Retry, review fix round 1:
- Each refusal shows its own translated message. 403: only the
  document's owners or an admin can extract its memories. 409: the UI
  reads availability again and says why extraction went unavailable,
  or that the document's extraction is queued or can't start now.
  503: couldn't be queued, try again in a few minutes. The server's
  English message is for API callers.
- The 503 messages no longer name knowledge pills or promise a retry
  that can 409: "Memory extraction could not be queued." and "Text
  extraction queue is full.". The OpenAPI text matches.
- A disabled row-menu item shows its reason as a visible line that is
  also its accessible description, since keyboard navigation skips it.
- Availability is read again once it is a minute old (on focus or a new
  mount), still one request per page.
- Playwright titles claim the admin they exercise. The Retry spec also
  presses the row menu's Retry, and lets the read after a 409 reach the
  server. DocumentsView covers an extracted file too.

ProviderDisabled: a third availability reason, for a provider whose
own AI platform is off, with its own message ("The AI platform that
extracts memories is off — ask an admin to turn it on."). OSS's
default provider never answers it; Collate's does while its platform
is off.

* Record refused article runs Failed and share extraction per document

Final-review fix wave for Extract and Retry:
- An article create or body edit whose job the queue refuses is now
  recorded Failed with "Memory extraction could not be queued.", the
  way the file pipeline's submit records it, so it offers Retry. Before,
  the write's Queued stamp stayed with no job and no recovery.
  PageContextProcessingEngine.submit does this after the write commits.
- A 404 says, in the user's language, that the document no longer exists
  or was moved to the Archive. It is final like a 403: no second read,
  no second toast.
- A document's request in flight and a final refusal (403, 404) are
  shared by every surface showing it, through a mutation key per user
  and document. With the preview open, the row menu waits for its
  request, and a refusal hides the action on both.
- The read of availability after a 409 is not retried, so its toast does
  not wait out a backoff. An unreachable 409 entry is gone.
- The records name every write the three record budgets cover, requested
  or queued by the pipeline. They also say Collate answers
  ProviderUnavailable only for a missing agent: an outage fails the run,
  and Retry recovers it.

* Name every residual and the shared final refusal in the extraction-request record

* fix(memory): resolve the provider for each job

* fix(ui): show disabled extraction tooltips

* test(memory): update panel tooltip assertions

* test(memory): stabilize tooltip browser checks

* test(memory): own extraction browser coverage

* test(memory): refresh browser impact map

* Fixes #37164: Only Approved glossary terms can be applied through the API (#37643)

* Fixes #37164: Only Approved glossary terms can be applied through the API

The UI only offers Approved glossary terms when tagging an asset, but the
API accepted Draft, In Review, Rejected and Deprecated terms on every write
path. ApprovedGlossaryTermGuard now rejects, per target (asset or inline
field), any glossary term that is newly applied and not Approved: on create,
PUT, PATCH, bulk PUT, the table dataModel, a term's assets/add, the column
API, and the column bulk-update / CSV previews. A term already held on the
same target stays, so writes that carry it back still pass.

* Judge bulk creates per input and match moved fields by name path

createMany runs the glossary-term guard in BulkEntityCreator.prepare so a
rejected input fails alone instead of failing the request. The updater
keys the updated entity's targets by the stored FQN of the same name path,
so a container move that rewrites its data-model column FQNs before the
stored labels are re-keyed does not make a held term look new. Adds tests
for both and for the column bulk-update and CSV dry-run previews.

* Find tagged fields per repository and compare terms by hash

The guard took nested fields from ChildFieldResolver, which leaves File
columns out, and keyed name paths by field name alone, so a request and a
response field with the same name collided. Fields now come from
EntityRepository.taggedFieldContainers (FileRepository adds its columns),
name paths carry the container path and ignore case like column matching,
and terms are compared by FQN hash so a quoted FQN cannot slip past.

* Keep IT fixture names short and record the ingestion decision

The createMany test case's suite is named after its table, so the table
now lives under a short service and schema. The container move test reads
back with tags. The decision record notes that bots get no exemption and
that dbt skips non-Approved terms client-side (#37256), shipping together.

* Test the bulk PUT update rejection and document assets/add

Adds the IT step for a bulk PUT that adds a Deprecated term to an existing
table. assets/add rejects a non-Approved term for every asset in the
request, as the endpoint only applies terms; the Javadoc and ADR now say so.

* Approve the moved term before tagging it in the move-rewrite IT

test_approvedGlossaryTermMoveRewritesTaggedAssetsInSearch tagged a table
with a term still In Review, which is now refused. The test approves the
term through its own approval task first; the aboutEntity filter matches
by FQN prefix, so the task is picked by the term's id, not the first one.

* Judge a column CSV dry-run in one guard call

The dry-run called the approved-term guard once per row, so a file with
many glossary-tagged rows looked terms up row by row on the request thread.
It now pools every row's labels per column, runs the guard once for the
file, and judges each row by its own terms against the shared result.

* Fixes 32899: Explain PR versus main dequeue failures (#37655)

* fix(ci): attribute dequeue failures to main

* fix(ci): verify reusable workflow provenance

* fix(ci): preserve dequeue alert evidence

* fix(ci): propagate exhausted read budgets

* fix(ui): redirect disabled marketplace apps away from the install page (#37672)

A paid or unavailable app (enabled: false) disables Install on its
details page, but its install route still rendered the configuration
flow when opened directly.

* test(cli-e2e): cover BigQuery view lineage through STRUCT fields (#37669)

* test(ui): fix ontology Playwright failures in the nightly AUT (#37708)

- OntologyRules lane 7: a clean draft no longer draws the conflicts card;
  assert the validation response is empty and the card is gone.
- OntologyRules lane 9: drive the one-at-a-time New mapping card that
  replaced the numbered Mapping groups.
- OntologyNativeRelations placement: pick the double-click point clear of
  the 40vw drawer it opens, which otherwise pans the new node into view.
- OntologyStudioFlows flow 3: close the new concept's inspector so the
  narrowed AI-mode canvas has an empty point to double-click.

* Fixes #37578: Answer SPARQL over oversized ontology releases from the served Fuseki graph (#37624)

* Fixes #37578: Answer SPARQL over oversized ontology releases from the served Fuseki graph

An active release whose projection exceeds the SPARQL worker's 32 MiB input
bound (FHIR) failed every query. When the worker rejects the ontology itself,
the query now runs against the ontology's served graph in Fuseki, scoped with
FROM and FROM NAMED, once that graph's owl:versionIRI names the active
release; until then it returns 429. Inference stays worker-only, and the 10 MiB
output bound applies to both paths. ADR 2026-11-04 v4 records the fallback.

* Remember oversized releases and keep the served-graph fallback within the caller's timeout

A release the worker refused for its size now skips the worker on later
queries: its members are authorized, then the served graph answers, without
the process-wide worker permit or the in-memory projection. Each server keeps
at most 1,000 refused release IDs; releases are immutable, so the verdict holds.

The version check and the served query now share the caller's timeout, counted
from when the request arrived, in place of a fixed 5 s check plus a fresh full
timeout. A spent budget is a timeout before the store is read. ADR 2026-11-04
v4 states both rules.

* Fixes #35913: remove tags a resolved TagUpdate leaves out (#36008)

* Fixes #35913: remove tags a resolved TagUpdate leaves out

* Keep tags added after the task when a TagUpdate replace is resolved

* Read the TagUpdate snapshot from the action's currentTagsField

* Also drop live tags from the same mutually exclusive classification

* Keep a TagUpdate's other tags when the task has no currentTags snapshot

Resolving with newValue fell back to the target's live tags when the task
carried no currentTags, so an API-filed Add task resolved with newValue
removed every other tag on the column. Without a snapshot, only tagsToRemove
(and a tag a mutually exclusive newValue tag displaces) is removed now.

Move the removal set into tagsReplacedBy and share the reflective tag read
with patchFieldTags. Add TaskResourceIT cases that resolve TagUpdate tasks the
way the UI does: Replace within a mutually exclusive classification, Remove
with a tag added after the task, a concurrent swap, and an Add without a
snapshot.

---------

Co-authored-by: IceS2 <pablo.takara@getcollate.io>
Co-authored-by: Ram Narayan Balaji <ramnarayanb3005@gmail.com>
Co-authored-by: Ram Narayan Balaji <81347100+yan-3005@users.noreply.github.com>

* Fix Data Quality table total integration tests (#37698)

* Fix Data Quality table total integration tests

* Remove unit tests for Data Quality integration test helper

* test(rdf): use a storage failure as the real failure after a skipped run (#37716)

* fix(ui): fit the asset lineage graph into view on the initial draw (#37673)

A full redraw centered the root node at the default zoom, so a graph
taller or wider than the viewport opened mostly off-screen. It now fits
the graph, capped at the default zoom so small graphs look unchanged;
focusing a specific node still centers on it.

* Fixes open-metadata/openmetadata-collate#2578: Sort Curated Assets A-Z by display name (#37396)

* Fixes open-metadata/openmetadata-collate#2578: sort Curated Assets A-Z by display name

The A-Z and Z-A options sorted on name.keyword, so assets were ordered by
their internal name rather than the title the widget shows. Sort on
displayName.keyword instead; search docs fall back to name when no
displayName is set.

* Map Widgets.constant to the landing-page Playwright specs

The sort helpers feed the Curated Assets and Following widgets; without a
mapping a change to them was an impact-map gap that ran the full suite.

* Record the Curated Assets A-Z sort rule and guard its index mappings

Adds ADR:2026-11-09-curated-assets-sort-a-to-z-by-display-name, which states
that A-Z sorts on displayName.keyword and what every curated index must
provide for that to hold. Widgets.constant.test.ts now reads the spec's
index mappings and fails when a CURATED_ASSETS_LIST type lacks the
lowercase normalizer on displayName.keyword in any language.

---------

Co-authored-by: Shrabanti Paul <shrabantipaul@Shrabantis-MacBook-Pro.local>

* Fixes 37680: Space the breadcrumb chevron evenly between crumbs (#37681)

* Size the breadcrumb chevron so it sits evenly between crumbs

The core-ui ChevronRight swap kept the old 5px-wide separator box, so the
20px icon overflowed onto the next crumb, as on the SSO page.

* Inline the breadcrumb chevron classes instead of a one-constant file

* Improve the MicroStrategy connector (#37146)

* MicroStrategy: scope the dossier search by project, keep stale entities on partial runs, name charts by dossier

- Send the project in the X-MSTR-ProjectID header; the project_id query parameter is ignored,
  so every project re-listed every dossier of the server under the wrong project name
- Raise on failed reads instead of returning empty results; a failed listing or definition
  skips stale deletion of the entities it hides
- Ingest a dossier whose definition fails from its listing, without unlinking known charts
- Name charts by dossier, page and visualization key; keys repeat across dossiers
- Filter projects before searching them, page the search, cache cube SQL
- Owners from the owner's default email, dashboard descriptions
- Verify SSL / SSL Config, re-login on an expired session, forward only the auth token
- Typed test-connection checks with diagnoses, and a GetDashboards step

* MicroStrategy: count listed and filtered objects, record the naming and deletion decisions, document SSL options

* MicroStrategy: a dossier whose definition fails keeps its linked charts and still gets its owner and description

* MicroStrategy: an object that does not parse keeps stale entities

* MicroStrategy: keep the charts of an unreadable dossier as seen so stale charts are still deleted; page without totalItems; typing

* MicroStrategy: send the SSL Config client certificate, lazy log formatting, record optional credentials and login timeout

* MicroStrategy: keep excluding hidden dossiers from the search

* Regenerate the resolved workflow schema with the current ref parser

* MicroStrategy: encrypt and mask the SSL Config secrets with a class converter

* MicroStrategy: carry user metadata from charts under the old names to their replacements, and keep charts linked on update

* MicroStrategy: drop model fields the connector never reads

* MicroStrategy: diagnose a server error at login in test connection

* MicroStrategy: a failed OpenMetadata lookup leaves the dossier's dashboard and charts as they are

* MicroStrategy: split the chart stage to reduce its complexity

* MicroStrategy: strip the Analytical engine calculation steps from cube SQL

The sqlView endpoint appends a non-SQL block after the statement, which fails
SqlGlot and SqlFluff and makes lineage parsing fall back to SqlParse.

* MicroStrategy: make the Library path configurable

The connector always called <hostPort>/MicroStrategyLibrary/api, so a Library
app deployed under another name, or a second Library deployment, could not be
used. The new optional libraryPath defaults to MicroStrategyLibrary and is used
for both the REST API and the dashboard source URLs.

* MicroStrategy: leave generated UI sources to CI and use a generic Library path example

* MicroStrategy: point a login 404 at Host Port and Library Path

* MicroStrategy: record the Library path contract in the connector's decision record

* Update generated TypeScript types and dereferenced schemas

* MicroStrategy: trim whitespace from the Library path and test cube SQL parsing by its outcome

* MicroStrategy: note whitespace trimming in the Library path record

* MicroStrategy: list LDAP login mode in the schema and name Host and Port consistently

* Fixes 37687: Disabling the MCP Server app stops MCP without a restart (#37704)

* fix(mcp): disable turns off mcp without restart

* usage recorder fix

* usage endpoints fix

* public gate methods

* test(rdf): strengthen failure-after-skip assertions (#37697)

* test(rdf): simulate failure after a skipped run

* test(rdf): map the unit-only fixture precisely

* test(cli-e2e): remove redundant fixture inventory assertions (#37728)

* fix(sigma): link only the tables a workbook element reaches in its lineage (#37718)

* fix(sigma): link only the tables a workbook element reaches in its lineage

Without SQL, an element's tables come from its element lineage response, which
was read as "every table in the response". Walk the edges back from the
element's own sheet node instead and keep the tables it reaches, passing
through other sheets and joins. When the response has no sheet node for the
element, or the walk reaches no table, every table is kept as before.

* test(sigma): walk edge-only tables and Sigma's documented example; reword the fallback comment

* test(sigma): give the documented example an unrelated branch so it tests the walk

* Fixes #37145: Say the 2.0 backport renames MicroStrategy charts in 2.0.9 (#37731)

* MicroStrategy: say the 2.0 backport renames charts in 2.0.9

* MicroStrategy: record the 2.0.9 backport as a v4 amendment

* docs(pr): require refreshed visual baselines when a change alters rendering (#37737)

The visual lane does not run on PR checks but blocks the merge queue, so a
stale snapshot surfaces only after merge (nightly) or at queue time. The PR
template and pr-checklist now ask for the affected baselines, captured from a
dispatched CI run on the Linux renderer, alongside the Playwright evidence.

* fix(ui): link the ML model server only when it is an http(s) URL (#37714)

* fix(ui): link the ML model server only when it is an http(s) URL

* chore(playwright): regenerate the impact map

* Fixes 36958: Restore readable entity memories in Context Center (#37647)

* fix(memory): list readable anchored memories

* fix(memory): preserve asset readers and bound terms

* test(memory): align listings with readable anchors

* fix(memory): authorize only matching listing anchors

* test(memory): snapshot cursors at the client boundary

* Fixes 37710: Align Ontology Studio with the design review and fix conflict, drawer and review-banner issues (#37711)

* Ontology Studio: match the design review, and fix conflicts, drawers and review banners

- Conflicts: the disjoint rule behind a clash is part of the conflict (graph edge, Constraints row with "Clashes with" and "Open the rule", removable in the drawer); the drawer explains the clash from the rule; names in conflict messages are replaced as whole words.
- Conflict UI per the handoff: canvas card, node dot, drawer conflict box, tree row markers, Overview validation bar and Review conflicts, Constraints table with status and expandable clash rows.
- Studio drawers close on a press outside them, through the discard prompt when a form is dirty; one prompt answers every action of a press; switching Graph/Tree/Ontology closes the concept drawer.
- Review banners as the design's pill with a Review button; task comments use the Inbox comment composer and comment rows.
- Data asset picker rows, IRI option text, tree rows full width, full-screen only on the graph, Review & publish footer and counts at 14px.
- Rule delete asks for confirmation.
- Core Button gains an opt-in pill shape and secondary-warning-outline colour.

* Ontology Studio: answer the self-review — unattributed violations, unsaved drawer forms, Show on graph from Tree

- A violation that names no constraint leaves the constraints 'not checked' instead of 'valid'; the Overview alert follows the server's violation count and Review conflicts opens what it can show; the Conflicts chip counts constraints.
- The add-rule form, picked data assets and unsaved column bindings register as unsaved work, so a press outside the concept drawer asks before dropping them.
- Show on graph from the Tree or the Data view switches to the Model graph and focuses the concept once the graph is drawn.
- Drop the IRI combobox's dead shortcut prop.

* Ontology Studio: put Show on graph wholly behind the discard prompt; restore the conflictDetail comment

* Ontology Studio: load large ontologies, hide archived reviews, align alert Retry buttons

- The Studio derives each concept's superclasses from the axioms it already
  loads instead of asking the concept list for subClasses/superClasses. The
  server's hierarchy lookup counts every SubClassOf axiom, restrictions
  included, against a 10,000 cap, so HL7 FHIR R5 (12,086 SubClassOf axioms,
  1,075 named parents) failed with "Error while fetching Ontology".
- GET /ontologies/reviews skips reviews whose ontology was archived, so the
  Tasks badge, banners and queue stop showing a review nobody can act on.
- The task drawer disables Approve/Reject when the reviewed ontology is gone
  (state 404); a transient state failure still allows a vote.
- Studio error alerts put Retry in the Alert's rightContent slot instead of
  inside the message body.

* Remove a local generated/antlr symlink committed by mistake

* Ontology Studio: show only the reviews waiting on the viewer in the review banner

Per design review, the Studio banner announces only approvals pending on the
viewer, in the yellow pill:
- one review: "<requester> asked you to review <ontology or version>" with Review;
- several (All ontologies, or several in one ontology): "N reviews waiting on
  you" with Review opening the Tasks list.
The requester's blue "In review · waiting on …" banners are removed, with the
status strings and helper only they used. The approved/rejected notice for the
requester is unchanged.

The Playwright review specs now expect the reviewer's pill and no banner for
the requester; OntologyReviewTasks.spec.ts still asserted the pre-#37607 copy.

* Ontology Studio: pick a concept in place when a graph is too large to draw

The too-large state was an info banner that sent people to Tree or Find. It
now shows the count and a "Select concept" dropdown styled like the header's
ontology picker: a search field (focused on open) over the concepts, each with
its parent, ranked exact name > prefix > other match, 20 at a time with Show
more. Picking one draws its neighbourhood and opens it, as Find does.

The message drops the Tree/Find hint in every locale.

* Ontology Studio: build the violation-name replacer once, keep the mode on a Data pick

- makeReadableViolationMessage(concepts) builds the label map and the
  whole-name regex once; the graph view, release validation and axiom
  workspace memoize it per concept list instead of recompiling it for every
  message on every render.
- Picking a concept with nothing linked in Data mode no longer switches to
  Edit: the mode never changes on a pick. The empty state's Link data asset
  still starts linking. Data mode again searches the concepts with synonyms
  (the previous commit passed it the graph-node list).
- Regenerate the Playwright impact map, and sort named imports in 16 files
  (organize-imports), which the UI Checkstyle job flagged.

* Ontology Studio: keep a focused graph after the drawer closes, and draw readable neighbourhoods

On a graph too large to draw (HL7 FHIR R5), picking a concept drew up to 120
concepts, closing its drawer emptied the canvas again, and the notice sat
under the drawer.
- The concept in focus outlives the selection, so closing the drawer or
  clicking the canvas keeps its neighbourhood. A concept selected outside the
  drawn neighbourhood refocuses it; one clicked inside it does not, so the
  layout holds still.
- Past the first hop a hub (more than 12 links) is drawn but not expanded, so
  _Account shows itself and _DomainResource instead of every sibling.
- The notice is a compact bar at the top left, clear of the drawer: the count,
  a concept picker showing the focus (to switch), Open Tree, and Clear, which
  returns to the picker. Its message drops the Tree/Find sentence.

* Ontology Studio: Tasks drawer shows a spinner while loading and reopens on Assigned to me

- The task list and task detail show the shared Loader instead of a bare
  "Loading" line, as the rest of the Studio does.
- Closing the drawer resets the tab to Assigned to me, the search and the
  page cursor, so it no longer reopens on Created by me.

* Sort the Loader import in OntologyTasksDrawer (organize-imports)

* Ontology Studio: mount only the visible tree rows, sentence-case the Not stored badge

- On FIBO the tree mounted its whole 2,048-row window and re-rendered it on
  every selection: opening Tree took 2.1 s and a row click 3.3 s before the
  drawer opened. A window of more than 200 rows now renders through React
  Aria's Virtualizer, so only the rows on screen mount (14 on FIBO); the tree
  scrolls inside its card and revealing a selection scrolls its row in.
  Opening Tree now takes 0.14 s and a row click 0.15 s (production build).
- The rows no longer rebuild when the host passes a new onConnect callback.
- ADR amendment v3 records the measurement and why the window was not shrunk.
- "not stored" reads "Not stored" in every locale.

* Ontology Studio: show a loader while a query runs, and one Advanced IDs card in both drawers

- Query results: while a run is in flight (picking a saved query runs it) the
  results area shows the shared Loader instead of "No results yet", in the
  SPARQL console and the visual builder. The empty state fills the results
  pane and is tall enough for its centred placeholder, so the pane no longer
  scrolls around it.
- The relationship drawer's "Advanced IDs and IRIs" uses the concept drawer's
  design: a bordered list of ID, Subject, Property and Target, the IRIs
  copyable, instead of a monospace grid. Both drawers render it through the
  new OntologyAdvancedDetails, which keeps their test ids.

* Ontology Studio: spinners instead of "Loading" text, and an announced Loader

- Loader carries role="status" and a translated "Loading" name, so every
  spinner is announced to screen readers (review: the Tasks drawer's spinner
  had dropped the accessible status the "Loading" text gave).
- The Studio's standalone "Loading" lines (release, review, history, compare,
  validation, reviewers, definition list, delete dialogs, concept assets, data
  mode, scope menu, library, query rail, pack sample, relationship-type picker,
  data-asset picker, export previews) show the spinner instead. Load-more
  buttons keep their label and use the core Button's isLoading spinner.
- A saved query's title lines up with its form badge and saved line: the
  rename input's padding is pulled back.
- Fix the query console loading test's resolver type (tsc).

* Keep the Tasks drawer cursor-history test inside the CI coverage timeout

Paging 45 times past the real 40-cursor history overran the 20s budget under
coverage, and its still-running loop then broke the 15 tests after it. Mock the
limit to 5 so the same trim-and-walk-back path runs in 8 pages.

* test(playwright): fix Context Center extraction-off and draft-persistence failures (#37721)

* test(playwright): fix Context Center extraction and draft-title failures

- Run the Playwright server with in-memory object storage. With storage
  off, NoOpAssetService.read returns null, so every upload ended Failed and
  the "uploaded while extraction is off" test could never pass.
- Skip the three extraction-off tests on a server with extraction on
  (Collate AUT), where Not processed and the off reason never occur.
- Draft title test: wait for the title PATCH and the hierarchy reload it
  triggers before scrolling to article B; the reload reset the tree to
  page 1 and dropped the node.

* test(playwright): apply the hierarchy-reload wait to the draft content test

- The description draft test raced the same page-1 hierarchy reload: its
  3s content autosave fired while the test scrolled to article B. Both
  draft tests now share waitForArticleSavedAndHierarchyReloaded,
  registered before the edit.
- Fold the extraction-off gate into skipUnlessMemoryExtractionOff so the
  skip and its justification live in one place.
- Let the h2 test config read ASSET_UPLOADER_ENABLE/PROVIDER so the h2
  lane stores uploads in memory too.

* test(playwright): order the hierarchy wait after the save, keep A unsaved

- Await the hierarchy reload only after the save's PATCH, so the
  hierarchy's own load on mount cannot satisfy the wait.
- The description draft test blocks A's autosave again until it returns
  to A, so it still switches articles with unsaved content and the
  hierarchy never reloads while B is scrolled to.

* test(playwright): register the extraction-off tests only on OSS

Replace the runtime skip helper with the repo's PLAYWRIGHT_IS_OSS
registration guard, as WorkflowOssRestrictions.spec.ts does. A Collate
server runs with memory extraction on, so the three tests never register
there, and expectMemoryExtractionOff keeps its original hard assertion.

* test(playwright): hold the draft title unsaved instead of awaiting a reload

A local run showed the hierarchy reload after a title save is not
guaranteed: in the AI shell the hierarchy remounts on the way to the
listing and the debounced PATCH lands with no reload after it, so waiting
for one hung the test. Block A's autosave until the test returns, as the
description test does, so no save happens mid-switch in any shell, and
drop the now unused helper.

Scope the Articles link to the breadcrumb: in AI mode the Context Center
sub-nav adds a second link with that name.

* fix(ingestion): floor oauthlib, filelock and dnspython for Dependabot alerts (#37748)

oauthlib >= 4.0.1 fixes GHSA-3jp2-3mrg-2vxc (device-code grant issues a
token for any device_code). filelock >= 4.2.1 fixes GHSA-v4x8-3wr5-3wq8
(ReadWriteLock follows planted symlinks) and dnspython >= 2.9.0 fixes
GHSA-45c3-73f7-pv4m (name decompression CPU DoS); both fixes need Python
3.11, so the floors carry a python_version marker and the 3.10 fork keeps
the vulnerable releases.

The images pip-install openmetadata-ingestion from PyPI rather than from
uv.lock, so the floors go in setup.py where they reach both. The in-tree
Airflow constraints pin oauthlib 3.3.1 and filelock 3.32.6; bump them, and
snowflake-connector-python to 4.8.1 because 4.7.x caps filelock < 4.

* fix(ui): render the remaining icon-only actions as ButtonUtility (#37662)

* fix(ui): render the knowledge graph and ontology conflict icon actions as ButtonUtility

The knowledge graph canvas controls and the ontology conflicts collapse toggle
were children-less core Buttons. Per ADR:2026-10-14-icon-only-actions-are-tertiary-button-utility-with-one-edit-icon
they are lg ButtonUtility actions, matching the Lineage canvas controls.

* fix(ui): render the remaining icon-only actions as ButtonUtility

Converts the leftover icon-only core Buttons and raw buttons: the classic
alert rule remove and test case filter clear, the classic notification bell,
the inbox sort trigger, the dimensionality heatmap scroll buttons, and the
bordered ontology and knowledge graph toolbar triggers. Each keeps the box
of the Button it replaces. The ontology comment send action becomes primary.

Records the bordered case as v8 of
ADR:2026-10-14-icon-only-actions-are-tertiary-button-utility-with-one-edit-icon.

* docs: record which icon-only controls stay outside ButtonUtility

Adds v9 to the icon-only actions record listing the feed comment/reply
buttons, split-button chevron, colour swatches and drag handles with the
reason each stays as it is, and points component-library.md at it.

* Fixes 37722: Theme generated icons through root color, not stroke (A-Z sort icon weight) (#37723)

* fix(ui): stop generated icons stroking filled shapes

The icon generator puts stroke={color} on the root <svg>, so a filled
shape without its own stroke (Figma exports glyphs as filled outlines)
inherited a 1px stroke and rendered bolder than designed, e.g. the A in
the A-Z sort icon. Pin stroke="none" on such shapes and regenerate the
76 affected icons.

Fixes #37722

* refactor(ui): theme icons through the root color instead of a root stroke

Review feedback: the root stroke={color} was the source of the inherited
stroke, and it no longer painted anything once every shape carried its own
stroke. Set the color prop as the root's CSS color instead, so currentColor
in each shape resolves to it, and drop the keepUnstrokedShapesUnstroked
plugin. The color prop now takes effect on regular icons; previously it was
ignored.

* chore: remove unused fixMissingEdgeLabels workflow edge helper (#37448)

Co-authored-by: detail-app[bot] <180357370+detail-app[bot]@users.noreply.github.com>

* Fixes 37732: Deleted table still lets you add a data quality pipeline (#37733)

* fix(ui): block adding pipelines to deleted tables and test suites

* test(ui): cover deleted guards on empty state and suite pipeline tabs

* fix(ci): compare dequeued failures with runs that lack the PR (#37694)

* fix(ci): clarify dequeue assessments

* fix(ci): compare dequeued failures with runs that lack the PR

The dequeue alert compared a failed queue job only with the same job at the
exact main base in an identical environment, evidence that almost never
exists, so every alert read Unknown.

Compare each failed run with earlier main and merge-group runs of the same
workflow that share no queued PR with it. Match tests by name across all
report artifacts, or jobs by name and failed step. Report Main, Likely
PR/merge-group error, Infrastructure or one precise Unknown, and for Main the
range between the last passing and first failing run. The scripts are
identical to Collate's.

ADR:2026-11-13-dequeue-alerts-compare-runs-without-the-pr

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: replay any recorded dequeue from the dequeue report dispatch

A dry-run dispatch could only report a PR's latest dequeue, which is usually
its merge. The dequeue input counts back from the latest, so any recorded
dequeue can be replayed in CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(ci): keep dequeue verdicts honest when evidence is partial

- A main pass supersedes only merge groups built on the same dependency
  revisions, so a dependency break still turns Main on the next failure.
- A merge group that landed is placed by its head, in supersession and in
  the introducing range, so a landed breaking commit is named.
- Expired or unreadable reports of the failed run, and jobs that failed
  outside a test step, get their own line instead of vanishing.
- One unreadable comparable run is skipped, not the whole comparison, and
  only main's own content proves a test is new.
- The dequeue dispatch input fails instead of reporting another dequeue.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(ci): flag failed test jobs that left no report naming the failure

A shard killed before writing its report, or stopped by forbidOnly, failed
in its test step but no report names its failure, so it vanished when other
shards did report failed tests. Failed test jobs beyond the readable reports
that name a failure now get their own Unknown line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(ci): state every dequeue diagnosis limit in its record

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

* Fixes 36958: Preserve shared assets during document cleanup (#37747)

* fix(context): delegate asset deletion to repositories

* fix(context): share deletion with attachment cleanup

* Make the whole application card open the app (#37758)

The Applications settings panel only opened an app from its Configure
link. The card now opens it on click too; the Configure button remains
the keyboard target so the card never nests one button inside another.

* feat(sigma): org-wide workbook listing and lineage without DB Service Prefixes (#37676)

* feat(sigma): list the organization's workbooks when Skip Permission Check is on

Sigma's listing returns only the documents the credentials' owner can
access, so a workbook nobody shared with that user was never ingested.
Sigma's answer is the admin-only `skipPermissionCheck` listing parameter.
A new optional connection field, `skipPermissionCheck` (default false),
sends it on the workbook and data model listings, always paired with
`excludeExplorations` so custom views, the private per-user views of a
workbook, are never listed. Off, every request is unchanged; the
connection test uses the same listing call.

Verified against Sigma's OpenAPI spec (downloaded 2026-11-12), Sigma docs
and DataHub 1329d8f73c; not live-verified (no Sigma instance).

* feat(sigma): search every database service when no prefixes are set

With dbServicePrefixes empty the Sigma connector linked no warehouse
table, unlike the other dashboard connectors, which search every service
when the field is left empty. The lineage stage now resolves a table
reference across all database services on the no-prefix call and links
it only when exactly one table matches in the whole catalog, as Hex does;
neither every match nor the first hit is linked. With prefixes set
nothing changes.

Verified against Sigma's OpenAPI spec (downloaded 2026-11-12), Sigma docs
and DataHub 1329d8f73c; not live-verified (no Sigma instance).

* feat(sigma): rename Skip Permission Check to List All Assets and describe what it sends

* feat(sigma): regenerate the aggregated UI types for listAllAssets; test the data model listing's second page

* Fixes 37690: Correct NATS connection checks and stream descriptions (#37744)

* Fix NATS connection checks and stream descriptions

* Keep optional NATS bucket checks connector-specific

* Use NATS connection owner for construction and checks

* Default NATS client to five retries

* Simplify NATS connection checks

* Fix Rill default filters, canvas titles, and model lineage (#37749)

* Fix Rill filters, canvas titles, and model lineage

* Simplify Rill chart display name fallback

* feat(sigma): Sigma Data Model lineage, connection path table lookup and column formulas (#37712)

* feat(sigma): add upstream lineage for Sigma Data Models

Read each ingested Sigma Data Model's /dataModels/{id}/lineage once every data
model is written, and link the warehouse tables and Sigma Data Models its
elements read. Tables resolve as for workbook elements: from the /files path,
only on a single match across dbServicePrefixes.

Decision record: docs/decisions/2026-11-12-sigma-data-model-lineage-links-only-what-its-elements-read.md

* test(sigma): cover a data model source named in only one of an element's id lists

* feat(sigma): read a table's connection path when its display path finds no table

When the /files display path of a warehouse table finds no single table, read
GET /v2/connections/paths/{inodeId} and use a 3-part path whose last part is the
table name as database, schema and table. Tables that resolve today are
unchanged and cost no extra call; a failed read or another shape leaves the
table unresolved. Paths are cached per table (bounded).

Decision record: docs/decisions/2026-11-12-sigma-connection-path-is-read-only-when-the-display-path-finds-no-table.md

* test(sigma): pin each connection path guard; cache comment, drop dead prefix check

* test(sigma): a Sigma Data Model table is found through its connection path

* docs(sigma): name the dataset test as a guard of the connection path record

* docs(sigma): data model tables resolve through the connection path fallback too

* feat(sigma): show column formulas and trace computed columns to their sources

Read /workbooks/{id}/columns and /dataModels/{id}/columns and write each
column's non-empty Sigma formula to its description. For an element without
SQL, a column with no warehouse column of its own takes the sources of the
columns its formula names as bare [Name] references, directly or through other
computed columns. Formulas naming another element or source, or holding an
escape, are not traced.

Decision record: docs/decisions/2026-11-13-sigma-column-formulas-go-in-the-description-and-trace-only-same-element-columns.md

* fix(sigma): a computed column takes its formula's sources over a same-named column; describe only calculations

* fix(sigma): hide only [Source/Column] formulas; drop the unreachable self-reference guard

* fix(sigma): a calculated column takes its lineage only from its formula, following [Source/Column] through the element's lineage

* fix(sigma): a copy whose source is found is not matched by name; trace each element once; look tables up by their lineage id

* fix(sigma): a copy naming a source it reads, or a relationship, is not matched by name

* fix(sigma): trace a formula reference to a dataset on a table like a table

* Fixes 37762: Test result chart is blank when passed or failed runs report no value (#37763)

* fix(ui): plot passed and failed runs that reported no value on the test result chart

* fix(ui): place only passed or failed runs that measured no series

* fix: preserve literal MSSQL and AzureSQL schema names in profiler SQL (#37692)

* fix(hex): don't drop a project whose export YAML PyYAML misreads (#37536)

A Hex project lost its data model and lineage on every run when its export
failed to load:

- A cell labelled `no`/`false` (or `2024`) was read as a bool (or int) by
  YAML 1.1 resolution, so Cell(label=...) failed validation. The export is
  now loaded with every scalar but null kept as text.
- A tab inside a plain scalar (`- text: id<TAB>email`) is valid YAML but
  PyYAML rejects it. On a parse error the export is reloaded with tabs as
  spaces; tabs are never indentation in valid YAML.

* Fixes 37256: Apply only Approved glossary terms from dbt meta (#37571)

* Fixes #37256: apply only Approved glossary terms from dbt meta

get_tag_label() only checked that a glossary term exists, so dbt
meta.openmetadata.glossary attached Draft, In Review, Rejected and
Deprecated terms to tables and columns. Skip any term whose
entityStatus is set and not Approved, with a warning; the rest of the
asset's metadata is still ingested.

* Skip glossary terms with no status too, matching the server's CSV import rule

* Use lazy logging for the skipped glossary term warning

* fix(jdbi): read the relationship keyset page as a primary key range on Postgres (#37582)

* fix(ontology): align ontology Playwright specs with the #37711 redesign; resend a Fuseki-dropped RDF CLEAR (#37751)

* fix(ontology): align ontology Playwright specs with the #37711 Studio redesign and name the RDF clear failure's cause

- Specs: axiom Quick/Advanced is now Tabs (aria-selected); rule fields lost
  the '(optional)' suffix; rules list rows are named by their sentence; long
  IRIs are middle-truncated in pickers; a press outside the concept drawer
  closes it (mode tabs, graph nodes, version switch); a concept in the URL
  opens its drawer over the Model/Data switch; the review banner button is
  'Review'; the tree virtualizes past 200 rows; classic vs AI release counts.
- RdfIndexApp: the 'Failed to clear RDF data' failure now carries the root
  cause, since the run's failure message is all CI keeps when the RDF lane
  reports DEGRADED.

* fix(rdf): resend a maintenance CLEAR that Fuseki drops, and keep the concept drawer off controls in the remaining ontology specs

- JenaFusekiStorage.executeMaintenanceUpdate sends a CLEAR once more when the
  connection closes before Fuseki answers (EOF or reset). The CI reindex
  starts after minutes without RDF traffic, so its CLEAR ALL went out on a
  pooled connection Fuseki had already closed; the HTTP client retries only
  idempotent requests on such a connection. This is the EOFException the
  RDF lane's DEGRADED failure now names.
- NativeOperations, NativeTreeShell, NativeDataMode: open the concept through
  the URL's mode/view instead of pressing a tab outside its drawer (which
  closes it), close the drawer before the Model/Data switch it covers, and
  run Collapse all/Expand all before a row opens the drawer.

* fix(rdf): resend a dropped maintenance CLEAR only within its original budget, and record the rule

The resend now gets what is left of storageMaintenance.maxDurationMinutes
instead of a fresh budget, so a late drop never holds the write pause past
the cap. ADR:2026-11-13-a-dropped-rdf-maintenance-clear-is-resent-once-within-its-budget
records that a maintenance update is resent at most once, only on a dropped
connection (EOF or socket reset/refusal), never on a timeout, and only because
every maintenance update is an idempotent CLEAR run with serving writes paused.

* Fixes 8546: Link Context Center articles from entity pages (#37769)

* feat(ui): link Context Center articles from entity pages

The entity-page Context Center widget only listed articles and hid itself
when none were linked, so linking meant opening each article. Editors now
get a +/edit action that opens a staged search popover (core TreeSelect)
and links/unlinks via the page usage endpoints.

Also: name the widget Context Center on the customize page, align the
WidgetCard title with its chevron, unwrap the Data Assets form actions,
and tighten the related-articles page spacing and breadcrumb.

* fix(ui): only offer article linking where the server allows it

Hide the picker on domain and data-product pages (the usage endpoints
drop those references) and require EditAll on articles as well as the
entity, matching the server's check. Hide the widget when the article
list fails to load, and drop the duplicate Topic customize entry.

* fix(ui): address review on Context Center article linking

- Customize-page widget titles come from the page's widget list, so no
  per-widget special case is needed for the Context Center name.
- Refresh the widget in place after linking instead of showing the loader.
- Build the link/unlink requests with reduce.
- Replace the filter-page LESS override with a TitleBreadcrumb singleLine
  prop that applies tw: classes.

* chore(playwright): map TitleBreadcrumb and TopicClassBase in the impact map

* fix(ui): move Context Center view-all into the widget header actions

The text link sat beside the title and edit icon, wrapping onto two lines
and truncating the title. Use the right-aligned ArrowUpRight action the
Custom Properties widget already uses.

* refactor(ui): use the core Breadcrumbs on the related-articles page

Replace TitleBreadcrumb with the ui-core-components Breadcrumbs, whose
autoCollapse keeps the trail on one line, and drop the singleLine prop
this PR had added to TitleBreadcrumb.

* Ontology Studio: address second design-review round (#37774)

* Ontology Studio: address second design-review round

- Search: clear button on the Studio and Explorer concept searches
- Empty states: "Choose an ontology to view" with an ontology picker;
  Cube01 icon on the too-many-concepts state; no card behind "no concepts"
- Graph: selecting a concept no longer fades the rest in Studio
- Concept drawer: Type is a dropdown; whole relationship card is clickable
  with hover; relationships page by 10 with Load more; long names truncate;
  Save closes the drawer; delete confirm is a full-page modal
- Bind to column without a linked table explains itself in a popover
- Data assets: Bind columns and Sample Data on their own line, regular
  weight; icon and badge top-aligned; 14px/500 names; subtext spacing
- Typography: Inter for mapping IRIs and column names, 14px/500 property
  names, weight 500 in the column-binding step
- Modals: discard dialog matches the delete modal width; Review & publish
  and the library keep one height across tabs/filters
- Add-asset picker and new-concept property row match the redlines
- Core Button: label follows the root colour transition (no grey-on-blue
  flash); core Checkbox takes boxClassName for the box margin

* Record the concept drawer's ten-at-a-time relationship reveal

Adds ADR:2026-11-13-concept-drawer-reveals-relationships-ten-at-a-time and
cites it at RELATION_PAGE_SIZE.

* test(playwright): fix the visual lane: refresh stale baselines, fix DQ, search index and incident-time fixtures (#37696)

* test(playwright): fix the visual lane on main

Seeds the stale baselines with 2.1 captures and fixes the data quality and
search index fixtures. Baselines that differ on main are refreshed from a
main visual run in follow-up commits.

* test(playwright): refresh main-only visual baselines and pin the incident check time

Refreshes the 19 baselines that differ on main in run 43254382434: the DQ
and data-observability scenes captured with the broken value_count fixture,
the explore advanced-search frames, dark announcements, bots, incident
manager and the table manage menu. Each actual matched its retry.

The incident fixture timestamp equalled FIXED_DATE while the browser clock
keeps running, so the asset health widget rendered 'Last check N secs ago'
with N depending on scene duration. It is now one hour earlier, so the
relative time stays '1 hour ago'.

* test(playwright): refresh the incident manager and nested group baselines

Run 43263784280 shows the incident manager with the new incident time, and
two advanced-search nested-group frames that the previous run never reached:
a scene stops at its first mismatched screenshot, so each refresh exposes
the next frame of the same scene. Each actual matched its retry.

* test(playwright): refresh the dark nested-group footer frame

The last advanced-search nested-group frame that earlier runs never reached
(run 43294607250). The actual matched its retry.

* test(playwright): scope the lineage columns-menu click to the orders node

#37673 fits the lineage graph into view on the first draw, so a second node's
children-info-dropdown-btn now renders and the unscoped click hits a strict
mode violation.

* WIP: temporarily disable maxFailures to capture every visual baseline (revert before merge)

* test(playwright): refresh visual baselines for the MicroStrategy form, Ontology Studio and themed icons

Each baseline is the first-attempt -actual.png from the visual lane on this
branch (run 43413519134, Linux renderer, regular bundle). The diffs come from
#37146 (MicroStrategy auth is optional and the form gains Advanced Config),
#37710 (Ontology Studio spacing) and #37722 (generated icons themed through the
root colour, e.g. the Observability sidebar icon).

* Revert "WIP: tem…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

To release Will cherry-pick this PR into the release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Enforce consistent glossary term tagging rules between API and UI

3 participants