Skip to content

Comments

On error the encoder/decoder now emit everything it was able to decode.#454

Merged
NobodyXu merged 1 commit intoNullus157:mainfrom
orium:gzip-do-not-swallow-on-missing-footer
Feb 24, 2026
Merged

On error the encoder/decoder now emit everything it was able to decode.#454
NobodyXu merged 1 commit intoNullus157:mainfrom
orium:gzip-do-not-swallow-on-missing-footer

Conversation

@orium
Copy link
Contributor

@orium orium commented Feb 10, 2026

Before this we would return the error and whatever we had in our encode/decoded output buffer would be swallowed.

@orium orium force-pushed the gzip-do-not-swallow-on-missing-footer branch from 98d2873 to 31a4e72 Compare February 10, 2026 14:39
@orium orium changed the title On error the decoder now emits everything it was able to decode. [WIP] On error the decoder now emits everything it was able to decode. Feb 10, 2026
@orium orium changed the title [WIP] On error the decoder now emits everything it was able to decode. On error the decoder now emits everything it was able to decode. Feb 11, 2026
@orium orium marked this pull request as draft February 11, 2026 18:02
@orium orium force-pushed the gzip-do-not-swallow-on-missing-footer branch from 31a4e72 to 8fde492 Compare February 12, 2026 17:16
@orium
Copy link
Contributor Author

orium commented Feb 12, 2026

Blocked on #456.

@orium orium force-pushed the gzip-do-not-swallow-on-missing-footer branch from 8fde492 to e1aeab3 Compare February 13, 2026 16:21
@orium orium changed the title On error the decoder now emits everything it was able to decode. On error the encoder/decoder now emit everything it was able to decode. Feb 13, 2026
…e/decode.

Before this we would return the error and whatever we had in our encode/decoded
output buffer would be swallowed.

Fixes Nullus157#453.
@orium orium force-pushed the gzip-do-not-swallow-on-missing-footer branch from e1aeab3 to 3ccadbe Compare February 18, 2026 12:11
@orium orium marked this pull request as ready for review February 18, 2026 12:12
@orium
Copy link
Contributor Author

orium commented Feb 18, 2026

Rebased on main. Ready for review @NobodyXu.

@NobodyXu NobodyXu requested a review from robjtede February 18, 2026 15:23
Copy link
Collaborator

@NobodyXu NobodyXu left a comment

Choose a reason for hiding this comment

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

Thank you, LGTM

cc @robjtede

@orium
Copy link
Contributor Author

orium commented Feb 20, 2026

Hi @robjtede, can you take a look at this one as well please?

@orium
Copy link
Contributor Author

orium commented Feb 24, 2026

@NobodyXu Is there anyone else that can review so this can land?

@NobodyXu NobodyXu added this pull request to the merge queue Feb 24, 2026
@NobodyXu
Copy link
Collaborator

@NobodyXu Is there anyone else that can review so this can land?

Well I was just being careful as last time I land a PR which turns out to be have some issues

I looked at this PR again and is very sure it is good, so I'd merge it and cut a release

Merged via the queue into Nullus157:main with commit c39c621 Feb 24, 2026
46 checks passed
@codecov
Copy link

codecov bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (9df508b) to head (3ccadbe).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff     @@
##   main   #454   +/-   ##
===========================
===========================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@orium
Copy link
Contributor Author

orium commented Feb 24, 2026

Thank you!

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