Skip to content

Annotate Task.load() error with task name and hash#92

Merged
luispedro merged 1 commit into
luispedro:mainfrom
justinrporter:main
Jun 6, 2026
Merged

Annotate Task.load() error with task name and hash#92
luispedro merged 1 commit into
luispedro:mainfrom
justinrporter:main

Conversation

@justinrporter

Copy link
Copy Markdown
Contributor

I had an issue with one of my pipelines where task outputs became corrupted somehow. The error message didn't specify the task hash, making it difficult to find and surgically recompute the relevant tasks.

The "fix" was just to add a try/catch around the load and add an error message to specifically print the offending task hash and file path for manual removal.

When a result file is corrupt (e.g. zlib decompression failure), the
error now includes the task name and a truncated hash so the failing
task can be identified.
@luispedro

Copy link
Copy Markdown
Owner

Thank you! Luis

@luispedro luispedro merged commit ed0e20f into luispedro:main Jun 6, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants