Skip to content

Make background job types an open set - #37592

Merged
harshach merged 11 commits into
mainfrom
harshach/open-background-job-types
Nov 25, 2026
Merged

harshach merged 11 commits into
mainfrom
harshach/open-background-job-types

Conversation

@harshach

@harshach harshach commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Issue

Fixes #37580

This is the follow-up to #37581 (comment). It is stacked on #37581, so the diff shows only this change. The paired Collate change is open-metadata/openmetadata-collate#8473.

What

BackgroundJob.jobType becomes a string instead of a closed enum.

  • OpenMetadata's eight job types are String constants in the new BackgroundJobTypes. Every caller of BackgroundJob.JobType moves to them, and the two == comparisons become equals.
  • JobDAO.insertJob takes a String job type. BackgroundJobMapper reads the column value as it is, with no fromValue.
  • MEMORY_GLOSSARY_DERIVATION_JOB_TYPE moves from JobDAO into BackgroundJobTypes. The worker's workaround for Collate loading an older enum is gone.
  • The spec no longer lists ADMIN_OPS_* (6), DELETE_ENTITY or DELETE_TOKEN. Only Collate writes them, and Collate now owns them.
  • UI: the generated JobType enum is removed, so NavBar compares against CUSTOM_PROPERTY_ENUM_CLEANUP_JOB_TYPE.

Why

The worker already runs a job through the handler named by methodName in JobHandlerRegistry, which a distribution extends (OpenMetadataApplication.getJobHandlerRegistry() is protected). background_jobs.jobType is a VARCHAR(256), and Collate already inserts its admin-ops jobs with string types. The enum was enforced in one place only: when the worker read a row back, JobType.fromValue threw on a value the enum did not list. Since that read happens while fetching the next pending job, one such row stops the queue for every job type. That is why Collate's types had to be listed in openmetadata-spec, and why each missed sync broke Collate.

With a string type, a distribution writes its own job type and registers its handler, with no OpenMetadata change. A job whose handler is not registered still fails with No handler registered for <methodName>, so a separate type registry would add no protection and isn't included.

Compatibility.

  • Stored data and API: stored rows, the JSON wire format and the WebSocket payload are unchanged, because every value is the same string as before. No migration is needed.
  • Java callers: BackgroundJob.JobType no longer exists. Collate is the only known caller outside this repo, and it moves in the paired PR.
  • TypeScript: the JobType enum is removed. NavBar was its only consumer.

Decision record

This amends ADR:2026-11-11-openmetadata-spec-is-the-only-definition-of-its-schemas (v2). Job types are an open set, so they are no longer values a distribution adds to the spec. The rule still applies to every other schema.

Verification

  • JobDAOTest, GenericBackgroundWorkerTest, MemoryGlossaryDerivationJobHandlerTest, PageContextProcessingEngineTest, OntologyBulkJobManagerTest and BackgroundJobCleanupSchedulerTest: 43 run, all passing. Two of these tests are new:
    • JobDAOTest.workerReadsAJobTypeOpenMetadataDoesNotDefine: the mapper returns a stored DOWNSTREAM_REINDEX row unchanged.
    • GenericBackgroundWorkerTest.runsAJobTypeOpenMetadataDoesNotDefineWithItsRegisteredHandler: the worker runs that job through its registered handler and marks it COMPLETED.
  • openmetadata-integration-tests test-compile passes. The touched ITs (ContextMemoryExtractionIT, ContextMemoryDerivationIT, NativeOntologyPackInstallJobIT, NativeOntologyCapacityPerfIT) only swap the constant and run in the merge queue.
  • Generated sources: json2ts-generate-all.sh -l true and yarn parse-schema change only generated/jobs/backgroundJob.ts.
  • plan_local_java_tests.py --check-branch: the impact map is complete.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no actionable issues were found.

Summary

Makes BackgroundJob.jobType an open string while keeping OpenMetadata's existing values.

  • Background jobs accept types that OpenMetadata does not define.

