You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: add regression tests for metaflow-mage QA findings
Adds tests that catch bugs found in the deep-QA run of metaflow-mage
(run 20260315-193000). Tests are written to fail against the unfixed
code and pass after fixes are applied.
test_dag.py:
- test_foreach, test_multibody_foreach: assert len(tasks) == N to catch
silent foreach_count=1 fallback (D-FOREACH-1)
- test_nested_foreach_2x2: 2-outer x 2-inner structure asserting all 4
combinations appear in outer_join and 4 inner tasks exist; the minimal
1-inner case in test_nested_foreach passes even with D-NESTED-1 bug
test_compliance.py:
- test_timeout_minutes_enforced: verifies @timeout(minutes=1) actually kills
the step (D-TIMEOUT-1); skipped on remote backends same as test_timeout_enforcement
- test_run_param_not_dropped: deploys flow with retry_count param, triggers
with retry_count=42, asserts value arrives at task runtime
test_utils.py:
- wait_for_deployed_run: assert triggered_run.run is not None, catching
run_id mismatches between deployer and init block in every deployer test
New flows:
- flows/basic/timeout_minutes_flow.py: @timeout(minutes=1) on 120s sleep
- flows/basic/reserved_param_flow.py: retry_count Parameter for param passthrough test
- flows/dag/nested_foreach_2x2_flow.py: 2x2 nested foreach (groups x items)
0 commit comments