Skip to content

chore(release): merge main into 2.1 - #38083

Merged
shrabantipaul-collate merged 223 commits into
2.1from
chore/merge-main-into-2.1-2026-11-18
Nov 18, 2026
Merged

shrabantipaul-collate merged 223 commits into
2.1from
chore/merge-main-into-2.1-2026-11-18

Conversation

@shrabantipaul-collate

@shrabantipaul-collate shrabantipaul-collate commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

No issue: release-branch sync, no new code. Every change it brings is a main PR that already merged.

Brings 2.1 up to date with main (88aaed41451, 222 commits) before the next 2.1 RC. Merging (instead of recreating 2.1 from main) keeps 2.1's 2.1.0-rc2 versions and its 2.1-specific CI. Merge base is c62c99566af, the main commit the previous sync (#37660) merged, so git computed the merge against the right base.

Conflict resolution (149 paths). Almost every 2.1 commit since the last sync is a backport whose original is on main (#37886, #37832, #37878, #37575, #37848, #37729, #37703, #37758, #37769, #37775, #37844, #37630, #37838, #37830, #37817, #37773, #37825, #37725, #37831, #37662, #37685, #37772, #36008, #37698, #37643, #37670). The conflicts are those backports meeting their own originals plus main's later edits, so main's side was taken:

Kind Count Resolution
Content (code, tests, locales, impact-map*.json, ADRs) 117 main's hunk, keeping 2.1's non-conflicting lines (rc2 version etc.)
Added on both sides (backport + original) 8 main's file
Deleted on main, modified on 2.1 21 Deleted, as on main. These are the Ontology Studio pages/specs replaced by main's restyle, and CopyToClipboardButton
Rename/rename (spurious .less → .ts rename detection) 3 main's files
Playwright VR baselines 80 main's PNGs. The UI is now main's, so 2.1's own refresh (#37695) no longer matches it

2.1-only work since the last sync was checked separately. #37561, #37532, #37569, #37583 and #37515 are already on main (the fix applies cleanly in reverse, or main has a later version of it). #37709 touched the two ontology specs main deleted with the Ontology Studio rewrite.

What differs from main after the merge (38 files): only the 2.1.0-rc2 versions (poms, pyproject.toml, uv.lock, Dockerfiles, compose files) and 2.1's release-branch CI (refs/heads/2.1 pins, test_release_ci_security.py, the integration-test and data-access-request-e2e guards, docs/decisions/2026-11-10-pr-jobs-never-receive-credentials.md). Every one of those diffs is identical to what 2.1 had before the merge, except that main's other edits in the same poms and uv.lock come along. One of those edits is the msal4j dependencyManagement entry, which main removed in #37927.

Please merge with a merge commit, not squash, so the next sync gets the right merge base.

Type of change:

  • Improvement

Tests:

  • python .github/scripts/check_pr_workflow_security.py: passes.
  • pytest .github/scripts/tests/test_pr_workflow_security.py .github/scripts/tests/test_release_ci_security.py: 46 passed, 2 skipped.
  • All 67 workflow and composite-action YAML files parse.
  • No conflict markers remain in the tree.
  • Not run locally: Java, Python and Playwright suites. Apart from the version lines, that code is identical to main's, and this PR's own checks run it.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 4/5

Fix the loss of other services' coverage records before merging.

Findings

  1. P1 Other services lose coverage ▶

Summary

Merges main into 2.1, bringing backend, connector, UI, migration, and CI updates while retaining release-specific settings.

  • The quickstart setup can run OpenMetadata with a separate Fuseki service.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Full daily capture] --> B[Shared completion record]
  B --> C[Coverage available for every service]
  C --> D[Rerun one service]
  D --> E[Delete shared completion record]
  E --> F[Restore selected service only]
  F --> G[Other services lose readable coverage]
Loading

Reviews (2) · Last reviewed commit: "chore(release): merge main into 2.1" · Reviewed by Greptile

