Page MenuHomePhabricator

dagster debug export & dagit-debug
ClosedPublic

Authored by alangenfeld on Sep 22 2020, 7:15 PM.

Details

Summary

Provide tools for exporting a run to a file and loading that file in to dagit.

Test Plan

putting up early for feedback, will add tests
{P90}

Diff Detail

Repository
R1 dagster
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Sep 22 2020, 7:44 PM
Harbormaster failed remote builds in B18591: Diff 22571!

sooooo awesome

python_modules/dagster/dagster/cli/debug.py
39

nit:
`
if len(runs) == 0:

return "No failed pipeline runs found."

`

68

future work: if the run has a parent(s), fetch that too; if its a scheduled run, fetch the schedule too

python_modules/dagster/dagster/core/instance/__init__.py
248–249

nit: (preload=preload) to match the next line

This revision is now accepted and ready to land.Sep 23 2020, 5:42 PM
This revision was landed with ongoing or failed builds.Sep 23 2020, 5:48 PM
This revision was automatically updated to reflect the committed changes.