Skip to content

Backport #28655 to 1.13: preserve inherited domains in CSV bulk edit (#28523) - #30013

Merged
sonika-shah merged 10 commits into
1.13from
backport-28655-1.13
Jul 14, 2026
Merged

sonika-shah merged 10 commits into
1.13from
backport-28655-1.13

Conversation

@sonika-shah

@sonika-shah sonika-shah commented Jul 14, 2026 •

Copy link
Copy Markdown
Collaborator

Backport of #28655 to 1.13 (Closes #28523 for 1.13).

What this fixes

Bulk-editing a data asset via CSV import (tags, tier, certification, description, …) fails with "Rule [Data Product Domain Validation] validation failed" when the entity inherits its domain and has a data product in that same domain. Also fixes two adjacent CSV issues found while working on this (DriveService displayName/description swap, and createGlossaryTerm silently dropping domains).

Cherry-picked from #28655 (10 of 12 functional commits)

  • keep inherited domain on bulk edit + extend to all importers and stop materializing it (Bug: Bulk Edit Fails for Tables with Inherited Domain Due to Data Product Domain Validation #28523 core)
  • empty domain column clears direct domains, keeps inherited only for rule validation
  • never write inherited domains to the CSV domains column
  • 4-arg getDomains returns null on failed rows
  • test: rewrite exported CSV with Commons CSV
  • fix(drives): correct displayName/description mapping in driveService CSV import
  • fix(glossary): add missing domains field to createGlossaryTerm schema (+ generated types, aligned with sibling schemas)

The core logic (EntityCsv 4-arg getDomains + dropInheritedDomains, CsvUtil.addDomains, and every importer's 4-arg getDomains, including the Directory CSV import path) is byte-identical to #28655.

Intentionally NOT backported (2 commits)

4619dd8cce and d782b10c77 touch DirectoryRepository.setFieldsInBulk / fetchAndSetParents — the bulk-list-read parent-resolution path. 1.13's DirectoryRepository has no setFieldsInBulk (that infrastructure was added later on main), so the nested-directory bulk-list inheritance bug they fix does not exist in 1.13. Including them would be dead code. The Directory CSV-import domain fix itself is included; only the unrelated bulk-read fix is omitted.

Verification

  • mvn clean install -DskipTests → BUILD SUCCESS (all 16 modules, locally).
  • Backend + UI verified against an isolated fresh 1.13 stack (separate Postgres/OpenSearch/server on non-default ports):
    • Bug: Bulk Edit Fails for Tables with Inherited Domain Due to Data Product Domain Validation #28523 end-to-end: table inheriting domain + matching data product → CSV bulk edit (dry-run + real) passes, inherited domain not materialized.
    • Domain-scenario matrix across DatabaseService/Database/Schema/Table/GlossaryTerm/Directory: 49/49.
    • Regression guards: genuine domain mismatch still correctly rejected; blanking a direct-domain column still clears it; CSV value still overrides.
    • UI bulk-edit wizard on the inheriting table: Passed 1 / Failed 0, no rule error (dry-run + real).

Note on CI

The 1.13 branch CI is currently red across the board (unit-test failures in SearchRepositoryBehaviorTest / EntityRepositoryRestoreTest / SecurityConfigurationManagerTest, py-checkstyle, flaky shard-2 ITs, and the Validate PR Metadata token check) — the same failures appear on already-merged 1.13 backports (e.g. #30030, #30021). These are pre-existing and unrelated to this change; the failing tests are in search/restore/security areas this PR doesn't touch, and build / checkstyle / generate-types all pass.

sonika-shah and others added 10 commits July 14, 2026 10:44
…omain Validation doesn't falsely fail (#28523)

Bulk-editing an entity via CSV import (tags, certification, ...) failed with
"Rule [Data Product Domain Validation] validation failed" when the entity had
an inherited domain and an assigned data product.

Root cause: for an update row, the Drive importers load the existing entity
with all fields (getEntityByName(..., "*")) — which already resolves the
inherited domain — then overwrite `domains` with the (empty) CSV domain
column, discarding it. The platform rule then sees a data product with an
empty domain and treats it as a genuine mismatch. The single-entity edit path
is unaffected because it never discards the inherited domain.

Fix: treat an empty domain column as "leave domains unchanged" rather than
"clear domains". A new EntityCsv.getDomains(...) overload returns the entity's
already-loaded domains when the CSV column is empty, and the File / Directory /
Spreadsheet / Worksheet importers pass their current domains as the fallback.
This needs no extra DB lookup (the domain was already loaded) and no cache.
Inherited references are filtered out before persistence (EntityUpdater uses
getEntityReferences which drops inherited refs), so they are never materialized
as a direct domain; a genuine data product / domain mismatch still fails.

Tests: unit test for the empty-column-keeps-existing-domains behavior, plus
rule-level tests (real RuleEngine + real rule) asserting a matching inherited
domain passes and a genuine mismatch fails.

(cherry picked from commit e1f2b4f)
…p materializing it (#28523)

Extends the inherited-domain handling beyond the four Drive entities to every CSV importer that can trigger 'Data Product Domain Validation': the non-recursive table path (DatabaseSchemaRepository), the recursive table path (EntityCsv.createTableEntity, whose dry-run load previously excluded domains), and the Database/DatabaseService/DriveService/SecurityService importers. All load the entity with its inherited domain already in memory, so reusing it on an empty domain column adds no DB calls.

Also fixes a materialization bug in the shared import path: feeding the inherited domain in for rule validation caused it to be persisted as a direct domain, because updateManyEntitiesForImport -> storeRelationshipsInternal -> storeDomains does not filter inherited refs the way the interactive EntityUpdater path does. dropInheritedDomains() now strips inherited domains after rule evaluation and before persistence, so the entity keeps re-inheriting on read. This also fixes the original Drive-entity paths, whose mocked unit tests never persisted and so never caught it.

Adds real end-to-end integration tests (non-recursive and recursive) in DatabaseSchemaResourceIT that drive the actual importer with an inherited domain plus an assigned data product, asserting the rule passes and the inherited domain is not materialized as a direct domain. EntityCsvTest gains a unit assertion for the strip.

(cherry picked from commit a5eb43b)
…erited only for rule validation

An empty domains column falls back to only the inherited subset of the
entity's existing domains instead of all of them, restoring the
pre-existing behavior where blanking the column removes an explicitly
assigned (direct) domain. Inherited refs are still supplied in memory so
Data Product Domain Validation evaluates the effective domain, and are
dropped before persistence as before.

Also extends the inherited-domain fix to the two importer paths that
still cleared it: createSchemaEntity (recursive database import) and
createStoredProcedureEntity, by loading domains on the existing entity
and passing them to the 4-arg getDomains.

Test updates: new contract test for the inherited-only fallback, stale
Entity.getEntities stub replaced with the relationship-repository chain
that LogicOps.validateDataProductDomainMatch now uses on main (the
matching-domain scenario failed at the PR head without this), and load
field-string stubs aligned with the schema/SP changes.

(cherry picked from commit 288ee1e)
The exporter previously omitted inherited domains only because the
export load does not hydrate them; any path that loads domains with
inheritance applied would leak the inherited FQN into the CSV, where the
inherited flag cannot survive serialization. Re-importing such a CSV
would materialize the domain as a direct one, freezing it against future
parent-domain changes. Filter inherited refs in CsvUtil.addDomains so
the invariant is explicit.

Adds an export-import round-trip integration test asserting the
inherited domain is absent from the exported CSV and stays inherited
(never materialized) after re-importing the export verbatim.

(cherry picked from commit d2c4965)
…ring.split

Splitting exported CSV lines on ',' breaks when a quoted field legally
contains a comma or newline. The recursive bulk-edit and round-trip
tests now parse and re-print the export through Commons CSV (already on
the IT classpath via openmetadata-service), editing rows structurally.

(cherry picked from commit 608fcc4)
…ery other parser

When processRecord is false the 3-arg getDomains returns null, which the
4-arg overload treated as an empty column and fell back to the inherited
domains. All CSV field parsers short-circuit to null on a dead row;
guard the overload the same way so a partially-parsed row never carries
domains. No functional impact today (callers skip createEntity when
processRecord is false) but keeps the parser contract uniform.

(cherry picked from commit a9f2938)
…CSV import

The directory importer read displayName from column 2 (description) and
description from column 1 (displayName); header order is name,
displayName, description. Export already writes them in the correct
order, so an export->import round-trip swapped the two fields.

(cherry picked from commit 6196972)
CreateGlossaryTerm omitted the domains property while declaring
additionalProperties=false, so a domain supplied in the create request was
silently dropped and the term was created with no domain -- unlike every other
domain-supporting entity (createGlossary, createTable, etc.). Add the field to
the schema and the generated UI type; the existing EntityMapper.copy() then
persists it. Previously the domain could only be set via a follow-up PATCH.

(cherry picked from commit 813aa32)
(cherry picked from commit fa8564a)
…ng schemas

Drop the default:null on the domains property so it matches createGlossary.json
and createTable.json exactly (plain string items, no default). Addresses review
feedback; the shared-ref variant used by createDashboard/createTopic was not
adopted since the glossary/table siblings use plain string items.

(cherry picked from commit 567be83)
@sonika-shah
sonika-shah requested a review from a team as a code owner July 14, 2026 05:20
@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 14, 2026
.filter(domain -> Boolean.TRUE.equals(domain.getInherited()))
.toList();
result = inheritedDomains.isEmpty() ? null : inheritedDomains;
}

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 New Child Loses Inherited Context

When a CSV creates a new child entity under a parent that already has domains, existingDomains is null, so an empty domain column leaves the new entity with no inherited domains during rule evaluation. After the create completes the entity can inherit from its parent on read, but the import-time Data Product Domain Validation can still fail or behave differently from the persisted entity state.

} else {
RuleEngine.getInstance().evaluate(entity);
}
dropInheritedDomains(entity);

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 Dry-Run Cache Drops Domains

In dry-run mode, dropInheritedDomains(entity) runs before the entity is stored in dryRunCreatedEntities. A later row in the same dry-run batch that resolves this entity gets the stripped copy, so child rows can validate against missing inherited domains even though the real persisted read path would re-inherit them.

getTagLabels(
printer, csvRecord, List.of(Pair.of(5, TagLabel.TagSource.CLASSIFICATION))))
.withDomains(getDomains(printer, csvRecord, 6));
.withDomains(getDomains(printer, csvRecord, 6, newSecurityService.getDomains()));

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 Multi-Domain Round Trip Loses Data

The import path now accepts the full domain list from the CSV, but this repository's export path only writes entity.getDomains().get(0) for security services. A service with multiple direct domains can be exported and re-imported through this changed parser, and every domain after the first is silently dropped from the round trip.

@gitar-bot

gitar-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Backports CSV bulk import fixes to preserve inherited domains and resolve validation failures, ensuring consistency with 1.13 schemas and service imports. 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

@github-actions

Copy link
Copy Markdown
Contributor

The Python checkstyle failed.

Please run make py_format and py_format_check in the root of your repository and commit the changes to this PR.
You can also use pre-commit to automate the Python code formatting.

You can install the pre-commit hooks with make install_test precommit_install.

@github-actions

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 64%
64.44% (61861/95985) 44.89% (33221/74003) 47.76% (9950/20829)

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

🔴 Playwright Results — 1 failure(s), 12 flaky

✅ 3965 passed · ❌ 1 failed · 🟡 12 flaky · ⏭️ 30 skipped

Shard Passed Failed Flaky Skipped
✅ Shard 1 291 0 0 4
✅ Shard 2 0 0 0 0
🟡 Shard 3 735 0 2 7
🔴 Shard 4 778 1 3 2
🟡 Shard 5 756 0 1 9
✅ Shard 6 693 0 0 0
🟡 Shard 7 712 0 6 8

Genuine Failures (failed on all attempts)

❌ Features/Table.spec.ts › Table filter with sorting should work (shard 4)
�[31mTest timeout of 60000ms exceeded.�[39m
🟡 12 flaky test(s) (passed on retry)
  • Features/BulkEditEntity.spec.ts › Database Schema (shard 3, 1 retry)
  • Features/ColumnBulkOperations.spec.ts › should update display name and propagate to all occurrences (shard 3, 1 retry)
  • Features/Permissions/GlossaryPermissions.spec.ts › Team-based permissions work correctly (shard 4, 1 retry)
  • Features/Table.spec.ts › Tags term should be consistent for search (shard 4, 1 retry)
  • Flow/PersonaFlow.spec.ts › Set default persona for team should work properly (shard 4, 1 retry)
  • Pages/DataContractInheritance.spec.ts › Edit Asset Contract - Add SLA when inheriting SLA from Data Product (PATCH should use /add not /replace) (shard 5, 1 retry)
  • Pages/Lineage/DataAssetLineage.spec.ts › Column lineage for dashboard -> searchIndex (shard 7, 1 retry)
  • Pages/Lineage/LineageFilters.spec.ts › Verify lineage schema filter selection (shard 7, 1 retry)
  • Pages/Lineage/LineageRightPanel.spec.ts › Verify custom properties tab IS visible for supported type: searchIndex (shard 7, 1 retry)
  • Pages/ODCSImportExport.spec.ts › Multi-object ODCS contract - object selector shows all schema objects (shard 7, 1 retry)
  • Pages/TestSuite.spec.ts › Logical TestSuite (shard 7, 1 retry)
  • Pages/Users.spec.ts › Permissions for table details page for Data Consumer (shard 7, 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

@sonika-shah
sonika-shah merged commit fe0924d into 1.13 Jul 14, 2026
46 of 71 checks passed
@sonika-shah
sonika-shah deleted the backport-28655-1.13 branch July 14, 2026 11:14
sonika-shah added a commit that referenced this pull request Aug 26, 2026
…ProductFailsRule on 1.13

The test was backported to 1.13 (via #30013, backport of #28655) written against
main's validateDataProductDomainMatch operator, which resolves a data product's
domains through EntityRelationshipRepository. 1.13's operator still resolves them
via Entity.getEntities(dataProducts, "domains", NON_DELETED). The test never stubbed
that path, so under the mocked static Entity it returned an empty list and the rule
saw no data products and wrongly passed -- the test has been red on 1.13 since #30013.

1.13's production logic is correct (Entity.getEntities returns the real data products);
this only stubs the path the operator actually uses on 1.13 so the test exercises it.
No production code changes. Full EntityCsvTest now 63/0 (was 63/1).
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 <105265192+mohityadav766@users.noreply.github.com>
Co-authored-by: sonika-shah <58761340+sonika-shah@users.noreply.github.com>
Co-authored-by: Adrià Manero <amaneroestivill@gmail.com>

This branch was previously deployed

1 inactive deployment
test — 267a91f7 Deployed Jul 14, 2026 by sonika-shah via playwright-ci-postgresql (1, 7) #56265
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.

1 participant