Khairajani and others added 30 commits November 12, 2026 16:22
…ds (#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
…#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
…andoff (#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
#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
…e 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
…ngestion 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.
…s 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
… 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.
* 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
#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.
- 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.
… 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

* 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 <[email protected]>
Co-authored-by: Ram Narayan Balaji <[email protected]>
Co-authored-by: Ram Narayan Balaji <[email protected]>
* Fix Data Quality table total integration tests

* Remove unit tests for Data Quality integration test helper
…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.
…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 <[email protected]>
* 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
* 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
…#37704)

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

* usage recorder fix

* usage endpoints fix

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

* test(rdf): map the unit-only fixture precisely
…neage (#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
…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
…dering (#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

* chore(playwright): regenerate the impact map
* 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
…flict, 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.
harsh-vador and others added 12 commits November 18, 2026 11:17
* fix(ui): bump @apidevtools/json-schema-ref-parser to 15.3.6

CVE-2026-15195 (prototype pollution in Pointer.set) affects every
version below 15.3.6, including the 14.1.1 the UI resolved. Collate
already pins 15.3.6, so this also aligns the two UIs on one major.

15.x ships an ESM `import yaml from "js-yaml"`, and js-yaml 5 has no
default export, so a scoped resolution keeps js-yaml 4.3.2 under the
parser only; it must stay above the bare js-yaml entry.

parseSchemas.js passed its options to the $RefParser constructor,
which never read them. They now go on every call, with a JSON parse
plugin that drops `$id`: under 2020-12 15.x resolves $refs against
`$id`, and 122 spec schemas declare an `$id` that does not match their
file path, so refs fetched open-metadata.org instead of the local file.

The regenerated output differs only in five ingestion schemas, where
22 bundle-internal $refs pointed through another $ref and resolved
nowhere; all 22 now resolve.

* test(ui): assert every local $ref in generated schemas resolves

Fails on main's output with 22 dangling pointers in five ingestion
schemas; also drop the now-redundant post-bundle $id strip, since the
parse plugin removes $id when each file is read.

* docs(decisions): record why the ref-parser js-yaml pin precedes bare js-yaml

Yarn 1 applies the first matching resolution, so the scoped js-yaml 4.3.2
entry must stay above the bare js-yaml entry; package.json cannot carry
that comment. The record also says when the pin can go: ref-parser 16.x
depends on js-yaml ^5.

* test(ui): resolve $refs the way RJSF does in the generated-schema guard

URI-decode the fragment and keep empty pointer tokens, so
'#/definitions//x' no longer passes against a missing empty key; cover
empty, escaped and URI-encoded keys.

* chore(playwright): regenerate the impact map

main went stale after #37953 and #37904 changed imports without
regenerating it, which fails the impact-map drift check on every PR.
)

- The SSO Test Login provider crumb returns to its own form, as Back
  does, so it no longer opens the unsaved-changes prompt. Panels list
  such in-editor crumbs in inEditorBreadcrumbIds; guardBreadcrumbAction
  runs them without the guard.
- SSO, glossary relation and change-password specs discard through the
  shared unsaved-changes popover.
- Members pagination reads the page size from the picker's trigger, so a
  list already at 15 does not wait for a reload that never comes.
- The SSL certificate test asserts the workflow request the form sent;
  the response masks the password-format caCertificate.
* Seed the applied threshold on FailureThreshold's seeded runs

Since #37809 the run details card reads the tolerance a run recorded
(appliedThreshold) instead of the test case's current setting, and a run
without that snapshot shows its threshold as "Unavailable". The spec seeded
results with no snapshot, so the strict run read "Unavailable" instead of
"No tolerance" and the relative run lost its percentage unit.

Seed each run with the snapshot an agent would write: 0 ABSOLUTE for the
strict test, 5 PERCENTAGE for the relative one.

* Describe FailureThreshold's displayed threshold as the run's recorded one
PRODUCT_TOUR_URL pointed at Collate's demo as a placeholder until an
OpenMetadata demo was published. It is now published, so Help > Tour and
the Welcome screen open it. The decision record is amended: a
distribution may also show a demo per app mode.

Co-authored-by: Shrabanti Paul <[email protected]>
…splay name (#38074)

#37127 moved the login out of the users table's Name column, so the row
name no longer contains the firstName-dot the locator relied on and the
remove click hung until the test timeout.
… config has legacy keys (#38053)

* fix(ui): keep Applications config form clean after a save when stored config has legacy keys

* fix(ui): reset Applications config dirty snapshot on stored-config change, not schema change

A late-loading schema (MCP tool names) recomputed the baseline and cleared an
in-progress edit, so Cancel could discard it without prompting.

* fix(ui): return to the Applications list when the app configuration is cancelled

Matches the other settings forms: Cancel (or Discard from the unsaved-changes
prompt) leaves the form instead of remounting it in place.

---------

Co-authored-by: detail-app[bot] <180357370+detail-app[bot]@users.noreply.github.com>
Co-authored-by: Rohit0301 <[email protected]>
…te instead of the onboarding empty placeholder when the list fetch fails (#38047)

* fix(knowledge-center): track list-fetch failures separately from empty state

* fix(knowledge-center): reset paging offset on error-state reload

Reload after a failed load-more refetched offset 0 without resetting
pageOffset, so the next load-more skipped a page. Also stop load-more
from auto-retrying while the error view is shown, and make the e2e
recovery check wait for the retry response and a settled end state.

* test(knowledge-center): rerender paging test with a fresh element

Reusing the same element in rerender lets React bail out, so the
changed in-view mock may never be read.

* test(knowledge-center): drop the fetch-failure repro Playwright spec

The Jest suite covers the error placeholder, empty-state reporting,
Reload recovery and paging reset.

---------

Co-authored-by: detail-app[bot] <180357370+detail-app[bot]@users.noreply.github.com>
Co-authored-by: Rohit0301 <[email protected]>
…8062)

* fix(ui-core): add Tree.DragButton for keyboard drag-and-drop in Tree

* Address review: unnest knowledge-page drag handle, fix keyboard reorder E2E, trim test comments

- Render Tree.DragButton beside the page link/quick-link button instead of inside it
- Playwright: query the rendered 'Move' name and assert row order via data-key
- Drop narration comments from tree.test.tsx

* Drop narration comments from the drag-handle backstop tests

* Make the Settings navigation drag handle keyboard-reachable; drive the E2E with real keys

tw:invisible removed the drag button from the accessibility tree, so ArrowRight
from a row skipped it. Hide it with opacity instead, like the other Tree
consumers. The keyboard reorder test now reaches the handle with ArrowRight,
walks drop targets with ArrowDown and asserts Home lands after Explore.

* Use core Box for the quick-link row wrapper in KnowledgePagesHierarchy

* Use core Button for knowledge page and quick-link rows

The quick-link <button> and page <Link> become one core Button (onPress for
quick links, href for pages; React Aria's RouterProvider keeps navigation
client-side). The delete button now sits beside the row link instead of
inside it.

* Revert "Use core Button for knowledge page and quick-link rows"

This reverts commit 6044daf.

---------

Co-authored-by: detail-app[bot] <180357370+detail-app[bot]@users.noreply.github.com>
Co-authored-by: Rohit0301 <[email protected]>
* Render the home page at /my-data in AI mode

My Data & Following lives in the personal-space modal in AI mode, so the
routed /my-data page is removed. /my-data now falls through to the same
landing page / renders, as in classic mode, and the sidebar Home item owns
both paths. A classic /my-data history entry no longer surfaces the old
My Data page on browser Back after switching to AI mode.

* Describe the /my-data fall-through in the personal-space module comment
#38071)

* fix(playwright): make mcp administration spec pass on a clean instance

* cleanup note

* switch state checks
#38078)

PortsLineageView refit the graph only from the fullscreen button handler, so
exiting with Escape (handled by the parent tab) kept the fullscreen viewport
transform in the 350px inline pane and left the graph off-screen. Refit on
every isFullScreen change instead, which covers both exit paths.
Brings 2.1 up to date with main. Conflicts were backports colliding with
their own originals on main, so main's side was taken; 2.1's rc2 versions,
2.1 CI pins and release-branch CI hardening are kept unchanged.
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

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

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

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@gitar-bot

gitar-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🔴 High risk

This merge changes authorization and OAuth flows across service and MCP code, potentially granting unintended access to protected metadata or clients.

Merges main into the 2.1 release branch to bring it current before the next 2.1 RC, bringing in 222 commits of already-merged main PRs with conflicts resolved in favor of main's side. Only version lines and release-branch CI differ from main. No issues found.

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

@shrabantipaul-collate
shrabantipaul-collate merged commit 5cecd73 into 2.1 Nov 18, 2026
56 of 58 checks passed
@shrabantipaul-collate
shrabantipaul-collate deleted the chore/merge-main-into-2.1-2026-11-18 branch November 18, 2026 07:43
Comment on lines +64 to +70
final List<String> ids =
List.of(checkpointId(day, scope(service)), checkpointId(day, ALL_SERVICES));
delete(
checkpoints,
service == null
? Map.of("term", Map.of("@timestamp", day))
: Map.of("ids", Map.of("values", ids)));

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.

P1 Other services lose coverage

After a successful full capture, beginCapture(day, service, ...) deletes the ALL_SERVICES completion record. But completeCapture restores only the selected service's record. Other services normally have no individual record, so loadCoverage stops returning their captured counts even though their snapshots still exist. Later chart rebuilds leave those counts out.

Preserve completion records for untouched services before removing the shared record.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.