Repository navigation
feat(ingest/boomi): ingest process execution history - #20889
acrylJonny wants to merge 8 commits into
Conversation
PR SummaryOverview Configuration is on by default via 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 Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Bundle ReportChanges will increase total bundle size by 300 bytes (0.0%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: datahub-react-web-esmAssets Changed:
Files in
|
76a33b0 to
b66d9aa
Compare
There was a problem hiding this comment.
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 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 |
Initial JS bundle size ➡️
|
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.
|
| 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.
b66d9aa to
f71cda1
Compare
|
Checked against a live Boomi trial account: when the account has no Atoms, |
f71cda1 to
b941d88
Compare
b941d88 to
1878991
Compare
c1e5982 to
c4fc416
Compare
c4fc416 to
b923bae
Compare
Connector Tests ResultsConnector tests were cancelled for commit To skip connector tests, add the Autogenerated by the connector-tests CI pipeline. |
b923bae to
fe745a9
Compare
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>
fe745a9 to
957cf99
Compare
|
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. |
# Conflicts: # datahub-web-react/src/app/ingest/source/builder/sources.json
Smart test selectionPlaywright E2E testsThis run:
Specs selected because of this PR (6)
Add the commit |
i18n locale parityStatus:
Per-key detail is in the job summary of the ./gradlew :datahub-web-react:yarnI18nParityCheck # all locales
cd datahub-web-react && yarn check-i18n-parity --lang de # one locale |
Meticulous Agent Swarm
Tested on commit
|


Summary
Stacked on #20888. This adds Boomi execution history to the
boomisource.Boomi
ExecutionRecords become DataProcessInstances whose template is the process'sprocessDataJob.The source runs one account-wide
ExecutionRecord/queryper window. The window isexecutionTime >= now - execution_history_days, and it is paged withqueryMore.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:
COMPLETE,COMPLETE_WARNERROR,ABORTEDDISCARDEDINPROCESS,STARTED,ENQUEUED,ABORTED_RECOVERINGEnd 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_daysis 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
Checklist
🤖 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.Written for commit ce3fecd. Summary will update on new commits.