Defer aggregate memory controls in HTTP maintenance mode
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Audit Remediation Discussion
|
# Audit Remediation Discussion
|
||||||
|
|
||||||
Created 2026-11-24; updated 2026-11-25. Status: topics 1–4 accepted; remaining
|
Created 2026-11-24; updated 2026-11-25. Status: topics 1–5 accepted; remaining
|
||||||
topics pending discussion. No remediation implementation is recorded yet.
|
topics pending discussion. No remediation implementation is recorded yet.
|
||||||
|
|
||||||
This document gives maintainers an ordered agenda for working through the
|
This document gives maintainers an ordered agenda for working through the
|
||||||
@@ -41,7 +41,7 @@ are proposals, not authorization to introduce new behavior.
|
|||||||
| 2. Strengthen existing behavioral protection | 4, 7, 9–13 | Accepted 2026-11-25: strengthen tests at application boundaries, consolidate redundant scenarios, and remove incidental assertions without new runtime requirements. |
|
| 2. Strengthen existing behavioral protection | 4, 7, 9–13 | Accepted 2026-11-25: strengthen tests at application boundaries, consolidate redundant scenarios, and remove incidental assertions without new runtime requirements. |
|
||||||
| 3. Improve startup diagnostics at the owning boundary | 8 | Accepted 2026-11-25: native explanations for listener failures, upstream-owned capture diagnostics, and independent delivery of the two improvements. |
|
| 3. Improve startup diagnostics at the owning boundary | 8 | Accepted 2026-11-25: native explanations for listener failures, upstream-owned capture diagnostics, and independent delivery of the two improvements. |
|
||||||
| 4. Select HTTP connection-lifetime policy | 5 | Accepted 2026-11-25: retain existing transport behavior for trusted hosts on a trusted network; defer new timeout controls and impose no gateway requirement. |
|
| 4. Select HTTP connection-lifetime policy | 5 | Accepted 2026-11-25: retain existing transport behavior for trusted hosts on a trusted network; defer new timeout controls and impose no gateway requirement. |
|
||||||
| 5. Establish whether additional memory controls are needed | 6 | Pending |
|
| 5. Establish whether additional memory controls are needed | 6 | Accepted 2026-11-25: retain existing limits and document the known aggregate-memory limitation; additional controls are deferred. |
|
||||||
| 6. Select proportionate local cleanup | 14, 15, 17 | Pending |
|
| 6. Select proportionate local cleanup | 14, 15, 17 | Pending |
|
||||||
| 7. Decide whether to move HTTP report ownership | 16 | Pending |
|
| 7. Decide whether to move HTTP report ownership | 16 | Pending |
|
||||||
|
|
||||||
@@ -144,25 +144,19 @@ change.
|
|||||||
|
|
||||||
## 5. Establish Whether Additional Memory Controls Are Needed
|
## 5. Establish Whether Additional Memory Controls Are Needed
|
||||||
|
|
||||||
[Catalog entry 6](catalog.md#6-per-file-limits-do-not-establish-an-aggregate-memory-budget)
|
**Decision — accepted 2026-11-25:** Treat
|
||||||
demonstrates a distinction between per-file and aggregate limits, not a measured
|
[catalog entry 6](catalog.md#6-per-file-limits-do-not-establish-an-aggregate-memory-budget)
|
||||||
production exhaustion problem or a need for new orchestration.
|
as a known limitation with additional controls deferred, consistent with HTTP
|
||||||
|
maintenance mode. Retain existing request, per-file, response, and backend
|
||||||
|
capacity controls.
|
||||||
|
|
||||||
**Open questions:**
|
Briefly document that those controls do not establish an aggregate memory
|
||||||
|
budget; operators size trusted workloads accordingly. The finding does not
|
||||||
1. Is the objective capacity planning, an aggregate input cap, or a stronger
|
demonstrate a broken per-file limit, incorrect backend admission, or production
|
||||||
memory guarantee?
|
exhaustion incident. Add no aggregate-input setting, request-admission layer,
|
||||||
2. Which representative workloads and deployment sizes justify additional
|
or new memory guarantee. No new benchmark project or upstream feature request
|
||||||
controls beyond existing file and backend limits?
|
is warranted at this stage. Reconsider only if actual workloads expose a problem
|
||||||
3. If acquisition limits are warranted, what belongs in PromptKit rather than
|
or HTTP's operating model expands.
|
||||||
Scriptorium?
|
|
||||||
|
|
||||||
**Recommendation:** Start with representative workloads and the full resource
|
|
||||||
envelope: inputs, rendering expansion, admitted runs, output, and delivery
|
|
||||||
buffers. An aggregate input cap alone would not bound process memory. A gateway
|
|
||||||
cannot infer referenced-file bytes from request size. Prefer upstream support
|
|
||||||
for library-owned acquisition controls, and do not add a parallel admission
|
|
||||||
system or arbitrary rejection rules without an agreed requirement.
|
|
||||||
|
|
||||||
## 6. Select Proportionate Local Cleanup
|
## 6. Select Proportionate Local Cleanup
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user