Skip to content

fix(search): add nested customPropertiesTyped mapping to 5 entity indexes - #30501

Merged
mohityadav766 merged 2 commits into
mainfrom
slack-issue-rca
Jul 27, 2026
Merged

mohityadav766 merged 2 commits into
mainfrom
slack-issue-rca

Conversation

@mohityadav766

@mohityadav766 mohityadav766 commented Jul 27, 2026 •

Copy link
Copy Markdown
Member

Describe your changes:

Fixes #

SearchIndex writes a customPropertiesTyped object into every entity's search document, but the chart, glossary, glossaryTerm, mcpServer and metric index mappings never declared the field, so OpenSearch dynamic-maps it as a plain object. The nested custom-property search query then fails at runtime with [nested] nested object under path [customPropertiesTyped] is not of nested type (HTTP 500) — the CustomProperties chart E2E failure that was blocking the merge queue. I added the customPropertiesTyped nested block (identical to table/dashboard) to those 5 mappings across en/jp/ru/zh, plus a consistency test asserting that any index declaring a top-level extension field must also declare customPropertiesTyped as nested, so this cannot regress one entity at a time. Existing indices for these 5 entities must be reindexed after this ships — the dynamically-mapped object type is sticky until the index is recreated.

Type of change:

  • Bug fix

High-level design:

N/A — index-mapping fix plus a guard test.

Tests:

Use cases covered

  • Setting a custom property on a chart (and glossary / glossaryTerm / metric / mcpServer) and searching it no longer 500s.

Unit tests

  • Added IndexMappingNestedFieldConsistencyTest#customPropertiesTypedMustBeNestedWhereExtensionExists — fails pre-fix (lists the 5 offending entities), passes post-fix. Full class run locally: Tests run: 6, Failures: 0, Errors: 0.

Backend integration tests

  • Not applicable — Elasticsearch index-mapping resource change, no new/changed API endpoint.

Ingestion integration tests

  • Not applicable.

Playwright (UI) tests

  • Not applicable — the pre-existing CustomProperties chart E2E is the scenario this fixes.

Manual testing performed

  • Verified the invariant holds across every index mapping in all 4 languages; all 20 patched files are valid JSON with customPropertiesTyped as type: nested.

UI screen recording / screenshots:

Not applicable.

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR is linked to a GitHub issue via Fixes #<issue-number> above.
  • For JSON Schema changes: no migration script needed — these are Elasticsearch index-mapping templates applied on reindex; existing indices for the 5 entities must be reindexed to pick up the nested field.
  • I have added tests and listed them above.
  • I have added a test that covers the exact scenario we are fixing.

Greptile Summary

Adds nested custom-property mappings and regression coverage for affected search indexes.

  • Declares customPropertiesTyped as a nested field for chart, glossary, glossary-term, MCP-server, and metric indexes across English, Japanese, Russian, and Chinese mappings.
  • Adds a consistency test requiring mappings with a top-level extension field to define customPropertiesTyped as nested.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
openmetadata-service/src/test/java/org/openmetadata/service/search/IndexMappingNestedFieldConsistencyTest.java Adds a mapping consistency assertion; current MCP-server mappings are loaded for all four languages and satisfy the extension-based guard, resolving the prior concern.
openmetadata-spec/src/main/resources/elasticsearch/en/chart_index_mapping.json Adds the complete nested custom-property mapping to the English chart index.
openmetadata-spec/src/main/resources/elasticsearch/en/glossary_index_mapping.json Adds the complete nested custom-property mapping to the English glossary index.
openmetadata-spec/src/main/resources/elasticsearch/en/glossary_term_index_mapping.json Adds the complete nested custom-property mapping to the English glossary-term index.
openmetadata-spec/src/main/resources/elasticsearch/en/mcp_server_index_mapping.json Adds the complete nested custom-property mapping to the English MCP-server index, with equivalent changes in the other language mappings.
openmetadata-spec/src/main/resources/elasticsearch/en/metric_index_mapping.json Adds the complete nested custom-property mapping to the English metric index.

Reviews (2): Last reviewed commit: "Merge branch 'main' into slack-issue-rca" | Re-trigger Greptile

…exes

SearchIndex writes a customPropertiesTyped object into every entity doc,
but the chart, glossary, glossaryTerm, mcpServer and metric index mappings
never declared the field. OpenSearch dynamic-maps it as a plain object, so
the nested custom-property search query fails at runtime with
"[nested] nested object under path [customPropertiesTyped] is not of nested
type" (500) — the merge-queue CustomProperties chart E2E failure.

