mirror of
https://github.com/morluto/rea.git
synced 2026-12-05 14:31:22 +00:00
fix(errors): vsix and pyc limit refusals state recovery from the measured requirement (#15407)
* fix(errors): let the typed limit refusal state recovery, with the measured requirement A resource constraint with a typed adjustable limit now takes its recovery from the shared refusal owner, which compares the measured requirement with the control's maximum, instead of producer prose. The VSIX and pyc providers drop their hand-built "raise X up to MAX" text. pyc string and key limits report the size the parser measured; VSIX reports its early-stop lower bound only when it already exceeds the control's maximum. Refs #15325 * fix(python): report an integer key's limit without a byte requirement it did not measure * fix(errors): keep producer-authored recovery precedence; vsix and pyc state only typed facts The global precedence change hid multi-control advice (V8) and producer-measured requirements kept in prose (Maven/Gradle). The VSIX and pyc producers no longer author prose for a single-control limit, so the shared typed recovery applies to them without changing other producers.
This commit is contained in:
1 parent
2d1748117e
commit
b211f216d8
7 files changed
+73
-31
No files matched your search
@@ -1476,7 +1476,10 @@ it("preflights expanded shared code-name keys before building their hex table",
|
||||
expect.objectContaining({
|
||||
failure: expect.objectContaining({
|
||||
kind: "limit",
|
||||
limit: { name: "max_string_bytes", maximum: 4096 },
|
||||
limit: expect.objectContaining({
|
||||
name: "max_string_bytes",
|
||||
maximum: 4096,
|
||||
}),
|
||||
}),
|
||||
message: expect.stringContaining("max_string_bytes 4096"),
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user