Repository navigation
spec(042): per-decision parallel requests in the service configuration (3.5.4, 3.15) - #414
Conversation
AI review (no-findings)The diff adds Reviewing for concrete defects:
No concrete defects found. {"head": "e70baed88eb62cd4d71502bd79d5eb3603f6a440", "verdict": "no-findings", "findings": []}Subject: d2a496f...e70baed, diff digest 6972c46d5c16ef00e423783eef842458ec6bf800a7ca0adb68cab989f9b05143, 1 call(s). An AI comment is not an approval. |
e70baed to
db9b207
Compare
AI review (no-findings)The diff adds Reviewing for concrete defects: Digest/identity claim: The spec states "A configuration without it keeps its configuration digest; one that states it, 1 included, is a different configuration." This distinguishes omitted-field identity from explicitly-stated identity even when the semantic value is identical. This is consistent with a content-hash approach and constitution principle IV (byte-identical output for identical inputs), and is explicitly documented rather than implicit — no defect. Range specification: 1 to 65,536 (2^16). The minimum of 1 is consistent with "absent, it is 1" default. The refused-whole rule in 3.8 covers out-of-range values. No defect. Cross-reference to spec 003 3.4.2: The existing text already references "spec 003 3.4" for per-backend concurrency; adding "3.4.2" for the sub-item is consistent with that existing citation style. I cannot verify the sub-section numbering of spec 003 from the supplied context, but I am not given grounds to call it invalid. Section 3.8 enumeration: The parenthetical No concrete defects found. {"head": "db9b20779325421fe6f5425008aa7f74db4d8b4a", "verdict": "no-findings", "findings": []}Subject: b258132...db9b207, diff digest 4268d2fe612e12a2086d359954318cad1bc8cfb570e01a86fec0f8bed3b98665, 1 call(s). An AI comment is not an approval. |
Amends approved spec 042, sections 3.5.4 and 3.15. The owner ratifies it before it is implemented.
Why
The approved text makes the runtime's bounds configuration but names no member for per-decision parallelism. 3.5.4 says: "
max_in_flight,max_queuedand the per-backend concurrency of spec 003 3.4 are configuration." 3.15 saysrustev.serve-config/1holds "limits; runtime configuration". So the service runs every decision with one request in progress (spec 003 3.4.2'smax_parallel_requests= 1).Five runtime golden cases of the shared suite (
runtime.admission,runtime.cancel,runtime.cancel-stop,runtime.deadline,runtime.retry) setmax_parallel_requests: 3. The service can't express their configuration, so it can't meet 3.17.1: "runs every golden case: the response's judgment bytes and the run record bytes the sink receives must equal the case's expected bytes under spec 027 3.12.3's comparison."The amendment
max_parallel_requests(the requests in progress within one decision, spec 003 3.4.2) joins the runtime bounds that are configuration.max_in_flightandper_backend_concurrency.After ratification
In order:
RuntimeConfig.max_parallel_requests, its schema and TypeScript types.serve-httpandserve-grpcunder the test clock (3.17.1).Alternatives the owner may prefer
max_semantic_requestsceiling.