No actionable issues found. This review used source checks; no tests were run.

harshach explicitly acknowledges the removed Java enum and describes the paired Collate update.

Diagram

sequenceDiagram
  participant Producer
  participant JobDAO
  participant Worker as GenericBackgroundWorker
  participant Registry as JobHandlerRegistry
  participant Handler
  Producer->>JobDAO: Store jobType string and methodName
  Worker->>JobDAO: Fetch and claim pending job
  JobDAO-->>Worker: Preserve stored jobType
  Worker->>Registry: Find handler by methodName
  Registry-->>Worker: Registered handler
  Worker->>Handler: runJob(job)
  Worker->>JobDAO: Save completion or failure
Loading

Reviews (1) · Last reviewed commit: "Merge branch 'main' into harshach/open-b..." · Reviewed by Greptile

Collate copied jobs/backgroundJob.json and configuration/slackAppConfiguration.json
to add its ADMIN_OPS_* job types and Slack socket mode, and the copies replaced
the OpenMetadata classes at runtime. The job-type copy fell behind again, so
ontology library installs fail on Collate with NoSuchFieldError for
JobType.ONTOLOGY_PACK_INSTALL.

Add the six ADMIN_OPS_* job types and the optional connectionMode (default
Webhook) and appToken fields here, so Collate can delete both copies. Record
that openmetadata-spec is the only definition of its schemas.
BackgroundJob.jobType becomes a string. The worker already dispatched by
methodName through JobHandlerRegistry and the column is a VARCHAR; the enum was
only enforced when a row was read back, where an unknown value threw.
OpenMetadata's own types are constants in BackgroundJobTypes. The
ADMIN_OPS_*, DELETE_ENTITY and DELETE_TOKEN values, which only Collate writes,
leave the spec.
@harshach
harshach requested review from a team as code owners November 11, 2026 15:48
@harshach
harshach requested review from sweta1308 and yan-3005 and removed request for a team November 11, 2026 15:48
@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

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

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

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

Base automatically changed from fix/collate-schema-overlays-upstream to main November 12, 2026 06:31
Resolve conflicts with the squashed #37581 (identical content) and with
#37455, which added a CONTEXT_MEMORY_EXTRACTION check and recovery tests
written against the removed BackgroundJob.JobType enum. Both now compare
against BackgroundJobTypes; the "every type but memory extraction" case
lists the same values as strings.
Copilot AI balanced review requested due to automatic review settings November 12, 2026 11:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

Resolve import conflicts with #37479: keep its PageType import and drop the
unused BackgroundJob import, since job types now come from BackgroundJobTypes.
Copilot AI balanced review requested due to automatic review settings November 12, 2026 13:10

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

Copilot AI balanced review requested due to automatic review settings November 13, 2026 17:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

Copilot AI balanced review requested due to automatic review settings November 14, 2026 11:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

Copilot AI balanced review requested due to automatic review settings November 16, 2026 10:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

@github-actions

Copy link
Copy Markdown
Contributor

🔴 Playwright Results — workflow failed

Validated commit 6d4cd6ad40d32c5649f184a158305de47084de8c in Playwright run 43850107519, attempt 1.

✅ 7240 passed · ❌ 28 failed · 🟡 2 flaky · ⏭️ 1 skipped · 🧰 0 lifecycle flaky

❌ Action needed: test(s) failed on every attempt against this PR’s validated commit — see Genuine Failures below. These are test failures, not CI budget or infrastructure issues.

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) 52m 43s

⏱️ Max setup 13m 19s · max shard execution 19m 0s · max shard-job elapsed before upload 29m 20s · reporting 18s

🌐 151.43 requests/attempt · 2.17 app boots/UI scenario · 35.26% common-shard skew

