Skip to content

Commit 689acc9

Browse files
committed
Fix ReleaseDriver to store task descriptions instead of Task objects
The shelve database was storing full Task objects which contain function references. This caused pickling errors when tasks were defined as local functions in tests. Storing just the description strings avoids the serialization issue while preserving all resume functionality. Also fixes the cd() context manager to use try/finally, ensuring the working directory is restored even when exceptions occur.
1 parent df91e52 commit 689acc9

File tree

1 file changed

+310
-200
lines changed

1 file changed

+310
-200
lines changed

0 commit comments

Comments
 (0)