FAILURE MAP
← Case archive

FA-7816 / Connection lifecycle / Open access

Alt service expiration does not extend on unsuccessful use · case 01

Alt service expiration does not extend on unsuccessful use.

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

ROOT CAUSE

The faulty implementation uses `now+lifetime` for the alt-service-expiration-does-not-extend-on-unsuccessful-use decision.

THE FAILURE

The faulty implementation uses `now+lifetime` for the alt-service-expiration-does-not-extend-on-unsuccessful-use decision.

Unsuccessful approach: The attempted repair uses `expiry` and still violates a separate fixture.

Case contract

Bounded offline decision model: alt service expiration does not extend on unsuccessful use. Inputs are already validated protocol fields; the explicit fixtures define the supported policy, not a complete protocol implementation.

Why this case matters

This deterministic connection lifecycle model isolates the alt-service-expiration-does-not-extend-on-unsuccessful-use 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(expiry, now, lifetime, success):
    return now+lifetime
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
_fixtures = ["check('fixture 1', solve(10, 8, 20, False), 10)", "check('fixture 2', solve(10, 8, 20, True), 28)", "check('fixture 3', solve(0, 0, 0, True), 0)", "check('fixture 4', solve(5, 7, 1, False), 5)"]
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 22828Passed
fixture 300Passed
fixture 485Failed
fixture 12810Failed

SHA-256 / 998415dde6e3c82748a4eeaf3931fde082a73ea4db275cbff21a2b4ed345908c

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(expiry, now, lifetime, success):
    return expiry
def check(label, actual, expected):
    observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
_fixtures = ["check('fixture 1', solve(10, 8, 20, False), 10)", "check('fixture 2', solve(10, 8, 20, True), 28)", "check('fixture 3', solve(0, 0, 0, True), 0)", "check('fixture 4', solve(5, 7, 1, False), 5)"]
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 21028Failed
fixture 300Passed
fixture 455Passed
fixture 11010Passed

SHA-256 / 734778f86a0436accac961b49e26545e4bb09baca1f1c1ae00ada1bb16c3000c

HELD IN THE MEMBER ARCHIVE

The verified repair and its recorded checks are member-only.

This mechanism has 4 recorded checks per implementation. The open-access tier publishes the failure and the unsuccessful fix; the repaired source that passes every check, and the observations that prove it, are available to members.

Every case sharing this mechanism uses the same contract and the same repair, so this one record is held back for all of them.

Member access is invitation-based. Sign in with your invited account to inspect the repair.

Sign in to the archive ↗

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:15.525460+00:00.

Case digest / 7fa2f27dd820a561faacc190b3170651ba285761c727fbdd00c87e1f2e116f89