perf(schema): reduce retained integer validator allocations (#4360)
Construct integer formats directly while preserving bounds, refinements, metadata and current shared schema owners. Keep Incur-dependent CLI numeric coercion declarations unchanged. Verify canonical advertisements, 126 numeric boundary cases, 974 actual CLI parser cases, broad source tests and real public-artifact SDK workflows. Record 72 normal tasks and 12 separate owned-inspector heap diagnostics with whole-family resource bounds; distinguish SDK spans and asymmetric audit overhead. Generate numerical report sections from receipts and reject stale tables through documentation conformance checks. Closes #6236. Current-head CI and Greptile pass; actionable review findings are addressed. Codex review was unavailable due repository usage limits.
This commit is contained in:
1 parent
bd5d189a8f
commit
7590b50801
182 files changed
+9562
-1329
No files matched your search
@@ -17,7 +17,7 @@ import {
|
||||
|
||||
const range =
|
||||
javaScriptSemanticNodeSchema.shape.identity.shape.source_range.unwrap();
|
||||
const count = z.number().int().nonnegative();
|
||||
const count = z.int().nonnegative();
|
||||
const strings = z.array(z.string());
|
||||
const pathContext = z.enum(["module-specifier", "filesystem-expression"]);
|
||||
const findingContext = {
|
||||
|
||||
Reference in new issue
Block a user