Skip to content

TPT-3292: support gzipped user-data decoding - #82

Open
zliang-akamai wants to merge 1 commit into
mainfrom
zhiwei/gzip-support
Open

TPT-3292: support gzipped user-data decoding#82
zliang-akamai wants to merge 1 commit into
mainfrom
zhiwei/gzip-support

Conversation

@zliang-akamai

Copy link
Copy Markdown
Member

📝 Description

Add support for gzipped user-data decoding.

✔️ How to Test

make unit-test

@zliang-akamai
zliang-akamai requested review from a team as code owners July 31, 2026 19:38
@zliang-akamai
zliang-akamai requested review from jbilskiAkam and psnoch-akamai and removed request for a team July 31, 2026 19:38
@zliang-akamai zliang-akamai changed the title feat: support gzipped user-data decoding TPT-3292: support gzipped user-data decoding Jul 31, 2026
@zliang-akamai
zliang-akamai requested review from a team and yec-akamai and a balanced review from Copilot and removed request for a team and jbilskiAkam August 25, 2026 21:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds transparent gzip decompression for base64-encoded user data.

Changes:

  • Detects and decompresses gzip payloads.
  • Reuses decoding for synchronous and asynchronous clients.
  • Adds tests for plain and gzipped data.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
linode_metadata/metadata_client.py Implements gzip-aware user-data decoding.
test/unit/test_user_data.py Tests plain and gzip decoding.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

3 participants