mirror of
https://github.com/morluto/rea
synced 2026-10-27 06:33:32 -04:00
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:
@@ -22,7 +22,7 @@ import {
|
||||
javaScriptSourceSelectionSchema,
|
||||
} from "./javascriptSourceSelection.js";
|
||||
|
||||
const countSchema = z.number().int().min(0);
|
||||
const countSchema = z.int().min(0);
|
||||
|
||||
/** Public target-free request for static JavaScript application analysis. */
|
||||
export const analyzeJavaScriptApplicationInputSchema = z.strictObject({
|
||||
|
||||
Reference in New Issue
Block a user