FAILURE MAP
← Case archive

FA-27679 / HTTP ranges / Member archive

A remote archive reader locates the central directory from a suffix range response: a signature inside the archive comment is not accepted as the end record · case 04

A remote archive reader locates the central directory from a suffix range response: a signature inside the archive comment is not accepted as the end record.

Member previewVariant 4 · 3 implementations · 16 checks per implementation

Case contract

x has total representation length, requested suffix length and the hex bytes of the suffix response (the last min(total,suffix) bytes). Emit the suffix Range value (null when it would be zero bytes). Scan backward for the end record signature PK\x05\x06 whose little-endian comment length makes the 22-byte record plus comment end exactly at the tail end. Reject multi-disk archives (disk or directory disk nonzero, or differing entry counts) and a directory that extends past the end record. A directory starting inside the tail is ["local",tail-index,size]; otherwise request only the missing prefix before the tail as ["fetch",inclusive range]. Output [suffix-range,plan-or-null].

Why this case matters

Range responses combine representation identity, conditional requests, framing, and partial-object state.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
comment-anchored-eocd fixture 6["bytes=-80", ["fetch", "bytes=0--1"]]["bytes=-80", ["local", 0, 18]]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

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

Sign in to the archive ↗