#1457 Support checkpointing in local mode from cached tasks
Pull request opened by
bethebunny
TL;DR
Support checkpointing in local mode from cached tasks
Type
☑︎ Bug Fix
☐ Feature
☐ Plugin
Are all requirements met?
☑︎ Code completed
☑︎ Smoke tested
☑︎ Unit tests added
☑︎ Code documentation added
☑︎ Any pending items have an associated Issue
Complete description
• There's an inconsistency in behavior for checkpoints between cached and uncached tasks
• Local non-cached tasks execute in a "sandbox" context, while cached tasks don't
• I added a simple repro case as a unit test
• I unified the two cases to a common base method in base_task
• Also added a comment to hopefully key future edits to use the shared code path
Tracking Issue
NA
Follow-up issue
NA
flyteorg/flytekit
Codecov: 69.45% (-0.02%) compared to 47ac6ac
✅ 29 other checks have passed
29/30 successful checks