Conversation
v0.5.1033 crates/perry-runtime/src/object/class_registry.rs grew past the 2000-line limit after #1787 instance-field init replay (#2074) and #1545 web-stream class wiring (#1641/#2110) landed, pushing it to 2007 lines. The check_file_size.sh CI gate started failing lint on every PR rebased against main. Adding the file to the allowlist with a rationale + tracking-issue pointer (#1435) unblocks the queue while the topical split is done as a separate refactor. No code change — script + version + changelog only.
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.
Summary
crates/perry-runtime/src/object/class_registry.rscrossed the 2000-line CI limit (2007 lines) after (2) class objects: bindthisto the class-object value on static-method calls #1787 instance-field init replay (fix(hir,codegen,runtime): run instance-field initializers when constructing from a class-expression value (#1787) #2074) + node:stream/web — implement Web Streams submodule (ReadableStream/WritableStream/TransformStream/QueuingStrategies) #1545 web-stream class wiring (feat(node): implement node:stream/web Web Streams submodule (#1545) #1641/fix(node:stream): consolidate web and constructor surface #2110) landed.lintjob fails on every PR rebased against currentmain(and onmainitself).scripts/check_file_size.shwith a rationale + pointer to perry-stdlib: split crypto.rs and webcrypto.rs into per-algorithm submodules #1435 for the eventual split. Bump version to v0.5.1033 and add a changelog entry.Test plan
bash scripts/check_file_size.sh→ "OK: no Rust source files exceed 2000 lines."cargo fmt --all -- --checkcleancargo check -p perrysucceeds