Repository navigation
Read gzip-compressed App output - #15
Merged
Merged
Conversation
MoveApps hands the cargo-agent a path without a file extension, so pandas cannot infer the compression from the file name. Determine it from the first two bytes and pass it to pandas explicitly. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Apps on Python SDK v3 write their output gzip-compressed. Without this the analysis raises, the event handler falls back to the void analyzer, and every Python App reports empty statistics instead of an error. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
cleemansen
force-pushed
the
feature/gzip-aware-pickle-read
branch
from
July 30, 2026 09:58
6b1b3ed to
15fc353
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Python SDK v3 writes App output as a gzip-compressed pickle. MoveApps hands the
cargo-agent an extension-less path (
/tmp/output_file), so pandas cannot inferthe compression from the file name — it is determined from the first two bytes
instead.
Uncompressed output stays readable: Apps built against an earlier SDK keep
writing plain pickles, and their stored output can still reach the agent.
Without this change the read raises, the event handler falls back to the void
analyzer as designed, and every Python App would report empty statistics rather
than an error.
Release as
v2.2.0— the agent only gains an ability, nothing breaks.