Repository navigation
Run a single test case on demand from the test case details page - #33499
Conversation
- POST /v1/dataQuality/testCases/{id}/run triggers the test suite's first
enabled, deployed ingestion pipeline, scoped to that one test case. It is
authorized like the pipeline's own trigger (Trigger on the pipeline) and
rejected with 409 while a run of that pipeline is queued or running; runs
that outlived their timeout do not count. The scope is applied to a copy,
so scheduled runs keep running the whole suite.
- Airflow bakes a DAG's config at deploy time, so the per-run test case scope
and a server-generated run id travel in the trigger conf. The task adopts
that run id, so the queued status the server records is the one the worker
(and the failure callback) updates.
- The pipeline decrypt/nullify logic moves to IngestionPipelineSecrets so the
new endpoint and the ingestion pipeline resource share it.
- UI: a Run now button in the test case header, disabled with the reason when
the suite has no runnable pipeline, the user lacks Trigger, or a run is in
progress; it shows Queued/Running and polls until the run finishes.
Co-Authored-By: Claude Opus 5 <[email protected]>
…d to end
- Keep a run's test case scope for callers who may trigger the suite
pipeline but not view it. Resolving the pipeline's secrets withholds its
source config from such a caller, and the scope was set before that, so it
was dropped and the whole suite ran. The scope is now applied last.
- Airflow: a DAG-level failure callback reports the failure under the run id
from the trigger conf. A task killed before it starts never runs its own
callback, so an on-demand run stayed queued - and blocked further runs -
until the queued timeout.
- UI: Run now is primary with a Play icon and hidden from users who may not
trigger the suite pipeline. The run state, label and disabled reason move
to RunTestCaseButton.utils.
- Tests:
- TestCaseRunIT: disabled-only suite is 404, a deployed pipeline is picked
beside an undeployed one, a queued run is 409, and a running run blocks
within the default timeout but not past the pipeline's workflowTimeout.
- TestCaseRunScopeTest: the scope survives withheld source config.
- Python: DAG failure callback; the test suite source matches test cases
by name, not FQN, which the endpoint relies on.
- Jest: component tests for visibility, click, error and queued state.
- Playwright: disabled reasons, queuing a run, hidden from a data
consumer, shown to a data consumer who owns the pipeline.
Co-Authored-By: Claude Opus 5 <[email protected]>
❌ 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 |
🔄 Playwright impact map auto-refreshedThis PR touched specs or UI source that changed the source→spec routing map. I regenerated What is this file? It is the auto-generated half of Playwright's PR planner. It routes "if source X changes, run specs Y" by walking spec imports and cross-referencing What if I want to regenerate locally instead? Run this before pushing your next change to skip the bot commit: python3 .github/scripts/generate_playwright_impact_map.py
git add .github/playwright/impact-map.generated.json
git commit --amend --no-edit # or a separate commit |
… same pipeline in UI and API - Two concurrent run requests could both pass the in-progress check before either recorded its queued status, starting duplicate runs. The check and trigger now hold a per-pipeline lock until the queued status is recorded, so the second request gets 409. The lock is in-process; replicas can still race within the trigger call. - With several runnable pipelines, the endpoint took the suite relationship order while the details page took the name-ordered list, so the button could read permission and run state from a different pipeline than the one a run used. Both now pick the runnable pipeline with the lowest id. Co-Authored-By: Claude Opus 5 <[email protected]>
… case Review feedback on #33499: the 409 guard and its striped lock were keyed on the pipeline, but what two runs contend for is the test case, which sits in its table suite and in bundle suites, each with its own scheduled pipeline. The guard could not see those overlaps, /trigger never used it, and the lock only held within one server replica, so it read like a safety property it was not. - IngestionPipelineRepository: remove runIngestionPipelineUnlessInProgress, the in-progress check, the running timeout and the per-pipeline lock; runTestCase goes through runIngestionPipeline like /trigger. The run id plumbing and the DAG failure callback stay: they make a run's statuses land on its own row. - The lowest-id pipeline choice moves into runnablePipelineAmong, unit tested, since the IT that proved it relied on the 409 message. - UI: a run in progress no longer disables Run now. The button keeps the Queued/Running label and the polling, and its tooltip says a click starts another run (message.test-case-run-already-in-progress, all locales). Only a missing or undeployed pipeline disables it. isLoading covers just the request, as the core Button ignores presses while loading. Tests: the lock and in-progress unit tests and the 409 ITs go; an IT asserts a run is accepted while the suite pipeline runs; Jest and Playwright assert the button stays enabled with the advisory tooltip while a run is in progress. Co-Authored-By: Claude Opus 5 <[email protected]>
# Conflicts: # .github/playwright/impact-map.generated.json # openmetadata-service/src/main/java/org/openmetadata/service/clients/pipeline/airflow/AirflowRESTClient.java
… entity Review feedback on #33499: running one test case was a one-off endpoint, and "profile this table now", "re-ingest this table" or "auto-classify this table" would each have needed their own. This replaces it with one mechanism. POST /v1/services/ingestionPipelines/run {entityLink, pipelineType} (RunIngestionPipelineForEntity schema) runs the lowest-id enabled, deployed pipeline of the type that owns the linked entity. EntityPipelineRunner holds the steps every run shares - resolve the pipeline, authorise Trigger and enforce the limits as /trigger does, check the scope is safe, resolve secrets, run - and two registries hold what varies: - RunnablePipelineResolver by entity type: a test case to its table suite's test suite pipeline (names are unique there, which a name-scoped run relies on); a table to its database service's profiler, metadata or auto classification pipeline. Usage and lineage are not served: a table filter does not bound their query logs. - SourceConfigScoper by pipeline type: a test suite run to the test case; a profiler or auto classification run to exact, regex-escaped FQN filters on the table; a metadata run to the same filters with markDeleted* switched off, or a run that sees one table would soft-delete the rest, stored procedures left out, and rejected on incremental pipelines, whose next run would start from it. The scope travels as RunOptions.sourceConfigOverride, a partial source config whose top-level keys replace the deployed ones for the run: Airflow receives it in the trigger conf and one step in CustomPythonOperator lays it over the deployed config for every DAG type, replacing the test suite only testCases param; K8s, Argo and Hybrid get a copy with it applied. The old POST /dataQuality/testCases/{id}/run is removed and Run now calls the new one. Tests: SourceConfigScopersTest reads every scope back through the generated config classes, so a misspelt key fails; RunIngestionPipelineForEntityIT covers test case and table runs, 400s for unsupported pairings and incremental pipelines, 403 and 404s; Python tests cover the override for test suite and metadata DAGs; Jest and Playwright follow the new endpoint. Co-Authored-By: Claude Opus 5 <[email protected]>
…union A sparse deployed config can fit several source config variants: an auto classification config with no database fields parses as the messaging one, and re-validating the override with that class rejected the table filters a scoped auto classification run adds. Validate the merged config through the source config union instead, and leave empty deployed fields out so one variant's empty fields cannot rule out another. Co-Authored-By: Claude Opus 5 <[email protected]>
Airflow keys a DAG run by (dag_id, logical_date) and trigger_dag truncates the date to the second by default, so a second trigger of the same pipeline within one second failed with a unique violation. Now that a test case can be run again while a run is in progress, a quick second Run now hit it. Co-Authored-By: Claude Opus 5 <[email protected]>
delete_dag_id removed the dag row and its runs, but never the task instances, and a task instance pins the dag version it ran with a RESTRICT foreign key. Deleting a dag that had executed anything was therefore refused by the database. Airflow's own delete_dag walks every table keyed by the dag in an order its foreign keys accept, so use it. The integration test only passed before because trigger_dag truncated logical_date to the second, which put the run before the test dag's start date and so created no task instances at all. Co-Authored-By: Claude Opus 5 <[email protected]>
Triggering a pipeline for an entity aims it at that entity, so the Trigger check on the pipeline is not the whole question: a caller who may not see a test case or a table should not be able to aim a pipeline at it. Authorize ViewBasic on the resolved entity before choosing a pipeline for it. Co-Authored-By: Claude Opus 5 <[email protected]>
|
|
Thanks Teddy, all three are in. Summary below; the inline threads point at the specific changes. 1.
2. Guard removed (f9081f7). Everything on your list is gone: the lock, the in-progress check, its settings and both tests. The run-id plumbing and the DAG failure callback stay. The IT now asserts a run is accepted while another is running. The Run now button stays enabled, with a tooltip saying a second run will start another. I agree Taking the guard out exposed a bug that is also on main. Airflow's 3. Generic endpoint (6aca653).
What is registered:
One more trap beyond mark-deleted: an incremental metadata pipeline starts each run from its last successful one. A scoped run that succeeds would therefore make the next scheduled run skip changes to every other table. The metadata scoper rejects scoped runs on incremental pipelines with a 400 rather than guess. The UI stays on the test case page and now calls this endpoint. Also since your review: greptile flagged that the endpoint authorized Validation.
The PR description has been rewritten to describe what actually shipped. |
| IngestionPipeline pipeline = | ||
| runnablePipelineAmong(resolver.pipelinesOwning(target, pipelineType)) | ||
| .orElseThrow(() -> noRunnablePipeline(target, pipelineType)); | ||
| authorizeTrigger(securityContext, pipeline); |
There was a problem hiding this comment.
authorizeTrigger isn't calling a shared helper — it's a second hand-written copy of the pair that triggerPipelineInternal inlines (IngestionPipelineResource.java:1566-1577). The contexts are byte-identical (getResourceContextById(id) is just new ResourceContext<>(entityType, id, null)), so it's a duplicate rather than a divergence today, but it's one more place to remember when the trigger rule changes. Counting AppResource.triggerApplicationRun — which authorizes TRIGGER on the App and calls enforceLimits not at all — that's 3 independent implementations.
One real behavioural difference: /trigger returns 200 "Pipeline Client Disabled" before enforceLimits, whereas here the null-client check now lives inside repository.runIngestionPipeline, so limits are enforced first. With the pipeline client disabled and a limit exhausted, /trigger returns 200 and /run fails.
Aligned only by coincidence, too: CreateResourceContext reads owners off the in-memory entity, so owner-conditioned policies and limits evaluate the same on both paths only because RunnablePipelineResolver.pipelinesOfType happens to fetch with Entity.FIELD_OWNERS, matching getFields(FIELD_OWNERS) on the trigger path. Nothing enforces that — drop it and /run silently evaluates them against null owners.
This PR already made the equivalent move for the other duplicated concern: IngestionPipelineSecrets, whose javadoc says "a second implementation would be free to drift from this one on the details that matter for security." The same argument applies verbatim to the authorize + limits pair — a sibling helper that both triggerPipelineInternal and this call would make it zero new surfaces instead of one, and it's a smaller change than the secrets extraction already in the diff.
There was a problem hiding this comment.
Both moved into IngestionPipelineTriggers.authorizeTrigger(authorizer, limits, securityContext, pipeline), a sibling of IngestionPipelineSecrets in the same package, and triggerPipelineInternal and EntityPipelineRunner now both call it — one surface, not two.
The ordering difference you found is settled rather than papered over. /trigger's early 200 "Pipeline Client Disabled" was redundant with the one inside runIngestionPipeline, so I deleted the early return. Both paths now authorize, enforce limits, and then report a disabled client, so client-disabled + limit-exhausted behaves the same either way.
The owners coupling is now written down rather than coincidental: the helper's javadoc states the pipeline must be read with FIELD_OWNERS, because both the Trigger policy and the limits can be conditioned on owners and would otherwise evaluate against null. triggerPipelineInternal reads getFields(FIELD_OWNERS) and RunnablePipelineResolver.pipelinesOfType fetches Entity.FIELD_OWNERS, so both satisfy it.
I left AppResource.triggerApplicationRun alone — it authorizes TRIGGER on the App, not on the pipeline, so it is a different check rather than a third copy of this one. Happy to fold it in if you disagree.
| private PipelineServiceClientResponse runWithSecretsResolved( | ||
| UriInfo uriInfo, | ||
| SecurityContext securityContext, | ||
| IngestionPipeline pipeline, | ||
| RunOptions options) { | ||
| IngestionPipelineSecrets.decryptOrNullify( | ||
| authorizer, securityContext, repository.getOpenMetadataApplicationConfig(), pipeline, true); | ||
| ServiceEntityInterface service = | ||
| Entity.getEntity(pipeline.getService(), "ingestionRunner", Include.NON_DELETED); | ||
| return repository.runIngestionPipeline(uriInfo, pipeline, service, options); |
There was a problem hiding this comment.
Entity.getEntity(pipeline.getService(), "ingestionRunner", NON_DELETED) is still duplicated and is purely a precondition of runIngestionPipeline — byte-identical in both callers. A runIngestionPipeline(uriInfo, pipeline, options) overload that resolves the service itself would collapse this whole tail to one call. Keep the explicit-service overload for the callers with real variance (DataContractRepository passes a test suite; AppResource mutates ingestionRunner from the app first).
The one actual divergence: triggerPipelineInternal pre-sets the server connection with OpenMetadataConnectionBuilder(config) / (config, botName) before decrypting (IngestionPipelineResource.java:1578-1585); this doesn't. Same outcome today only because decryptOrNullify(forceNotMask=true) immediately overwrites it with OpenMetadataConnectionBuilder(config, pipeline), which derives the bot from the pipeline type. So the resource's pre-set — and with it the entire botName parameter of triggerPipelineInternal, which is only ever passed null — is dead. Worth deleting here rather than leaving one path holding a line the other doesn't: while it's there this method reads like it's missing a step, and if anyone ever makes that pre-set meaningful again, /run silently won't honour it.
(repository.getOpenMetadataApplicationConfig() vs the resource's own field is the same instance in the server, so no drift there.)
There was a problem hiding this comment.
Added runIngestionPipeline(uriInfo, pipeline, options) to IngestionPipelineRepository, which resolves Entity.getEntity(pipeline.getService(), "ingestionRunner", NON_DELETED) itself; both callers use it now. The explicit-service overload stays for the callers with real variance, exactly as you described — DataContractRepository passes a test suite and AppResource mutates ingestionRunner first.
botName and the OpenMetadataConnectionBuilder pre-set are deleted. You are right that decryptOrNullify(forceNotMask=true) overwrites it immediately, and the only two callers pass null.
One cross-repo consequence: Collate's AIAutomationResource calls the four-argument form with null, so it needs , null dropped when the submodule bumps. I will open that PR alongside this one.
Verified: RunIngestionPipelineForEntityIT 15/15, IngestionPipelineResourceIT + IngestionPipelineOwnerInheritanceIT 247 run / 0 failures, RunnablePipelineSelectionTest + RunIngestionPipelineImplTest 10/10. Pushed as dea17ae933.
There was a problem hiding this comment.
Correction on the botName deletion: I had to put a deprecated four-argument overload back, forwarding to the three-argument method.
Deleting it outright cannot merge in either order. Collate builds against OpenMetadata main (its .gitmodules pins branch = main, and collate-submodules resolves that branch rather than the gitlink), so maven-collate-ci on this PR compiles Collate main's four-argument call against this change and fails. Collate cannot go first either — the moment its call drops the argument, it stops compiling against today's main. Neither repo can be red, so the removal has to be two steps.
The overload carries no behaviour — it forwards, and the argument was always null. open-metadata/openmetadata-collate#6769 drops the Collate call site; once it merges I will send the three-line PR deleting the overload. Marked @Deprecated(forRemoval = true) with that issue named in the javadoc so it does not quietly become permanent.
…nd a scoped run Running a pipeline and running it scoped to one entity each carried their own copy of the Trigger authorization and the limits check, and AppResource carries a third. Two copies of a security check are free to drift on exactly the details that decide whether a run is allowed. Move the pair into IngestionPipelineTriggers, alongside the secrets helper that this endpoint already shares for the same reason. Its javadoc records the precondition nothing enforced before: the pipeline must be read with its owners, or an owner-conditioned Trigger policy and the limits both evaluate against null owners. This settles one behavioural difference. /trigger returned 200 "Pipeline Client Disabled" before enforcing limits while the scoped run enforced limits first, so with the client disabled and a limit exhausted one path succeeded and the other failed. The resource's early return is redundant with the one in runIngestionPipeline, so drop it and let both paths enforce limits, then report the disabled client. Resolving the pipeline's own service was likewise duplicated and is a precondition of the run rather than a choice, so add an overload that resolves it. The explicit-service overload stays for the callers with real variance - a data contract passes a test suite, an app sets the ingestion runner first. The botName parameter of triggerPipelineInternal is always null, and the server connection it pre-set is immediately overwritten by decryptOrNullify, which derives the bot from the pipeline. Delete both: while the pre-set is there the scoped run reads as if it skips a step, and a future change that made the pre-set meaningful would silently not apply to the scoped run.
…ps it Deleting botName in one step cannot merge: Collate builds against OpenMetadata main, so the four-argument call in its AIAutomationResource breaks the moment this lands, and maven-collate-ci is red until Collate updates - which it cannot do first, for the mirror-image reason. Keep a deprecated overload that forwards to the three-argument method so both repositories compile in either order. It carries no behaviour: the argument was always null. Delete it once Collate has dropped the argument (open-metadata/openmetadata-collate#6769).
Code Review ✅ Approved 1 closed / 1 findings🔴 High risk · New entity-scoped ingestion triggers alter authorization and stored-data processing behavior. Adds entity-scoped ingestion pipeline runs with a generic ✅ 1 closedClosed: Bug: UI never ages out stale QUEUED runs, button stuck disabled
OptionsDisplay: compact → Counting what did not apply, without listing it. 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 open-metadata/openmetadata-collate#6108
TCD-2, part of epic open-metadata/openmetadata-collate#6074.
Screen.Recording.2026-09-17.at.5.38.16.PM.mov
I added Run now to the test case details page. Until now, the only way to rerun one failing test was to trigger the suite's pipeline, which runs every test in the suite.
It is backed by a generic endpoint,
POST /v1/services/ingestionPipelines/run, which runs a pipeline of type T scoped to entity E. The test case page is the first caller; "profile this table now" and "re-ingest this table" are then a button and a translation key, with no server change.Type of change:
High-level design:
One endpoint, one spine —
EntityPipelineRunner, behindPOST /v1/services/ingestionPipelines/runwith the typed body{entityLink, pipelineType}(JSON SchemarunIngestionPipelineForEntity.json).entityLinkis OM's existing addressing, so<#E::testCase::fqn>and<#E::table::fqn>both work.RunnablePipelineResolverby entity type. An unregistered pairing (a profiler for a test case, usage or lineage for a table) or a link to a field returns 400.ViewBasicon the target entity — a caller who may not see a test case or table may not aim a pipeline at it — thenTriggeron that pipeline, plus the same limits as/trigger. Running one entity can never get around a policy that withholds either.SourceConfigScoperkeyed by pipeline type, resolve secrets, and run.RunnablePipelineResolvertestCase→ its test suite;table→ its database serviceSourceConfigScoperPipelineTypetestSuite→testCases: [name];profilerandautoClassification→ a sharedTableFilterScoper;metadata→ that plus the mark-deleted switchesThe scope travels as
RunOptions, not as a mutated entity.RunOptions(sourceConfigOverride, appConfigOverride)is an explicit argument toPipelineServiceClientInterface.runPipelineWithOptions. The interface default applies the override onto a copy of the source config and runs it — that is what K8s, Argo and the hybrid runner get for free. Airflow is the only client that overrides it, because it is the only one whose DAG config is baked at deploy time, so the trigger conf is its one per-run channel. Consequences:buildRunConfjust serialises what it was handed; no test-suite knowledge in a generic transport.ViewAll.Two traps the scopers close, written once instead of per feature:
markDeletedTablesand friends default to true. A metadata run scoped to one table sees exactly one table, so without switching all four off it would soft-delete every other table in the service. The metadata scoper forces them false.Airflow (
openmetadata-managed-apis)CustomPythonOperatorappliessourceConfigOverridefrom the trigger conf for every DAG type, validating the merged config through the source config union.pipelineRunIdtravels in the conf, so the queued status the server records is the run the worker reports on, and a DAG-levelon_failure_callbackcloses out a task killed before it starts.UI —
RunTestCaseButton(test case page only, as agreed in review)Two bugs found by end-to-end testing, fixed here
trigger_dagzeroes the microseconds oflogical_date, and a run is unique per(dag_id, logical_date), so a second trigger of the same pipeline within one second failed. This also affected/triggeron main. Keeping the true timestamp exposed a second, older bug:delete_dag_idnever deleted task instances, and a task instance pins its dag version with aRESTRICTforeign key, so on Airflow 3 deleting a DAG that had ever executed was refused by the database. It now uses Airflow's owndelete_dag.Alternatives rejected
/triggernever had it.Rollout: the server and
openmetadata-managed-apismust be upgraded together. An older managed-apis ignoressourceConfigOverride(the run executes the whole suite or service) andpipelineRunId(the queued status never moves).Tests:
Use cases covered
ViewAllstill gets a correctly scoped run; one who cannot view the target entity at all is refused.Unit tests
RunOptionsTest(6): the override replaces top-level keys, an empty one returns the same pipeline, the source stays untouched.SourceConfigScopersTest(7): the test case scope, exact regex-escaped table filters, the four mark-deleted switches, the incremental rejection.RunnablePipelineSelectionTest(3): lowest id among enabled and deployed.AirflowRESTClientTest(23): the conf carries the scope; a persisted subset is not re-sent.K8sPipelineClientTest: the K8s job is scoped through the shared default method.MeteredPipelineServiceClientTest: the metered client delegatesrunPipelineWithOptions.test_source_config_override.py(6): the override settles which config variant a sparse deployed one is — fails on the pre-fix code.test_pipeline_run_id.py(8): run id adoption and the DAG failure callback.test_trigger.py(1): runs triggered in the same second keep distinct logical dates.test_operation_diagnostics.py: updated for the new deletion path.ingestion/tests/unit/observability/data_quality/source/test_test_suite.py: a test case given by FQN selects nothing, so the scope uses the name.openmetadata-airflow-apissuite passes: 45 tests, unit and integration, against Airflow 3.3.1.RunTestCaseButton.test.tsx(8) andRunTestCaseButton.utils.test.ts(19): 98.33% lines onRunTestCaseButton.tsx, 100% onRunTestCaseButton.utils.ts.Backend integration tests
openmetadata-integration-tests/for new/changed API endpoints.RunIngestionPipelineForEntityIT(15), run against a real K3s cluster so the K8s client path executes:IngestionPipelineResourceIT(74) still passes alongside it.Ingestion integration tests
Playwright (UI) tests
openmetadata-ui/.../ui/playwright/.playwright/e2e/Features/DataQuality/RunTestCase.spec.ts— 8 passing: disabled with "No pipeline linked"; disabled with "Pipeline is not deployed"; Run now queues a run and the button stays enabled with the in-progress tooltip; hidden from a data consumer; shown to a data consumer who owns the pipeline.Manual testing performed
Local Docker stack with real Airflow 3.3.1, this branch's server jars and managed-apis, against a SQLite service with two tables and two test cases:
{pipelineRunId, sourceConfigOverride: {testCases: [name]}}, the run succeeded under that id, only that test case got a new result, and the stored pipeline was unchanged.logical_datefix, the second returned 400).UI screen recording / screenshots:
The recording above predates the review changes — it shows the button being blocked while a run is in progress, which is no longer the behaviour. TODO: re-record against the current build.
Checklist:
I have read the CONTRIBUTING document.
My PR title is
Fixes <issue-number>: <short explanation>(the issue lives in the Collate repo; see the linking note above)My PR is linked to a GitHub issue via
Fixes #<issue-number>above.I have commented on my code, particularly in hard-to-understand areas.
For JSON Schema changes:
runIngestionPipelineForEntity.jsonis a new request body only — no stored entity changed, so no migration is needed.For UI changes: I attached a screen recording and/or screenshots above.
I have added tests (unit / integration / Playwright as applicable) and listed them above.
The issue properly describes why the new feature is needed, what's the goal, and how we are building it. Any discussion or decision-making process is reflected in the issue.
I have updated the documentation.
I have added tests around the new logic.
🤖 Generated with Claude Code
The PR appears safe to merge; no outstanding correctness, security, or repository-rule issue remains.
Summary
This PR adds an entity-scoped ingestion-pipeline runner and exposes it through a “Run now” action on test-case details.
RunOptionswithout persisting narrowed pipeline configuration.Diagram
sequenceDiagram actor User participant UI as Test-case details participant API as POST /ingestionPipelines/run participant Runner as EntityPipelineRunner participant Repo as Pipeline repository participant Orchestrator as Airflow/K8s/Argo participant Worker as Ingestion workflow User->>UI: Click Run now UI->>API: entityLink + TEST_SUITE API->>Runner: Resolve target and pipeline Runner->>Runner: Authorize ViewBasic on target Runner->>Runner: Authorize Trigger on pipeline Runner->>Runner: Build per-run source override Runner->>Repo: Run pipeline with RunOptions Repo->>Orchestrator: Trigger with run ID and override Orchestrator->>Worker: Execute scoped workflow Worker-->>Repo: Report status under server run ID UI->>Repo: Poll pipeline status UI->>UI: Refresh test-case result when finishedReviews (15) · Last reviewed commit: "Merge remote-tracking branch 'origin/mai..."