FAILURE MAP
← Case archive

FA-7526 / Multiplexed protocols / Open access

Http2 goaway retry only streams above last processed id · case 01

Http2 goaway retry only streams above last processed id.

Verified by executionVariant 1 · 4 checks per implementationDownload source bundle ↓JSON ↗

ROOT CAUSE

The faulty implementation uses `[s for s,local,replayable in streams if s >= last and local and replayable]` for the http2-goaway-retry-only-streams-above-last-processed-id decision.

VERIFIED REPAIR

Apply the explicit http2-goaway-retry-only-streams-above-last-processed-id contract, including the tested boundary and negative cases.

Unsuccessful approach: The attempted repair uses `[s for s,local,replayable in streams if s > last]` and still violates a separate fixture.

Case contract

Given streams, last, http2 goaway retry only streams above last processed id. Return the protocol decision or transformed value; fields are validated and fixtures state boundary outcomes.

Why this case matters

This deterministic multiplexed protocols model isolates the http2-goaway-retry-only-streams-above-last-processed-id policy at a network component boundary.

1 / The failure

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json
import ipaddress
import re
from urllib.parse import urlsplit, urljoin
N = 1
observations = []
def solve(streams, last):
    return [s for s,local,replayable in streams if s >= last and local and replayable]
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
_fixtures = ["check('fixture 1', solve([(3, True, True), (5, True, True)], 3), [5])", "check('fixture 2', solve([(5, False, True), (7, True, False)], 3), [])", "check('fixture 3', solve([], 0), [])", "check('fixture 4', solve([(1, True, True)], 0), [1])"]
for _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:
    exec(_line)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
fixture 2[][]Passed
fixture 3[][]Passed
fixture 4[1][1]Passed
fixture 1[3, 5][5]Failed

SHA-256 / f5f21ac75d9245e7cd01e050187cbb6bd2e764ded085b72642a7d8413d994e62

2 / The unsuccessful fix

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json
import ipaddress
import re
from urllib.parse import urlsplit, urljoin
N = 1
observations = []
def solve(streams, last):
    return [s for s,local,replayable in streams if s > last]
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
_fixtures = ["check('fixture 1', solve([(3, True, True), (5, True, True)], 3), [5])", "check('fixture 2', solve([(5, False, True), (7, True, False)], 3), [])", "check('fixture 3', solve([], 0), [])", "check('fixture 4', solve([(1, True, True)], 0), [1])"]
for _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:
    exec(_line)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
fixture 2[5, 7][]Failed
fixture 3[][]Passed
fixture 4[1][1]Passed
fixture 1[5][5]Passed

SHA-256 / b269213990b69a369ce598e6ec02733edbde225f4e8d657965310e994ef70d64

3 / The verified repair

Exit 0
"""Failure Map reference implementation. Python standard library only."""
import json
import ipaddress
import re
from urllib.parse import urlsplit, urljoin
N = 1
observations = []
def solve(streams, last):
    return [s for s,local,replayable in streams if s > last and local and replayable]
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
_fixtures = ["check('fixture 1', solve([(3, True, True), (5, True, True)], 3), [5])", "check('fixture 2', solve([(5, False, True), (7, True, False)], 3), [])", "check('fixture 3', solve([], 0), [])", "check('fixture 4', solve([(1, True, True)], 0), [1])"]
for _line in _fixtures[N % len(_fixtures):] + _fixtures[:N % len(_fixtures)]:
    exec(_line)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
fixture 2[][]Passed
fixture 3[][]Passed
fixture 4[1][1]Passed
fixture 1[5][5]Passed

SHA-256 / acec209995bbae514b9fe25566a240bf27f9ef98afb15cf4c6e19d545a94e2c1

Verification & scope

Bounded deterministic policy model over validated inputs; not a complete protocol stack or an interoperability claim. The five variants rotate the same explicit fixture set. This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.

Observations recorded using Python 3.12.14 at 2026-09-29T14:38:12.908833+00:00.

Case digest / c2558fb4d20a26aa010b94656e083cf662c60b1e636205c7eb5b93d1dc518b49