Add the customPropertiesTyped nested block (matching table/dashboard) to
those 5 mappings across en/jp/ru/zh, and add a consistency test asserting
that any index declaring a top-level extension field must also declare
customPropertiesTyped as nested, so this cannot regress.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@mohityadav766
mohityadav766 requested a review from a team as a code owner July 27, 2026 07:59
Copilot AI review requested due to automatic review settings July 27, 2026 07:59
@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.

@github-actions github-actions Bot added backend safe to test Add this label to run secure Github workflows on PRs labels Jul 27, 2026
properties,
"Index mapping for '" + entity + "' has no properties — mapping file may be malformed.");
if (properties.has("extension")) {
JsonNode typed = properties.get("customPropertiesTyped");

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.

P2 MCP mapping bypasses consistency guard

The extension condition skips every MCP server mapping because those mappings do not declare that field. As a result, removing or changing the newly added MCP customPropertiesTyped mapping would leave this test green and allow the nested-search regression to return; validate mappings based on whether their search documents use customPropertiesTyped, rather than using extension as the sole proxy.

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.

Pull request overview

Fixes a runtime OpenSearch failure when searching nested custom properties on entities whose index mappings did not declare customPropertiesTyped as type: nested (causing dynamic mapping as a plain object and [nested] ... is not of nested type errors).

Changes:

  • Add a customPropertiesTyped nested mapping block to the chart, glossary, glossaryTerm, mcpServer, and metric index mappings across en/jp/ru/zh.
  • Add a regression test asserting that any mapping declaring top-level extension must also declare customPropertiesTyped as type: nested.

Reviewed changes

Copilot reviewed 21 out of 21 changed files in this pull request and generated no comments.

Show a summary per file
File Description
openmetadata-spec/src/main/resources/elasticsearch/en/chart_index_mapping.json Declare customPropertiesTyped as nested for chart documents.
openmetadata-spec/src/main/resources/elasticsearch/en/glossary_index_mapping.json Declare customPropertiesTyped as nested for glossary documents.
openmetadata-spec/src/main/resources/elasticsearch/en/glossary_term_index_mapping.json Declare customPropertiesTyped as nested for glossaryTerm documents.
openmetadata-spec/src/main/resources/elasticsearch/en/mcp_server_index_mapping.json Declare customPropertiesTyped as nested for mcpServer documents.
openmetadata-spec/src/main/resources/elasticsearch/en/metric_index_mapping.json Declare customPropertiesTyped as nested for metric documents.
openmetadata-spec/src/main/resources/elasticsearch/jp/chart_index_mapping.json Declare customPropertiesTyped as nested for chart documents.
openmetadata-spec/src/main/resources/elasticsearch/jp/glossary_index_mapping.json Declare customPropertiesTyped as nested for glossary documents.
openmetadata-spec/src/main/resources/elasticsearch/jp/glossary_term_index_mapping.json Declare customPropertiesTyped as nested for glossaryTerm documents.
openmetadata-spec/src/main/resources/elasticsearch/jp/mcp_server_index_mapping.json Declare customPropertiesTyped as nested for mcpServer documents.
openmetadata-spec/src/main/resources/elasticsearch/jp/metric_index_mapping.json Declare customPropertiesTyped as nested for metric documents.
openmetadata-spec/src/main/resources/elasticsearch/ru/chart_index_mapping.json Declare customPropertiesTyped as nested for chart documents.
openmetadata-spec/src/main/resources/elasticsearch/ru/glossary_index_mapping.json Declare customPropertiesTyped as nested for glossary documents.
openmetadata-spec/src/main/resources/elasticsearch/ru/glossary_term_index_mapping.json Declare customPropertiesTyped as nested for glossaryTerm documents.
openmetadata-spec/src/main/resources/elasticsearch/ru/mcp_server_index_mapping.json Declare customPropertiesTyped as nested for mcpServer documents.
openmetadata-spec/src/main/resources/elasticsearch/ru/metric_index_mapping.json Declare customPropertiesTyped as nested for metric documents.
openmetadata-spec/src/main/resources/elasticsearch/zh/chart_index_mapping.json Declare customPropertiesTyped as nested for chart documents.
openmetadata-spec/src/main/resources/elasticsearch/zh/glossary_index_mapping.json Declare customPropertiesTyped as nested for glossary documents.
openmetadata-spec/src/main/resources/elasticsearch/zh/glossary_term_index_mapping.json Declare customPropertiesTyped as nested for glossaryTerm documents.
openmetadata-spec/src/main/resources/elasticsearch/zh/mcp_server_index_mapping.json Declare customPropertiesTyped as nested for mcpServer documents.
openmetadata-spec/src/main/resources/elasticsearch/zh/metric_index_mapping.json Declare customPropertiesTyped as nested for metric documents.
openmetadata-service/src/test/java/org/openmetadata/service/search/IndexMappingNestedFieldConsistencyTest.java Add consistency test to prevent regressions where extension exists but customPropertiesTyped is not mapped as nested.

@github-actions

github-actions Bot commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

✅ Playwright Results — workflow succeeded

Validated commit 0be5e9a6572258f9a8c731f638ab4b3be8a073fb in Playwright run 30260122617, attempt 1.

✅ 737 passed · ❌ 0 failed · 🟡 3 flaky · ⏭️ 5 skipped · 🧰 0 lifecycle flaky

Performance

Blocking targets: ✅ met · Optimization targets: 🟡 in progress

Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting.

🕒 Full workflow signal wall (to summary) 50m 42s

⏱️ Max setup 2m 57s · max shard execution 19m 44s · max shard-job elapsed before upload 23m 7s · reporting 6s

🌐 196.84 requests/attempt · 2.54 app boots/UI scenario · 15.29% common-shard skew

Optimization targets still in progress:

  • Common shard skew was 15.29% (convergence target: at most 15%).
  • Application boot ratio was 2.54 per UI scenario (1944 boots / 766 scenarios; convergence target: at most 1).
Shard Passed Failed Flaky Skipped Lifecycle failed Lifecycle flaky
✅ Shard chromium-01 156 0 0 3 0 0
✅ Shard chromium-02 166 0 0 0 0 0
🟡 Shard chromium-03 144 0 1 0 0 0
🟡 Shard chromium-04 133 0 2 0 0 0
✅ Shard data-asset-rules-01 61 0 0 0 0 0
✅ Shard domain-isolation-01 14 0 0 0 0 0
✅ Shard global-state-01 23 0 0 0 0 0
✅ Shard ingestion-01 1 0 0 0 0 0
✅ Shard reindex-01 2 0 0 0 0 0
✅ Shard search-01 10 0 0 0 0 0
✅ Shard search-rbac-01 27 0 0 2 0 0
🟡 3 flaky test(s) (passed on retry)
  • Pages/Entity.spec.ts › Domain Propagation (shard chromium-03, 1 retry)
  • Pages/CustomProperties.spec.ts › Should verify property name is visible for apiCollection in right panel (shard chromium-04, 1 retry)
  • Pages/CustomProperties.spec.ts › Should clear search and show all properties for apiEndpoint in right panel (shard chromium-04, 1 retry)

📦 Download artifacts

How to debug locally
# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip    # view trace

@mohityadav766 mohityadav766 self-assigned this Jul 27, 2026
Copilot AI review requested due to automatic review settings July 27, 2026 10:58

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.

Pull request overview

Copilot reviewed 21 out of 21 changed files in this pull request and generated no new comments.

@sonarqubecloud

Copy link
Copy Markdown

@mohityadav766
mohityadav766 merged commit 14b3a57 into main Jul 27, 2026
118 of 120 checks passed
@mohityadav766
mohityadav766 deleted the slack-issue-rca branch July 27, 2026 12:14
@gitar-bot

gitar-bot Bot commented Jul 27, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Adds the missing nested customPropertiesTyped mapping to five entity search indexes to prevent OpenSearch 500 runtime errors, accompanied by a new consistency test. No issues found.

Options

Display: compact → Showing less information.

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

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

mohityadav766 added a commit that referenced this pull request Jul 28, 2026
…exes (#30501)

SearchIndex writes a customPropertiesTyped object into every entity doc,
but the chart, glossary, glossaryTerm, mcpServer and metric index mappings
never declared the field. OpenSearch dynamic-maps it as a plain object, so
the nested custom-property search query fails at runtime with
"[nested] nested object under path [customPropertiesTyped] is not of nested
type" (500) — the merge-queue CustomProperties chart E2E failure.

Add the customPropertiesTyped nested block (matching table/dashboard) to
those 5 mappings across en/jp/ru/zh, and add a consistency test asserting
that any index declaring a top-level extension field must also declare
customPropertiesTyped as nested, so this cannot regress.

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>

(cherry picked from commit 14b3a57)
mohityadav766 added a commit that referenced this pull request Jul 28, 2026
…exes (#30501)

SearchIndex writes a customPropertiesTyped object into every entity doc,
but the chart, glossary, glossaryTerm, mcpServer and metric index mappings
never declared the field. OpenSearch dynamic-maps it as a plain object, so
the nested custom-property search query fails at runtime with
"[nested] nested object under path [customPropertiesTyped] is not of nested
type" (500) — the merge-queue CustomProperties chart E2E failure.

Add the customPropertiesTyped nested block (matching table/dashboard) to
those 5 mappings across en/jp/ru/zh, and add a consistency test asserting
that any index declaring a top-level extension field must also declare
customPropertiesTyped as nested, so this cannot regress.

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
(cherry picked from commit 14b3a57)
yan-3005 added a commit that referenced this pull request Sep 2, 2026
* Fix Search Repository Tests (#28230)

(cherry picked from commit ee24b18)

* fix(1.13): repair pre-existing unit-test failures on 1.13

Six unit tests have been failing on every 1.13 CI run for weeks; PRs merged
over them (#32202, #32294, #32334 etc.), and #32100's backport surfaces the
same set. Root causes are all missed follow-ups in earlier backports:

- SearchRepositoryBehaviorTest.propagateCertification* (2): the paired
  test-only fix from #28230 was never picked. Cherry-picked ee24b18
  (already on this branch).

- rules/LogicOps.java: validateDataProductDomainMatch still calls the bulk
  Entity.getEntities path that main reverted in #28486; the accompanying
  EntityCsvTest.test_bulkEditInheritedDomainWithMismatchedDataProductFailsRule
  (backported in #30013) mocks getEntityRelationshipRepository and never
  matches, so the row silently passes. Backport the LogicOps hunk to
  restore the per-item getDataProductDomains() path the test targets.

- SearchIndexFactoryTest.pageReindexFieldsIncludeHierarchyFields: asserts
  PageIndex fields (parent/children/editors/relatedEntities) from the
  Context Center feature (#27558) that never landed on 1.13. Remove the
  test.

- IndexMappingNestedFieldConsistencyTest.auditReportIndexFields... and
  .aiGovernanceProjectionFields...: both were cherry-picked from main via
  #30501 alongside unrelated tests, but the auditReport entity and the
  aiGovernance projection on aiApplication/llmModel/mcpServer are not on
  1.13. Remove them.

- AuthenticationCodeFlowHandlerTest.handleCallbackWithoutSession...
  and .handleRefreshWithoutCredentials...: 1.13's OIDC login-loop hotfix
  (#31183) changed the handler to clear-cookie+redirect on missing session
  (was 500) and 401 with JSON body on missing refresh credentials (was
  invalidate+redirect-to-logout), but the paired test update never made
  it into the backport. Rewrite both tests to match the new handler
  contract.

Verified locally with mvn test on openmetadata-service, only the five
affected classes: SearchRepositoryBehaviorTest 114/114, SearchIndexFactoryTest
200/200, IndexMappingNestedFieldConsistencyTest 4/4,
AuthenticationCodeFlowHandlerTest 50/50, EntityCsvTest (the target method)
1/1. 369 tests run, 0 failures, 0 errors.

* fix(test): keep 1.13's LogicOps impl, stub bulk fetch in EntityCsvTest

Reverts the LogicOps.java hunk from the prior commit. The domain-validation
feature IS on 1.13; only the impl differs (1.13 uses bulk
Entity.getEntities("domains"), main reverted to a per-item relationship
lookup in #28486). Backporting an unrelated impl change to a release branch
just to make a mock line up is the wrong trade-off.

Instead, stub the bulk-fetch path in the shared test helper so
test_bulkEditInheritedDomainWithMismatchedDataProductFailsRule actually
exercises 1.13's real code path. Test-only, no prod change.

Verified: EntityCsvTest 63/63, LogicOps.java on this branch is now
byte-identical to origin/1.13.

* style: mvn spotless:apply

* fix(1.13): repair 32 pre-existing IT failures on 1.13

Same-set failures as the unit-test hygiene commit — pre-existing on 1.13 tip,
blocking legitimate backports like #32100. Grouped by root cause; test-only
where possible, small prod backports where the fix is genuinely missing.

TEST-ONLY (no prod code touched):

- IngestionPipelineOwnerInheritanceIT.test_killRequiresEditPermission: 1.13
  SDK maps 403 → plain ApiException (no ForbiddenException class); rewrite
  assertion to check ApiException.getStatusCode() == 403 instead.

- WorkflowTriggerPermissionsIT (2 tests) + UserTestFactory: pre-create the
  data-consumer user in @BeforeAll so SubjectCache.getUserContext doesn't
  short-circuit before the authorizer emits 403. Fix findByName(email) →
  findByName(name) FQN bug, and tolerate 409 from concurrent test races.
  (Backport of #28513 test-only.)

- ColumnSearchIndexIT (6 methods): swap free-text .query(columnName) for
  structured filters + Awaitility polling; add awaitColumnSource helper.
  Fixes the FQN-precision flake on ES and the OpenSearch maxClauseCount=1024
  blowup at the same time. (Backport of #31196, test-only.)

- BaseEntityIT + MlModelResourceIT + SearchIndexResourceIT (6 tests):
  scope the fluent-API list calls to the test's own service so sibling
  parallel-lane tests hard-deleting their services don't 404 our list mid-
  flight. Added a getEntityServiceFqn() hook overridden by MlModel + SearchIndex.

- UserMetricsResourceIT (2 tests): drop the wall-clock last_activity
  freshness assertion — it asserted a cluster-wide MAX against a 10-min
  window with no causal link to the test's actions. Keeps structural
  assertions.

- AuditLogResourceIT: add a per-test burstToken so the backward-pagination
  query filters this test's rows out of concurrent audit-log noise.

- BaseEntityIT.delete_entityAsAdmin_hardDelete_200: bump Awaitility 15s → 45s
  (pg-es-redis parallel lane needs more headroom for the change-event pipeline).

- IncidentManagerDomainIsolationIT: bump Awaitility 90s → 3min.

- RdfGlossaryGraphIT: move the fetch+assertions inside the Awaitility lambda
  so it retries until group/glossaryId are populated, not just until the node
  exists.

- RecognizerFeedbackRepositoryTest: insert via DAO directly instead of
  repository.create() to bypass the async ChangeEvent → ApplyRecognizerFeedback
  race that contaminates recognizer2.

DISABLED (pending #28902 backport — 199-line EntityRepository L1 cache fix
is out of scope for a test-hygiene branch and needs its own security-focused
review):

- ClassificationResourceIT.test_classificationRename_multipleTagsUpdated
- ClassificationResourceIT.test_classificationRename_tagActivityFeedsPreserved
- ClassificationResourceIT.test_classificationRename_tagAssetsPreservedInSearch
- ContainerResourceIT.patch_containerParent_cascadesFqnToChildren_200
- GlossaryTermMoveApprovalIT.test_approveApprovalTaskAfterMovingParentTerm_drivesMovedTermToApproved
- GlossaryTermMoveApprovalIT.test_approveApprovalTaskAfterMovingAncestorToGlossaryRoot_drivesMovedTermToApproved

PROD BACKPORTS (small, isolated, real user-visible bug fixes on 1.13):

- TestCaseRepository.updateTestSuite: wrap the body in a null-guard +
  EntityNotFoundException try/catch so hard-deleting an orphan test case
  doesn't NPE on 'testSuite is null'. Companion to the already-backported
  fdf2136 (setFieldsForDelete). 11-line isolated hunk from #27997.

- GlossaryRepository.updateAssetIndexes: replace fire-and-forget
  reindexAcrossIndices(...) with sync propagate: updateEntity on the
  glossary + every descendant term + updateGlossaryTermByFqnPrefix on
  tagged assets. Closes the pre-#29253 race that clobbers post-commit
  writes on pg-opensearch. 1.13-shape adaptation (main's fix depends on
  primitives added later).

Local verification (mvn test):
- SearchRepositoryBehaviorTest 114/114
- SearchIndexFactoryTest 200/200
- IndexMappingNestedFieldConsistencyTest 4/4
- AuthenticationCodeFlowHandlerTest 50/50
- EntityCsvTest 63/63
- TestCaseRepositoryTest 2/2
- Aggregate: 433 tests, 0 failures, 0 errors, 0 skipped.

IT verification: pending PR CI (docker-based, cannot run locally).

* fix(1.13): honest Awaitility bumps for L1 cache race, correct disable reason for glossary term move

Follow-up correction to the previous IT commit's @disabled block.

Original commit blamed all 6 pg-es-redis rename/move tests on missing
#28902 (EntityRepository L1 cache write-epoch fix). Re-investigation
confirmed:

- 1.13's L1 TTL is 30 s (CacheConfiguration.DEFAULT_ENTITY_CACHE_TTL_SECONDS).
- 4 tests (Classification rename x3 with 30 s Awaitility windows,
  Container FQN cascade with no retry at all) do match the #28902 pattern:
  the L1 loader race writes a pre-rename JSON back after the invalidate.
- 2 tests (GlossaryTermMoveApproval x2 with 2 min Awaitility windows)
  do NOT — 2 min vastly exceeds the 30 s TTL, so a stale L1 entry would
  refresh long before the timeout. Their real cause is somewhere in the
  AsyncService.getExecutorService() moveGlossaryTerm task on the
  pg-es-redis lane, not the write-epoch race.

#28902 cannot be backported to 1.13 as a self-contained hunk — it depends
on NotFoundCache which was introduced by #28012 (a 20-file, +2270-line
cache-infra refactor). Backporting that scope in a test-hygiene branch
is not justified.

Applied honest fixes here instead:

- ClassificationResourceIT.test_classificationRename_multipleTagsUpdated:
  un-@disabled; bump Awaitility 30 s -> 60 s.
- ClassificationResourceIT.test_classificationRename_tagActivityFeedsPreserved:
  un-@disabled; bump 30 s -> 60 s.
- ClassificationResourceIT.test_classificationRename_tagAssetsPreservedInSearch:
  un-@disabled; bump 30 s -> 60 s.
- ContainerResourceIT.patch_containerParent_cascadesFqnToChildren_200:
  un-@disabled; wrap the single grandchild GET in Awaitility (45 s poll).
- GlossaryTermMoveApprovalIT.test_approveApprovalTaskAfterMovingParentTerm_
  drivesMovedTermToApproved: kept @disabled with corrected reason.
- GlossaryTermMoveApprovalIT.test_approveApprovalTaskAfterMovingAncestorToGlossary
  Root_drivesMovedTermToApproved: kept @disabled with corrected reason.

Real bug on 1.13 pg-es-redis (L1 stale reads after rename) is still open;
should be filed as a follow-up issue once this PR merges — proper fix is
a maintainer decision to backport #28902 + #28012 to 1.13.

* style: address PR review feedback

* docs: record glossary indexing regression fix

* docs: add glossary indexing regression plan

* fix: restore 1.13 glossary indexing

* test: disable unbackportable rename races

* Revert "test: disable unbackportable rename races"

This reverts commit c676773.

* fix: defer rename search updates until commit

* fix(test): stabilize OpenSearch integration tests

* fix(1.13): stabilize integration tests

Scope service-backed lists, preserve history snapshots across concurrent cleanup, reject stale cache loads, and retry transient database deadlocks.

* docs: remove internal planning artifacts

* fix(cache): cover ID invalidation paths

Advance write epochs before reference, rename-cascade, and direct updater L1 evictions so in-flight loaders cannot reinstall stale JSON.

* fix(1.13): close remaining IT races

Re-evict rename cascades after FQN rewrites and drain async bulk work before namespace cleanup. Await workflow deployment, skip empty search propagation scripts, and restore valid glossary-move coverage.

* test(1.13): order workflow trigger setup

* fix(1.13): avoid stale patches and tag deadlocks

Re-fetch glossary terms after asynchronous status changes so reviewer patches use current state. Skip certification tag deletion when both old and new values are null, preventing unnecessary concurrent deletes.

* style: mvn spotless:apply on GlossaryTermResourceIT

* fix(1.13): complete the #28902 loader race guard

* fix(1.13): complete two-phase rename invalidation for glossary and tag

* fix(1.13): align EXTERNAL_HANDLER propagation with main

* fix(1.13): defer remaining index rewrites and enqueue failed cascades

* revert(1.13): restore plain history hydration

* fix(1.13): retry deadlocks on lineage relationship delete

* test(1.13): align user-metrics activity test with main

* fix(1.13): tolerate a missing container relationship on read

* test(1.13): drop the last_activity freshness assertion again

* fix(1.13): skip the separator when an entity-reference delete emits no script

---------

Co-authored-by: Mohit Yadav <[email protected]>
Co-authored-by: sonika-shah <[email protected]>
Co-authored-by: Adrià Manero <[email protected]>

This branch was previously deployed

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

Labels

backend safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants