Skip to content

feat(ingest/boomi): ingest process execution history - #20889

Open
acrylJonny wants to merge 8 commits into
boomi/01-corefrom
boomi/02-executions
Open

acrylJonny wants to merge 8 commits into
boomi/01-corefrom
boomi/02-executions

Conversation

@acrylJonny

@acrylJonny acrylJonny commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Stacked on #20888. This adds Boomi execution history to the boomi source.

  • Boomi ExecutionRecords become DataProcessInstances whose template is the process's process DataJob.

  • The source runs one account-wide ExecutionRecord/query per window. The window is executionTime >= now - execution_history_days, and it is paged with queryMore.

  • Results are grouped by process and capped per process with max_executions_per_process, keeping the most recent runs. Runs of processes that were not ingested are skipped and counted.

  • Status mapping:

    Boomi status Result
    COMPLETE, COMPLETE_WARN success
    ERROR, ABORTED failure
    DISCARDED skipped
    INPROCESS, STARTED, ENQUEUED, ABORTED_RECOVERING start event only
    anything else start event only, plus a report warning once per status
  • End time is executionTime + executionDuration, where the duration is in milliseconds. ["Long", n] values are handled.

  • Manual runs (exec_manual) are typed as ad hoc; all other runs are typed as scheduled.

  • execution_history_days is capped at 30, because Boomi purges execution history after 30 days by default.

  • A token without View Results gets a warning and the stage is skipped.

Testing

  • Unit tests cover:
    • Status mapping.
    • End-time calculation.
    • Per-process cap and ordering.
    • Skipping runs of processes that were not ingested.
    • The unknown-status warning.
    • The 403 and non-403 failure paths.
    • The window filter body.
  • The golden test now includes 14 executions across two pages and every status class. It reruns deterministically.

Checklist

  • PR title follows the Contributing Guideline
  • Tests added
  • Docs updated: View Results privilege, execution history, retention

🤖 Generated with Claude Code


Summary by cubic

Adds Boomi execution history to boomi, emitting each process's recent executions as run history on its DataJob. Source descriptions and docs now cover run history, retention, and the required View Results privilege.

  • History is enabled by default; the 7-day window is capped at 30 days, with up to 50 recent executions per process.
  • One account-wide query is paged and grouped by process. Runs of processes that weren't ingested are skipped, and the query is skipped entirely when no process was emitted.
  • Terminal statuses map to success, failure, or skipped. In-progress and unknown statuses get a start event only, and unknown-status warnings are de-duplicated case-insensitively. Finished runs without a duration record their result at the start time.
  • Manual runs are typed as ad hoc, and sub-process runs inherit their top-level run's type and are linked to it as a parent when that run is ingested in the same window.
  • Missing View Results skips history with a warning, and other API errors are reported as warnings so stale process removal still runs. A 400 "no access to any containers" response is treated as an account with no runtimes and recorded as info.

Written for commit ce3fecd. Summary will update on new commits.

View guided diff Turn on auto-fix

@github-actions github-actions Bot added ingestion PR or Issue related to the ingestion of metadata product PR or Issue related to the DataHub UI/UX labels Nov 2, 2026
@acrylJonny
acrylJonny marked this pull request as ready for review November 2, 2026 18:44
@cursor

cursor Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

PR Summary

Overview
Adds Boomi process run history to the boomi ingestion source: recent ExecutionRecord rows are emitted as DataProcessInstance runs tied to each ingested process DataJob, with start/end events and status mapping (success, failure, skipped, or in-progress).

Configuration is on by default via include_execution_history, with execution_history_days (7 default, max 30) and max_executions_per_process (50 default). The client runs one account-wide, paged ExecutionRecord query; runs for filtered/undeployed processes are skipped. Sub-process runs can link to a parent instance and inherit scheduled vs ad hoc typing from the top-level run.

Docs, sample recipe, UI sources.json, and locale strings now advertise run history and the View Results API privilege. Execution API failures (including 403) are warnings so process ingestion and stale removal still complete; the “no runtimes” 400 case is handled quietly.

Reviewed by Cursor Bugbot for commit ce3fecd. Bugbot is set up for automated code reviews on this repo. Configure here.

@codecov

codecov Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.82353% with 2 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...stion/src/datahub/ingestion/source/boomi/source.py 98.29% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@codecov

codecov Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Bundle Report

Changes will increase total bundle size by 300 bytes (0.0%) ⬆️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
datahub-react-web-esm 31.59MB 300 bytes (0.0%) ⬆️

Affected Assets, Files, and Routes:

view changes for bundle: datahub-react-web-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/ru-*.js 33 bytes 513.32kB 0.01%
assets/ja-*.js 15 bytes 389.85kB 0.0%
assets/hu-*.js 22 bytes 387.68kB 0.01%
assets/fr-*.js 27 bytes 381.7kB 0.01%
assets/es-*.js 26 bytes 372.34kB 0.01%
assets/de-*.js 21 bytes 370.48kB 0.01%
assets/it-*.js 29 bytes 365.76kB 0.01%
assets/pt-*.js 27 bytes 365.08kB 0.01%
assets/fi-*.js 13 bytes 363.32kB 0.0%
assets/sv-*.js 14 bytes 356.83kB 0.0%
assets/en-*.js 13 bytes 352.65kB 0.0%
assets/nb-*.js 17 bytes 349.6kB 0.0%
assets/zh-*.js 15 bytes 320.72kB 0.0%
assets/zh-*.js 15 bytes 324.99kB 0.0%
assets/cacheUtils-*.js 13 bytes 92.9kB 0.01%

Files in assets/cacheUtils-*.js:

  • ./src/app/ingestV2/source/builder/sources.json → Total Size: 90.91kB

@acrylJonny
acrylJonny added this pull request to stack #20890 November 2, 2026 18:46

@cubic-dev-ai cubic-dev-ai Bot 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.

Review completed against the latest diff

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

@meticulous

meticulous Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

✅ Meticulous spotted 0 visual differences across 34 screens tested: view results.

Meticulous evaluated ~18 hours of user flows against your PR.

Expected differences? Click here. Last updated for commit ce3fecd Merge branch 'boomi/01-core' into boomi/02-executions. This comment will update as new commits are pushed.

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Initial JS bundle size ➡️

Base (3d5b99c) This PR Diff
index.html (/login) 250 KB 250 KB +0 KB (+0.0%)
Logged-in shell 1.07 MB 1.07 MB -0 KB (-0.0%)
/search 1.25 MB 1.25 MB +0 KB (+0.0%)
/ (home) 1.27 MB 1.27 MB +0 KB (+0.0%)

index.html is the login page; logged-in pages add the shell. Gzip of the JS loaded before first paint. Codecov reports total bundle including lazy chunks — these intentionally differ.

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Boot web vitals (no backend)

Unauthenticated /login against the two dist/ trees from this job. No GMS — this is eager JS, not search/dataset payload. Lantern, desktop, 1x CPU. Does not forecast fleet p75; do not gate on LCP.

Web-vitals A/B — base (3d5b99c) (A) vs pr (ce3fecd) (B)

Lighthouse 12.8.2, throttling simulate (cpu 1x, rtt 40 ms, 10240 kbps). Form factor: desktop. Cache: cold (fresh incognito context per run). target n=3/build, 1 warm-up discarded, alternating A,B.

Boot-only (no GMS). Unauthenticated login route — eager JS/CSS/font transfer and parse, not search/dataset payload. Do not treat as a fleet p75.

boot

Measured runs in the table: A 3/3, B 3/3.

metric A p50 B p50 Δ p50 Δ% A p95 B p95
fcp 858 ms 855 ms -3 ms -0.4% 877 ms 856 ms
lcp 1319 ms 1313 ms -7 ms -0.5% 1322 ms 1318 ms
cls 0.0000 0.0000 0.0000 — 0.0000 0.0000
tbt 19 ms 16 ms -3 ms -18.4% 21 ms 18 ms
tti 1321 ms 1314 ms -7 ms -0.5% 1325 ms 1319 ms
ttfb 1 ms 1 ms 0 ms -33.0% 1 ms 1 ms
transferredBytes 1077.2 KB 1077.2 KB 0.0 KB +0.0% 1077.2 KB 1077.2 KB
mainThread 317 ms 312 ms -5 ms -1.7% 373 ms 316 ms
bootup 171 ms 166 ms -5 ms -2.8% 186 ms 173 ms

Resource transfer by type (p50):

type A bytes B bytes Δ bytes A requests B requests
document 1.3 KB 1.3 KB 0.0 KB 1 1
script 645.4 KB 645.4 KB -0.0 KB 8 8
stylesheet 3.0 KB 3.0 KB 0.0 KB 2 2
image 48.7 KB 48.7 KB 0.0 KB 1 1
media 257.3 KB 257.3 KB 0.0 KB 1 1
font 106.6 KB 106.6 KB 0.0 KB 3 3
other 0.0 KB 0.0 KB 0.0 KB 0 0

LCP element A: div > div.sc-fpAkvV > div.sc-pRPz > p.sc-pNWdM — Welcome to DataHub
LCP element B: div > div.sc-fpAkvV > div.sc-pRPz > p.sc-pNWdM — Welcome to DataHub

These numbers rank changes and gate regressions against the measured origin(s). They do not sum across PRs and do not forecast any fleet-wide production number.

@acrylJonny

Copy link
Copy Markdown
Collaborator Author

Checked against a live Boomi trial account: when the account has no Atoms, ExecutionRecord/query returns HTTP 400 "You do not have access to any containers" instead of an empty result. f71cda1 treats that response as "no runtimes": no executions, an info entry in the report, no warning or failure, so stale-entity removal still runs.

@datahub-connector-tests

datahub-connector-tests Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Connector Tests Results

Connector tests were cancelled for commit ce3fecd

View full test logs →

To skip connector tests, add the skip-connector-tests label (org members only).

Autogenerated by the connector-tests CI pipeline.

acrylJonny and others added 6 commits November 3, 2026 09:07
Emits Boomi ExecutionRecords as DataProcessInstances on each ingested
process's DataJob. One account-wide window query (execution_history_days,
max 30 to match Boomi's default purge) is grouped by process and capped with
max_executions_per_process. COMPLETE/COMPLETE_WARN map to success,
ERROR/ABORTED to failure and DISCARDED to skipped; in-progress and unknown
statuses get a start event only. A token without View Results gets a warning
and the stage is skipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r all locales

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tion history

- Treat the HTTP 400 "do not have access to any containers" response from
  ExecutionRecord/query as an account with no runtimes: no runs, an info
  entry and no failure, so stale removal still runs.
- Skip the execution query when no process was emitted.
- De-duplicate unknown-status warnings case-insensitively.
- Note in the recipe that execution history needs View Results, and clarify
  how environment_pattern and missing durations affect runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Live ExecutionRecords for Process Call children have executionType
sub_process and only topLevelExecutionId set. They were typed as
scheduled runs even when a manual run called them, and had no link to
the calling run. They now take the top-level run's type and set it as
their parent instance when that run is ingested in the same window.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… shapes

The integration test loads the ExecutionRecord query response captured
from a Boomi trial account, including the sub_process runs started by a
Process Call, and adds copies of those records for the statuses and caps
the account does not have. Unit test records follow the live shapes and
the process, folder and deployment fixtures from the base branch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Execution history is supplementary and executions are not part of stale
state, so a listing error no longer stands down stale removal of processes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@acrylJonny

Copy link
Copy Markdown
Collaborator Author

Same issue as the one raised on #20902: an execution-listing 5xx or network error was recorded as a failure, which stood down stale-entity removal for folders and processes. 957cf99 reports it as a warning instead. DataProcessInstances are not part of stale state, so missing run history cannot soft-delete anything.

@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Smart test selection

Playwright E2E tests

This run: smart

  • Selection: smart: specs tagged executor, ingestion, ingestion:connector plus the tests the change affects
  • Size: 24 tests in 6 spec files, ~3 min predicted on 1 shard(s)
Specs selected because of this PR (6)
Spec Tests Why
ingestion-v3/odcs-source.spec.ts 2/2 tagged ingestion
ingestion-v3/run-history.spec.ts 6/6 tagged ingestion
ingestion-v3/secrets-tab.spec.ts 4/4 tagged ingestion
ingestion-v3/sources.spec.ts 7/7 tagged ingestion
mutations/manage-ingestion-secret-privilege.spec.ts 3/3 tagged ingestion
task-runs-v2/task-runs.spec.ts 2/2 tagged executor

Add the run-all-tests:playwright label to run the full Playwright suite on this PR.

commit ce3fecd · workflow run

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

i18n locale parity

Status: ⚠️ drift detected (warn-only) — 135 issue(s) across 13 locale(s)

Locale Missing keys Stale keys Placeholder Files
de 155 10 0 10
es 155 10 0 10
fi 155 12 0 11
fr 155 10 0 10
hu 155 10 0 10
it 155 10 0 10
ja 155 12 0 11
nb 155 10 0 10
pt-BR 155 10 0 10
ru 155 13 0 12
sv 155 10 0 10
zh-CN 155 10 0 10
zh-TW 155 12 0 11

Per-key detail is in the job summary of the datahub-web-react-lint run, or reproduce locally:

./gradlew :datahub-web-react:yarnI18nParityCheck        # all locales
cd datahub-web-react && yarn check-i18n-parity --lang de  # one locale

@meticulous

meticulous Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Meticulous Agent Swarm

Tested on commit ce3fecd.

Pass Boomi card now names run history in its description

Searching Boomi shows a source card naming folders, processes, deployments, ownership and run history.

Watch: Boomi’s source card describes its run history

Open in Meticulous

This branch was successfully deployed

2 active deployments
Preview — ce3fecdb Deployed Dec 2, 2026 by vercel[bot]
datahub-project-web-react (Preview) — ce3fecdb Deployed Dec 2, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ingestion PR or Issue related to the ingestion of metadata needs-review Label for PRs that need review from a maintainer. product PR or Issue related to the DataHub UI/UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants