Repository navigation
Reject trailing input across zlib codecs - #239
Merged
Merged
Conversation
noise64
marked this pull request as ready for review
November 25, 2026 22:45
noise64
marked this pull request as draft
November 25, 2026 23:31
noise64
marked this pull request as ready for review
November 26, 2026 08:13
noise64
marked this pull request as draft
November 26, 2026 12:54
noise64
marked this pull request as ready for review
November 26, 2026 13:04
vigoo
approved these changes
Nov 27, 2026
vigoo
left a comment
Contributor
There was a problem hiding this comment.
Reviewed this PR’s own delta against the refreshed #232 head. No blocking findings. The merge retains the parent’s zstd bytesWritten correction, and the trailing-input patch is unchanged from the previously reviewed delta. Native boundary checks and pinned Node fixture checks passed locally; exact-head CI passed, including the trailing-input and zstd contract runtime tests. Full WASI/QuickJS execution was verified through CI, not rerun locally.
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.
rejectGarbageAfterEndand tracks native consumption across sync/streaming inflate, raw inflate, gzip/unzip and Brotli; strict gzip rejects a second member, while zstd still accepts valid concatenated framesfinishFlushdoes not hide decoder corruption. No backend-policy or checksum-validation expansiondc2b6803through ordinary merge4c38582d, preserving zstd contracts/abort ownership, both native outcome types, both runtime tests and README qualifications; regenerates the inventory report9f3917d8reuses the shared trailing-input error helper and documents the null-message-7sentinel versus named Brotli Huffman errors; native backend/ABI, discriminator, fixtures and selections are unchanged9df36e0a(including maina57ed896and Switch node_compat to Node 26.13.1 #218df908bf7) atb9cb154f, entirely automatically. Retains upstream zstd consumed-byte accounting and its regression controls alongside the existing trailing-input semantics. Against the refreshed parent, this remains the original nine-file trailing-input slice; no manual resolution, new behavior/design decision or unrelated correction is authoredNode compatibility
Actual #232 base
9df36e0a→ headb9cb154f: runnable 3228 → 3234, known gaps 1295 → 1289; primary 3228/4523 (71.4%) → 3234/4523 (71.5%); full public 3228/9654 (33.4%) → 3234/9654 (33.5%). Zlib runnable 73 → 79, known gaps 11 → 5. Totals unchanged: 10794 overall / 324 zlib. These generated classification inventories retain the original six split-case promotions, not new selections or a new-head full-suite pass; the parent integration changes no config/report inputs. No vendored edits.Validation and limits
b9cb154f: stock optimized runtime 5 passed, configured Node zlib 79 passed / 244 ignored, builtin discovery 15 passed, report 37 passed / 1 generator ignored, zlib DTS 1 passed. All-target Clippy (-Dwarnings), all five skeleton Clippy lanes, fmt and diff checks exited 0. HEAD/tree/clean state were checked before and after every command; generated Full/Normal/compat builtin JS/native bytes match the candidate, and actual optimized Full/Normal components contain the new byte-accounting fixture. Direct integration assessment is COMPLETE/CLEAR, with raw logs, hashes and source identities inspected (nov27-239-b9cb154f-local-integration, rev3); no new model round or approval. Published head/base reconciliation is recorded in golem-review (nov27-239-b9cb154f-published-reconciliation, rev1): Team review, zero open concerns, retaining the integration waiver without a new approval or duplicate team request. Exact-head CI46006796006 completed successfully: all 28 executed validation jobs passed; publish/release-binaries and separate Proof were skipped. No source fix or rerun was needed. CI is separate from review; previous-head checks and CI below remain historical. The first local fixture attempt failed before tests because an existing build-cache symlink pointed to a reclaimed directory; diagnostic confirmedENOTDIR, and only that regenerable cache directory was recreated. Failed runs remain retained, not counted as passes9f3917d8: stock optimized runtime 5 passed, configured zlib 79 passed / 245 ignored, syntax/diff checks passed; generated full/normal/compat JS and native bytes match that source. Includes trailing-input, zstd contracts and feature-disabled controls4c38582d: discovery 15 passed, report 37 passed / 1 generator ignored, zlib DTS 1 passed, all-target build/Clippy (-Dwarnings), five skeleton Clippy lanes and formatting/dev-tool checks passed. Pinned Node 26.13.1 passed the unchanged trailing-input fixture and full upstream reject-garbage file 12/0. These were not rerun wholesale or relabeled as final-head checks9f3917d8and focused existing-reviewer adjudication. Prior mixed verdicts remain bound to4c38582d; no new full-model round or approval transfer. Raw results/fit gate retained in golem-reviewnov26-239-unpublished-integration-fitandnov26-239-integration-fit-gatenov26-239-author-self-review-r4,nov26-239-ci-expectations-repair-r1and current integration/fit evidence). No codec change was made to repair the harness failures; Cargo manifest warnings remain9f3917d8: 28 executed jobs passed;publishandrelease-binariesjobs and the separateProofcheck were skipped. CI and golem-review ran in parallel; that prior head was owner-approved and Ready for team review. This does not validate the latest integration or create a new approval. Existing conditional merge authorization remains gated on successful checks, first trusted team approval and no non-trivial conflict; no merge is requested now. No local full Node/fork sweep, Golem consumer, host durability or shipped-artifact qualification is claimed. Historical[skip ci]commits remain historical; no manual CI run