diff_runs
Compare two Metaflow runs to identify changes in source code, parameters, environment, and metadata. Helps debug regressions and investigate run differences.
Instructions
Compare two Metaflow runs: source code, parameters, environment, and system metadata.
Produces a structured diff showing what changed between two runs of the same flow. Useful for debugging regressions, understanding why a run succeeded when another failed, or auditing parameter/dependency changes.
Sections in the diff:
code: unified diff of the source code snapshots
metadata: tags, system tags (metaflow version, runtime, etc.)
parameters: flow parameter values
environment: conda/pypi package additions, removals, and version changes
Args: source_pathspec: Run pathspec for the "before" run (e.g. "MyFlow/100"). target_pathspec: Run pathspec for the "after" run (e.g. "MyFlow/101").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_pathspec | Yes | ||
| target_pathspec | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |