Repository navigation
fix(side-effects): mark side-effect and context-taking pods provisional in 0.4.0 - #651
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
…-effect-pod-provisional
…ext-function-provisional
|
@coderabbitai review Posted by a Claude Code agent on behalf of @eywalker. |
Action not completed
|
Fixes ITL-555
SideEffectPod, its decorators, and function pods configured withctx_argare provisionalin 0.4.0. Each kind issues one
ProvisionalHashWarningper process on construction orwhen restored from a saved job or blueprint. The golden guard requires cases that
depend on either kind to declare it provisional.
The 0.4.0 freeze excludes each provisional pod's identity, firing rule, stored tables,
and downstream hashes. Ordinary function pods retain the 0.4.0 freeze. The sync and
async comparisons against
origin/mainmatched for calls, hashes, output rows, andstored schemas and paths.
ITL-947 tracks the shared design for firing levels, per-arrival delivery status,
coordination, and a dedicated table arrangement for context-taking functions.
ITL-1682 is related and remains open.
Verification
origin/mainIndependent review classification
Reproduced against
origin/main(a958449a) and the reviewed PR head (e796c719).PipelineJob.loadandPipeline.loadeach restore nodes from their own unmodified saved files with zero warnings on both refs. The PR promises a warning for every construction route, including restoration.Found in review, present on main, not addressed here
async defdelivery withsink_podand callawait job.run_async(). Both refs report that the coroutine was never awaited and deliver no rows.function_pod(output_keys="y", ctx_arg_name="ctx")(fn). Both refs raiseTypeErrorbecausePythonDataFunction.__init__rejectsctx_arg_name.The other review checks confirmed the intended behavior for live jobs, direct construction, the marker and registry, and the documentation.
Review finding → regression test
test_loading_side_effect_nodes_shares_the_pod_construction_warningtest_a_case_loading_a_sink_requires_a_provisional_declarationSideEffectPodpreserves the saved hash in the provisional set.All four new cases failed before the fix. The sync and async live-job probes matched main for deliveries, returned rows, table paths, schemas, stable stored values, and content and pipeline hashes.
Removed the redundant category-wide filter from the direct-construction golden test. The repository's existing pytest warning policy still applies.
Summary by CodeRabbit
SideEffectPodand function pods using invocation context as provisional in version 0.4.0. Their identities, execution or delivery behavior, and storage layouts may change; stored data may move, and an upgrade may repeat a delivery or side effect once.