⚠️ CI time-budget signals — pipeline capacity telemetry, not test failures, and not caused by this PR:

  • Budget target `Environment setup` breached (target ≤ 480 s) — exceeded on 8 shard(s): visual-06 799 s, rdf-01 777 s, visual-01 670 s, visual-03 663 s, visual-07 652 s (+3 more).

Optimization targets still in progress:

  • Common shard skew was 35.26% (convergence target: at most 15%).
  • Application boot ratio was 2.17 per UI scenario (11669 boots / 5385 scenarios; convergence target: at most 1).
Shard Passed Failed Flaky Skipped Lifecycle failed Lifecycle flaky
✅ Shard advanced-search-01 67 0 0 0 0 0
✅ Shard advanced-search-02 63 0 0 0 0 0
✅ Shard chromium-01 148 0 0 0 0 0
✅ Shard chromium-02 156 0 0 0 0 0
✅ Shard chromium-03 156 0 0 0 0 0
✅ Shard chromium-04 174 0 0 0 0 0
🔴 Shard chromium-05 150 1 0 0 0 0
✅ Shard chromium-06 131 0 0 0 0 0
✅ Shard chromium-07 216 0 0 0 0 0
✅ Shard chromium-08 154 0 0 0 0 0
✅ Shard chromium-09 208 0 0 0 0 0
🔴 Shard chromium-10 185 1 0 0 0 0
🔴 Shard chromium-11 169 1 0 0 0 0
✅ Shard chromium-12 164 0 0 0 0 0
✅ Shard chromium-13 147 0 0 0 0 0
✅ Shard chromium-14 176 0 0 0 0 0
✅ Shard chromium-15 172 0 0 0 0 0
✅ Shard chromium-16 152 0 0 0 0 0
✅ Shard chromium-17 187 0 0 1 0 0
✅ Shard chromium-18 152 0 0 0 0 0
✅ Shard chromium-19 188 0 0 0 0 0
✅ Shard chromium-20 179 0 0 0 0 0
✅ Shard chromium-21 192 0 0 0 0 0
✅ Shard chromium-22 182 0 0 0 0 0
✅ Shard chromium-23 186 0 0 0 0 0
✅ Shard chromium-24 142 0 0 0 0 0
✅ Shard chromium-25 160 0 0 0 0 0
✅ Shard chromium-26 181 0 0 0 0 0
✅ Shard data-asset-rules-01 67 0 0 0 0 0
🟡 Shard global-state-01 94 0 1 0 0 0
✅ Shard import-export-01 101 0 0 0 0 0
✅ Shard import-export-02 52 0 0 0 0 0
✅ Shard ingestion-01 44 0 0 0 0 0
🟡 Shard ingestion-02 50 0 1 0 0 0
✅ Shard rdf-01 13 0 0 0 0 0
✅ Shard reindex-01 41 0 0 0 0 0
✅ Shard search-rbac-01 29 0 0 0 0 0
🔴 Shard visual-01 317 4 0 0 0 0
🔴 Shard visual-02 307 3 0 0 0 0
🔴 Shard visual-03 290 4 0 0 0 0
🔴 Shard visual-04 303 5 0 0 0 0
🔴 Shard visual-05 323 2 0 0 0 0
🔴 Shard visual-06 376 2 0 0 0 0
🔴 Shard visual-07 296 5 0 0 0 0

Genuine Failures (failed on all attempts)

