Repository navigation
fix(config): remove redundant caller-budget limit alias - #8045
Closed
wunianze666-netizen wants to merge 1 commit into
Closed
wunianze666-netizen wants to merge 1 commit into
wunianze666-netizen wants to merge 1 commit into
Conversation
Contributor
[Low impact] This cleanup appears safe to merge; it preserves existing behavior. SummaryRemoves the redundant caller-scan limit alias and switches its consumer and tests to
Reviews (1) · Last reviewed commit: "fix(config): remove redundant caller-bud..." · Reviewed by Greptile |
7 of 22 tasks
SII-YDD
added a commit
to SII-YDD/rea
that referenced
this pull request
Oct 30, 2026
Apply only the three-file patch from PR morluto#8045 as a CI prerequisite for morluto#7716. Implementation credit remains with its original author. Original-commit: 96a8021 Co-authored-by: wunianze666-netizen <[email protected]>
3 tasks
This was referenced Oct 30, 2026
This was referenced Oct 30, 2026
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
Remove the redundant Hopper caller-scan ceiling alias that makes
npm run knipfail on frozen mainbf115be2cd900724a5bbd59a5cefc7af1dc2576f. The budget record and recovery guidance now read the existing shared maximum directly.Problem and expected behavior
Knip reports one duplicate export:
MAX_PROVIDER_STARTUP_TIMEOUT_MS|MAXIMUM_HOPPER_CALLER_SCAN_BUDGET_MS. This was independently reproduced on the unmodified baseline while validating #8043; the fix belongs in this separate PR. No existing issue was found for that exact alias.The configuration record, its recovery guidance and the analysis-setting admission already use the same signed 32-bit timer boundary, 2,147,483,647 ms. Remove the duplicate name without changing that value, the 2,000 ms default, the 1 ms minimum, or the fixed byte allowances.
Change and scope
Three files: remove the alias from the domain limits owner, migrate its configuration consumer, and retain the existing tests against the shared constant. Runtime registration, JavaScript verifiers, bridge scripts, tests and packaged entrypoints were searched before removal; no other consumers were found. This is an internal import, with no package export or persisted name to migrate.
Contract and boundary impact
analysisResourceLimits.ts; the budget metadata consumer uses its existing maximum.Expected effects:
The changed path computes an existing configuration record and explanatory text; it acquires no target resources.
Evidence and regression coverage
The unmodified baseline fails
npm run knipwith the duplicate export above. The existing two caller-budget tests verify default/explicit-setting metadata, setup forwarding, recovery bounds and fixed-allowance guidance; both pass after migrating the import. No additional test duplicates the import implementation.Validation performed
npm run test:local -- src/config/hopperCallerScanBudget.test.ts— 2 passed.npm run check— six Turbo tasks passed (one cached), including typecheck, lint/module boundaries, format, Knip and metadata/compile. Architecture guards passed across 2,251 source files; production reachability completed with 29 advisory candidates. The command as a whole did not finish: its final typed-lint family was stopped after roughly six minutes and a roughly 4.8 GB working-set observation. No typed-lint pass or product failure is inferred from that interrupted check.Current-head CI 40918809903 completed successfully: 39 jobs, 20 success / 19 optional skips. The selected source raw log checked out
9236e74131004177e002664eb4687f55de9836df, parentsc0c39022+96a80217, treeca6aa92eb2f187a95412847d850a20758447c12b. Source: 21,990 passed / 16 skipped, including the two caller-budget controls. Deep static checks were skipped; this CI result does not turn the interrupted local typed-lint command into a pass or establish real Hopper execution.Compatibility, safety, and release
No breaking behavior or migration. The admitted range, returned values and recovery text remain the same. No package, provider launch, target mutation, new budget or performance claim.
Author readiness
Human owner: @wunianze666-netizen
Before merge
type(scope): outcome.The unchecked CLI/MCP output item is not applicable: this preserves existing output.