In this article
Cache policy has several configuration layers; the task source alone may not describe the setting applied to the submitted run.
The component was meant to execute again
A pipeline author disables caching for a component that reads a changing external evaluation set. A wrapper submits the pipeline with a global caching override. The observed run reuses prior output, surprising the author who reviewed only the task-level declaration.
Collect the effective configuration path before modifying component code. The compiled pipeline and the submitted run can carry additional policy choices. A result marked as reused is evidence about the actual run, not necessarily a faithful reflection of a single line in the current source file.
Task-level caching is only one layer
The KFP caching guide documents per-task caching options and run-wide submission overrides. It also describes compile-time defaults. These layers make it important to inspect the exact launch operation used by a scheduler, notebook or automation wrapper.
State whether the goal is to reuse deterministic computation or force a fresh observation. The latter requires an effective execution policy, not merely a comment that labels the component as fresh in the source.
Submission parameters can change the outcome
The Client API exposes run-creation options. Review the wrapper’s actual arguments and the pipeline package it submits. A stale compiled package is another distinct possibility: the reviewed source may not be the source from which that package was generated.
Preserve the package identity with the run. Artifact signature verification illustrates how identity evidence differs from assuming that a familiar filename contains the latest intended definition.
Reuse changes whether component code runs
The DSL reference documents task configuration methods. A cache hit returns previous outputs rather than executing the component body. Any incidental external observation or side effect inside that body therefore needs a deliberate policy.
Do not use output presence as proof that a live external source was contacted on this run. A previous result may still be useful, but its observation time and population belong in the explanation of the metric.
Verify policy and data identity separately
Submit a controlled pipeline through the same wrapper and inspect whether the target component executes or reuses output under each intended setting. Use an observable harmless operation so the test can distinguish actual execution from returned data.
Then verify the evaluation-set identity through dataset lineage. Disabling cache establishes fresh execution, while explicit input evidence establishes what that execution read. Both are needed when the experiment claims to evaluate revised data.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.