Repository navigation
Fixes #37631: Run Data 360 Pipeline lineage and run status in the metadata agent - #37632
Conversation
…etadata agent The separate Lineage and Usage agents were built with database settings and could not run on a pipeline service, and the lineage run failed trying to delete pipelines. Lineage and run status now come from the metadata agent, as for every other pipeline service; the old sources stay for existing agents. Also: Test Connection logs in inside CheckAccess and probes one page, the domain must be the org's My Domain, busy or failing objects are no longer filtered out, duplicate listings are dropped and the status tag is gone.
Data 360 keeps no run history for a streaming transform and answers with a 404, which failed the metadata run once those transforms stopped being filtered out.
❌ PR checklist incompleteThis 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 |
…reliability # Conflicts: # bootstrap/sql/migrations/native/2.1.0/mysql/postDataMigrationSQLScript.sql # bootstrap/sql/migrations/native/2.1.0/postgres/postDataMigrationSQLScript.sql
…ection and silence the bulk lineage override check The v210 Data Insights migration test reads its section from its marker to the end of the file, so the Data 360 statement goes before it.
…reliability # Conflicts: # ingestion/src/metadata/examples/workflows/data360pipeline.yaml # ingestion/src/metadata/ingestion/source/pipeline/data360pipeline/connection.py # openmetadata-spec/src/main/resources/json/schema/entity/services/connections/pipeline/data360PipelineConnection.json # openmetadata-ui/src/main/resources/ui/public/jsons/connectionSchemas/connections/pipeline/data360PipelineConnection.json # openmetadata-ui/src/main/resources/ui/public/jsons/connectionSchemas/connections/serviceConnection.json # openmetadata-ui/src/main/resources/ui/public/locales/en-US/Pipeline/Data360Pipeline.md # openmetadata-ui/src/main/resources/ui/src/generated/api/automations/createWorkflow.ts # openmetadata-ui/src/main/resources/ui/src/generated/api/services/createPipelineService.ts # openmetadata-ui/src/main/resources/ui/src/generated/api/services/ingestionPipelines/createIngestionPipeline.ts # openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/testServiceConnection.ts # openmetadata-ui/src/main/resources/ui/src/generated/entity/automations/workflow.ts # openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/pipeline/data360PipelineConnection.ts # openmetadata-ui/src/main/resources/ui/src/generated/entity/services/connections/serviceConnection.ts # openmetadata-ui/src/main/resources/ui/src/generated/entity/services/ingestionPipelines/ingestionPipeline.ts # openmetadata-ui/src/main/resources/ui/src/generated/entity/services/ingestionPipelines/serviceProgressEvent.ts # openmetadata-ui/src/main/resources/ui/src/generated/entity/services/pipelineService.ts # openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/testSuitePipeline.ts # openmetadata-ui/src/main/resources/ui/src/generated/metadataIngestion/workflow.ts # openmetadata-ui/src/main/resources/ui/src/jsons/ingestionSchemas/testSuitePipeline.json # openmetadata-ui/src/main/resources/ui/src/jsons/ingestionSchemas/workflow.json
…d drop its old status tags The connector no longer tags a pipeline with its status, but an ingestion PUT never removes a tag, so the 2.1.0 data migration deletes the automated Data360.ACTIVE label from Data 360 Pipeline pipelines.
Code Review ✅ Approved 🔴 High risk 1 closed / 1 findingsThe 2.1.0 migration deletes Data360.ACTIVE tag records and disables extraction flags on existing services, potentially removing labels and changing agent availability. Moves Data 360 Pipeline lineage and run status into the metadata agent, fixing the crashing separate Lineage and Usage agents, with Test Connection and listing fixes. Resolved: the required My Domain ✅ 1 closed✅ Quality: Required My Domain salesforceDomain contract is not in the new ADR
VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Describe your changes:
Fixes #37631
The Data 360 Pipeline connector was the only pipeline connector with separate Lineage and Usage agents. The UI and AutoPilot build those with database settings, so they crashed, and the lineage run failed trying to delete pipelines as the lineage bot. Lineage and run status now come from the metadata agent, as for every other pipeline service. The same PR fixes the Test Connection and listing issues found in release testing.
Type of change:
High-level design:
base.pyis the oldmetadata.py(listing, pipelines, tags), renamed toData360PipelineBaseSource. The only changes are the status filter and the dedupe.lineage.pyandoperational.pyare now mixins.metadata.pycombines them into the metadata source.supportsLineageExtraction/supportsUsageExtractionstay in the schema, so stored connections still validate, but they now default tofalse. A 2.1.0 data migration sets them tofalseon existing services, so the UI and AutoPilot stop offering the broken agents.salesforceDomainis required with nologindefault (already on main via Fixes 37626: Data 360 connection and filter reliability #37627); on top of that, the pipeline connection refuseslogin/testbefore logging in, with a My Domain hint.Other fixes:
CheckAccess, so a bad login is a failed step with its reason, not an exception before any result.login/testare refused with a My Domain hint.INACTIVEobjects are filtered, soPROCESSINGandERRORobjects are kept.Tests:
Use cases covered
Live before/after:
mainand this branch run against a Data 360 org and a 2.1 server, each on a fresh pipeline service, as ingestion-bot and lineage-bot.login: raised before any result → failedCheckAccesswith the reason.[Delete] not allowed) → Success.supportsLineageExtraction/supportsUsageExtractionstoredtrue→false.PROCESSINGstreaming transform: skipped → ingested, no run-status failure.Unit tests
test_data360pipeline*.py(newtest_data360pipeline_connection.py),data360/test_client.py,data360/test_connection.py. 130 pass.Backend integration tests
make java_affected --scope focusedselects nothing. The spec module compiles.Ingestion integration tests
Playwright (UI) tests
Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.ADR:2026-11-12-data360-pipeline-lineage-and-run-status-run-in-the-metadata-agent,ADR:2026-11-12-data360-salesforce-domain-is-a-required-my-domain(v2 amendment).🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge; no new actionable defects were found.Summary
Moves Data 360 Pipeline lineage and run status into the metadata agent while retaining the older source classes.
Diagram
%%{init: {'theme': 'neutral'}}%% flowchart TD A[Metadata agent] --> B[List and deduplicate pipelines] B --> C[Create or update pipeline] C --> D[Extract run status] D --> E{includeLineage enabled?} E -->|Yes, database service configured| F[Extract pipeline lineage] E -->|No| G[Skip lineage] B --> H{All listings complete?} H -->|Yes| I[Reconcile stale pipelines] H -->|No| J[Skip deletion]Reviews (3) · Last reviewed commit: "Merge branch 'main' into fix/data360-pip..." · Reviewed by Greptile