❌ Features/OntologyExplorer.spec.ts › switches between the model graph and the data layer (shard chromium-05)
Error: �[2mexpect(�[22m�[31mlocator�[39m�[2m).�[22mtoHaveAttribute�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed  Locator: getByTestId('ontology-layer-switch').getByRole('tab', { name: 'Data' }) Expected: �[32m"true"�[39m Timeout: 15000ms Error: element(s) not found  Call log: �[2m  - Expect "toHaveAttribute" with timeout 15000ms�[22m �[2m  - waiting for getByTestId('ontology-layer-switch').getByRole('tab', { name: 'Data' })�[22m 
❌ Features/McpAdministration.spec.ts › admin controls MCP access and revokes registered clients (shard chromium-10)
Error: �[2mexpect(�[22m�[31mreceived�[39m�[2m).�[22mtoBe�[2m(�[22m�[32mexpected�[39m�[2m) // Object.is equality�[22m  Expected: �[32mtrue�[39m Received: �[31mfalse�[39m
❌ Features/ContextCenterPermission.spec.ts › user with createAll permission can see upload and folder create actions but no row actions, and can create a folder (shard chromium-11)
Error: �[2mexpect(�[22m�[31mlocator�[39m�[2m).�[22mtoContainText�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed  Locator: getByTestId('documents-view').locator('[data-testid^="document-row-"]').filter({ hasText: 'cc-documents-upload-ddd943f0.txt' }).getByTestId('document-updated-by') Expected substring: �[32m"Lively42eabb35�[7mK�[27moala222d6dad"�[39m Received string:    �[31m"L�[7ml�[27mively42eabb35�[7m.k�[27moala222d6dad�[7m.1794826954131�[27m"�[39m Timeout: 15000ms  Call log: �[2m  - Expect "toContainText" with timeout 15000ms�[22m �[2m  - waiting for getByTestId('documents-view').locator('[data-testid^="document-row-"]').filter({ hasText: 'cc-documents-upload-ddd943f0.txt' }).getByTestId('document-updated-by')�[22m �[2m    19 × locator resolved to <span class="tw:min-w-0" role="presentation" data-testid="document-updated-by">…</span>�[22m �[2m       - unexpected value "Llively42eabb35.koala222d6dad.1794826954131"�[22m 
❌ ../utils/visualScenarios.ts › page-context-documents (shard visual-01)
Error: Missing visual read fixture: users/name/visual_admin
❌ ../utils/visualScenarios.ts › page-ontology (shard visual-01)
Error: Missing visual read fixture: glossaryTerms/ontology/summary
❌ ../utils/visualScenarios.ts › glossaryTerm-tab-data-observability (shard visual-01)
Error: �[2mexpect(�[22m�[31mpage�[39m�[2m).�[22mtoHaveScreenshot�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed    232 pixels (ratio 0.01 of all image pixels) are different.    Snapshot: glossaryTerm-tab-data-observability-dark.png  Call log: �[2m  - Expect "toHaveScreenshot(glossaryTerm-tab-data-observability-dark.png)" with timeout 15000ms�[22m �[2m    - verifying given screenshot expectation�[22m �[2m  - taking page screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - 232 pixels (ratio 0.01 of all image pixels) are different.�[22m �[2m  - waiting 100ms before taking screenshot�[22m �[2m  - taking page screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - captured a stable screenshot�[22m �[2m  - 232 pixels (ratio 0.01 of all image pixels) are different.�[22m 
❌ VisualRegression/glossaryInteractions.spec.ts › glossary-late-activity-count (shard visual-01)
Error: �[2mexpect(�[22m�[31mpage�[39m�[2m).�[22mtoHaveScreenshot�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed    232 pixels (ratio 0.01 of all image pixels) are different.    Snapshot: glossary-late-activity-count-dark.png  Call log: �[2m  - Expect "toHaveScreenshot(glossary-late-activity-count-dark.png)" with timeout 15000ms�[22m �[2m    - verifying given screenshot expectation�[22m �[2m  - taking page screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - 232 pixels (ratio 0.01 of all image pixels) are different.�[22m �[2m  - waiting 100ms before taking screenshot�[22m �[2m  - taking page screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - captured a stable screenshot�[22m �[2m  - 232 pixels (ratio 0.01 of all image pixels) are different.�[22m 
❌ VisualRegression/connectorForms.spec.ts › databaseServices Data360 configuration form (shard visual-02)
Error: �[2mexpect(�[22m�[31mlocator�[39m�[2m).�[22mtoHaveScreenshot�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed  Locator: getByTestId('connection-grouped-form')   Expected an image 665px by 558px, received 665px by 708px. 12804 pixels (ratio 0.03 of all image pixels) are different.    Snapshot: connection-databaseServices-Data360.png  Call log: �[2m  - Expect "toHaveScreenshot(connection-databaseServices-Data360.png)" with timeout 15000ms�[22m �[2m    - verifying given screenshot expectation�[22m �[2m  - waiting for getByTestId('connection-grouped-form')�[22m �[2m    - locator resolved to <div data-testid="connection-grouped-form" class="connection-grouped-form tw:flex tw:flex-col tw:gap-3 tw:text-primary">…</div>�[22m �[2m  - taking element screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - attempting scroll into view action�[22m �[2m    - waiting for element to be stable�[22m �[2m  - Expected an imag
❌ VisualRegression/connectorForms.spec.ts › databaseServices SapErp configuration form (shard visual-02)
Error: �[2mexpect(�[22m�[31mlocator�[39m�[2m).�[22mtoHaveScreenshot�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed  Locator: getByTestId('connection-grouped-form')   40 pixels (ratio 0.01 of all image pixels) are different.    Snapshot: connection-databaseServices-SapErp.png  Call log: �[2m  - Expect "toHaveScreenshot(connection-databaseServices-SapErp.png)" with timeout 15000ms�[22m �[2m    - verifying given screenshot expectation�[22m �[2m  - waiting for getByTestId('connection-grouped-form')�[22m �[2m    - locator resolved to <div data-testid="connection-grouped-form" class="connection-grouped-form tw:flex tw:flex-col tw:gap-3 tw:text-primary">…</div>�[22m �[2m  - taking element screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - attempting scroll into view action�[22m �[2m    - waiting for element to be stable�[22m �[2m  - 40 pixels (ratio 0.01 of all image pixels) are different.�[22m �[2m  - waiting 1
❌ VisualRegression/connectorForms.spec.ts › pipelineServices Data360Pipeline configuration form (shard visual-02)
Error: �[2mexpect(�[22m�[31mlocator�[39m�[2m).�[22mtoHaveScreenshot�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed  Locator: getByTestId('connection-grouped-form')   Expected an image 665px by 913px, received 665px by 708px. 18249 pixels (ratio 0.04 of all image pixels) are different.    Snapshot: connection-pipelineServices-Data360Pipeline.png  Call log: �[2m  - Expect "toHaveScreenshot(connection-pipelineServices-Data360Pipeline.png)" with timeout 15000ms�[22m �[2m    - verifying given screenshot expectation�[22m �[2m  - waiting for getByTestId('connection-grouped-form')�[22m �[2m    - locator resolved to <div data-testid="connection-grouped-form" class="connection-grouped-form tw:flex tw:flex-col tw:gap-3 tw:text-primary">…</div>�[22m �[2m  - taking element screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - attempting scroll into view action�[22m �[2m    - waiting for element to be stable�[22m �[2m  - 
❌ VisualRegression/connectorForms.spec.ts › databaseServices connector chooser (shard visual-03)
Error: �[2mexpect(�[22m�[31mpage�[39m�[2m).�[22mtoHaveScreenshot�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed    13019 pixels (ratio 0.02 of all image pixels) are different.    Snapshot: connections-databaseServices-chooser-dark.png  Call log: �[2m  - Expect "toHaveScreenshot(connections-databaseServices-chooser-dark.png)" with timeout 15000ms�[22m �[2m    - verifying given screenshot expectation�[22m �[2m  - taking page screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - 13019 pixels (ratio 0.02 of all image pixels) are different.�[22m �[2m  - waiting 100ms before taking screenshot�[22m �[2m  - taking page screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - captured a stable screenshot�[22m �[2m  - 13019 pixels (ratio 0.02 of all image pixels) are different.�[22m 
❌ VisualRegression/connectorForms.spec.ts › databaseServices Data360 configuration form (shard visual-03)
Error: �[2mexpect(�[22m�[31mlocator�[39m�[2m).�[22mtoHaveScreenshot�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed  Locator: getByTestId('connection-grouped-form')   Expected an image 665px by 558px, received 665px by 708px. 105795 pixels (ratio 0.23 of all image pixels) are different.    Snapshot: connection-databaseServices-Data360-dark.png  Call log: �[2m  - Expect "toHaveScreenshot(connection-databaseServices-Data360-dark.png)" with timeout 15000ms�[22m �[2m    - verifying given screenshot expectation�[22m �[2m  - waiting for getByTestId('connection-grouped-form')�[22m �[2m    - locator resolved to <div data-testid="connection-grouped-form" class="connection-grouped-form tw:flex tw:flex-col tw:gap-3 tw:text-primary">…</div>�[22m �[2m  - taking element screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - attempting scroll into view action�[22m �[2m    - waiting for element to be stable�[22m �[2m  - Expec
❌ VisualRegression/connectorForms.spec.ts › databaseServices SapErp configuration form (shard visual-03)
Error: �[2mexpect(�[22m�[31mlocator�[39m�[2m).�[22mtoHaveScreenshot�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed  Locator: getByTestId('connection-grouped-form')   40 pixels (ratio 0.01 of all image pixels) are different.    Snapshot: connection-databaseServices-SapErp-dark.png  Call log: �[2m  - Expect "toHaveScreenshot(connection-databaseServices-SapErp-dark.png)" with timeout 15000ms�[22m �[2m    - verifying given screenshot expectation�[22m �[2m  - waiting for getByTestId('connection-grouped-form')�[22m �[2m    - locator resolved to <div data-testid="connection-grouped-form" class="connection-grouped-form tw:flex tw:flex-col tw:gap-3 tw:text-primary">…</div>�[22m �[2m  - taking element screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - attempting scroll into view action�[22m �[2m    - waiting for element to be stable�[22m �[2m  - 40 pixels (ratio 0.01 of all image pixels) are different.�[22m �[2m  -
❌ VisualRegression/connectorForms.spec.ts › pipelineServices Data360Pipeline configuration form (shard visual-03)
Error: �[2mexpect(�[22m�[31mlocator�[39m�[2m).�[22mtoHaveScreenshot�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed  Locator: getByTestId('connection-grouped-form')   Expected an image 665px by 913px, received 665px by 708px. 146136 pixels (ratio 0.25 of all image pixels) are different.    Snapshot: connection-pipelineServices-Data360Pipeline-dark.png  Call log: �[2m  - Expect "toHaveScreenshot(connection-pipelineServices-Data360Pipeline-dark.png)" with timeout 15000ms�[22m �[2m    - verifying given screenshot expectation�[22m �[2m  - waiting for getByTestId('connection-grouped-form')�[22m �[2m    - locator resolved to <div data-testid="connection-grouped-form" class="connection-grouped-form tw:flex tw:flex-col tw:gap-3 tw:text-primary">…</div>�[22m �[2m  - taking element screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - attempting scroll into view action�[22m �[2m    - waiting for element to be stable�[2
❌ ../utils/visualScenarios.ts › form-context-folder (shard visual-04)
Error: Missing visual read fixture: users/name/visual_admin
❌ ../utils/visualScenarios.ts › form-context-upload (shard visual-04)
Error: Missing visual read fixture: users/name/visual_admin
❌ ../utils/visualScenarios.ts › glossaryTerm-tab-custom-properties (shard visual-04)
Error: �[2mexpect(�[22m�[31mpage�[39m�[2m).�[22mtoHaveScreenshot�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed    13022 pixels (ratio 0.02 of all image pixels) are different.    Snapshot: glossaryTerm-tab-custom-properties.png  Call log: �[2m  - Expect "toHaveScreenshot(glossaryTerm-tab-custom-properties.png)" with timeout 15000ms�[22m �[2m    - verifying given screenshot expectation�[22m �[2m  - taking page screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - 13022 pixels (ratio 0.02 of all image pixels) are different.�[22m �[2m  - waiting 100ms before taking screenshot�[22m �[2m  - taking page screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - captured a stable screenshot�[22m �[2m  - 13022 pixels (ratio 0.02 of all image pixels) are different.�[22m 
❌ ../utils/visualScenarios.ts › glossaryTerm-tab-data-observability (shard visual-04)
Error: �[2mexpect(�[22m�[31mpage�[39m�[2m).�[22mtoHaveScreenshot�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed    261 pixels (ratio 0.01 of all image pixels) are different.    Snapshot: glossaryTerm-tab-data-observability.png  Call log: �[2m  - Expect "toHaveScreenshot(glossaryTerm-tab-data-observability.png)" with timeout 15000ms�[22m �[2m    - verifying given screenshot expectation�[22m �[2m  - taking page screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - 261 pixels (ratio 0.01 of all image pixels) are different.�[22m �[2m  - waiting 100ms before taking screenshot�[22m �[2m  - taking page screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - captured a stable screenshot�[22m �[2m  - 261 pixels (ratio 0.01 of all image pixels) are different.�[22m 
❌ VisualRegression/staticPages.spec.ts › glossary matches baseline (shard visual-04)
Error: �[2mexpect(�[22m�[31mpage�[39m�[2m).�[22mtoHaveScreenshot�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed    93 pixels (ratio 0.01 of all image pixels) are different.    Snapshot: glossary.png  Call log: �[2m  - Expect "toHaveScreenshot(glossary.png)" with timeout 15000ms�[22m �[2m    - verifying given screenshot expectation�[22m �[2m  - taking page screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - 93 pixels (ratio 0.01 of all image pixels) are different.�[22m �[2m  - waiting 100ms before taking screenshot�[22m �[2m  - taking page screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - captured a stable screenshot�[22m �[2m  - 93 pixels (ratio 0.01 of all image pixels) are different.�[22m 
❌ ../utils/visualScenarios.ts › page-context-documents (shard visual-05)
Error: Missing visual read fixture: users/name/visual_admin
❌ ../utils/visualScenarios.ts › page-ontology (shard visual-05)
Error: Missing visual read fixture: glossaryTerms/ontology/summary
❌ VisualRegression/glossaryInteractions.spec.ts › glossary-late-activity-count (shard visual-06)
Error: �[2mexpect(�[22m�[31mpage�[39m�[2m).�[22mtoHaveScreenshot�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed    261 pixels (ratio 0.01 of all image pixels) are different.    Snapshot: glossary-late-activity-count.png  Call log: �[2m  - Expect "toHaveScreenshot(glossary-late-activity-count.png)" with timeout 15000ms�[22m �[2m    - verifying given screenshot expectation�[22m �[2m  - taking page screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - 261 pixels (ratio 0.01 of all image pixels) are different.�[22m �[2m  - waiting 100ms before taking screenshot�[22m �[2m  - taking page screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - captured a stable screenshot�[22m �[2m  - 261 pixels (ratio 0.01 of all image pixels) are different.�[22m 
❌ ../utils/visualScenarios.ts › page-context-documents-narrow (shard visual-06)
Error: Missing visual read fixture: users/name/visual_admin
❌ ../utils/visualScenarios.ts › form-context-folder (shard visual-07)
Error: Missing visual read fixture: users/name/visual_admin
❌ ../utils/visualScenarios.ts › form-context-upload (shard visual-07)
Error: Missing visual read fixture: users/name/visual_admin
❌ ../utils/visualScenarios.ts › settings-app-McpApplication (shard visual-07)
Error: �[2mexpect(�[22m�[31mlocator�[39m�[2m).�[22mtoHaveScreenshot�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed  Locator: getByTestId('ai-profile-page')   26993 pixels (ratio 0.03 of all image pixels) are different.    Snapshot: settings-app-McpApplication.png  Call log: �[2m  - Expect "toHaveScreenshot(settings-app-McpApplication.png)" with timeout 15000ms�[22m �[2m    - verifying given screenshot expectation�[22m �[2m  - waiting for getByTestId('ai-profile-page')�[22m �[2m    - locator resolved to <div data-testid="ai-profile-page" class="tw:flex tw:flex-row ai-profile-page tw:min-h-0 tw:flex-1 tw:overflow-hidden">…</div>�[22m �[2m  - taking element screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - attempting scroll into view action�[22m �[2m    - waiting for element to be stable�[22m �[2m  - 26993 pixels (ratio 0.03 of all image pixels) are different.�[22m �[2m  - waiting 100ms before taking screen
❌ ../utils/visualScenarios.ts › settings-app-McpApplication (shard visual-07)
Error: �[2mexpect(�[22m�[31mlocator�[39m�[2m).�[22mtoHaveScreenshot�[2m(�[22m�[32mexpected�[39m�[2m)�[22m failed  Locator: getByTestId('ai-profile-page')   26510 pixels (ratio 0.03 of all image pixels) are different.    Snapshot: settings-app-McpApplication-dark.png  Call log: �[2m  - Expect "toHaveScreenshot(settings-app-McpApplication-dark.png)" with timeout 15000ms�[22m �[2m    - verifying given screenshot expectation�[22m �[2m  - waiting for getByTestId('ai-profile-page')�[22m �[2m    - locator resolved to <div data-testid="ai-profile-page" class="tw:flex tw:flex-row ai-profile-page tw:min-h-0 tw:flex-1 tw:overflow-hidden">…</div>�[22m �[2m  - taking element screenshot�[22m �[2m    - disabled all CSS animations�[22m �[2m  - waiting for fonts to load...�[22m �[2m  - fonts loaded�[22m �[2m  - attempting scroll into view action�[22m �[2m    - waiting for element to be stable�[22m �[2m  - 26510 pixels (ratio 0.03 of all image pixels) are different.�[22m �[2m  - waiting 100ms before tak
❌ ../utils/visualScenarios.ts › page-context-documents-narrow (shard visual-07)
Error: Missing visual read fixture: users/name/visual_admin
🟡 2 flaky test(s) (passed on retry)
  • Features/Workflows/ChangeRequestReviewLifecycle.spec.ts › the glossary reviewer approves, rejects and the requester withdraws held edits (shard global-state-01, 1 retry)
  • Features/DataQuality/AddTestCaseNewFlow.spec.ts › Add Column Test Case (shard ingestion-02, 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

Copilot AI balanced review requested due to automatic review settings November 24, 2026 14:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

@github-actions

Copy link
Copy Markdown
Contributor

UI browser tests

Ran: all test files (no impact map from main yet)

Result: ✅ 1070 passed · 154 skipped

Changed files no browser test loads
  • src/components/NavBar/NavBar.tsx
  • src/constants/Navbar.constants.ts

Copilot AI balanced review requested due to automatic review settings November 24, 2026 15:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

Copilot AI balanced review requested due to automatic review settings November 24, 2026 20:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

@gitar-bot

gitar-bot Bot commented Nov 24, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 🔴 High risk

Replacing the generated BackgroundJob.JobType enum with String breaks Java source compatibility, so existing consumers may fail to compile until migrated.

Makes BackgroundJob.jobType an open string, moving OpenMetadata's eight job types into BackgroundJobTypes constants so distributions can write and register their own job types without a spec change. 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

@harshach
harshach merged commit 2156ec4 into main Nov 25, 2026
66 of 68 checks passed
@harshach
harshach deleted the harshach/open-background-job-types branch November 25, 2026 01:40
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.

Collate redefines openmetadata-spec job types and Slack settings, so ontology library installs fail on Collate

4 participants