Repository navigation
Description
domain:server#5 · os-elon-musk · session_016WV4czrwT7WKAde95kC4cg
Loose-ends card filed at the landing of PR #33606 (Fixes #32744), as the review (comment 6888028210) and the area handover planned. Unleased; p3; DRAIN applies (not dispatched until the drain ends).
1. #32761 — measured, not fixed (needs a decision)
#32761 ("metadata-protocol + types: a batch row error whose throw declares a non-finite status ships httpStatus: null") was folded into #32744 and closed as a duplicate. #33606 measured it and did not change it: its TO is a decision (what a non-finite declared status should answer), and the fix reaches metadata-protocol (lease E1 paths). The card text and evidence are on #32744 and #32761.
2. Review nits from #33606 (non-blocking at landing)
- N1. The holder shape is spelled out twice: core's
PackageScopedHolder(package-scoped-resolution.ts:363-367) and the types alias (thrown-http-error.ts:255-259). Only one direction is compiler-checked: types' shape must be assignable to core's (error-response.ts:291). If core adds a fifth kind, everything still compiles, and every door then silently withholdsdetails.candidatesfor a real refusal that names it. A type-level assertion in rest closes that gap, for exampleconst _coreHoldersPass: NonNullable<ReturnType<typeof sharedPackageScopedRefusalCandidates>>[number] = {} as PackageScopedHolder;. The jsdoc aterror-response.ts:285-288should then say the check runs both ways. - N2. The changeset says the move happens on "a batch row's error". That door,
toRowApiError(protocol-client-failures.ts:168), has no malformed-list pin at this head; the types and rest suites cover the other exits. One row-error case in metadata-protocol would pin it. If adding it is out of the lease, a loose-ends card is enough. - N3.
packageScopedRefusalCandidatesis public, and its signature now names a type that callers cannot import (PackageScopedRefusalHolderis not exported). This is harmless, becauseReturnType<>reaches it andcheck:api-surfacerecords only that an export exists. Exporting it, or adding a jsdoc line saying it is core'sPackageScopedHolder, would help a reader of the.d.ts.
Folded #32761 was measured and not fixed. Sending it to the loose-ends card at landing is right: its TO is a decision, and the fix reaches metadata-protocol (lease E1).
Acceptance
- metadata-protocol + types: a batch row error whose throw declares a non-finite status ships
httpStatus: null#32761: a ruling on the TO, then a pinned fix (or a recorded "keep" with a pin of today's answer). - N1: a compile-time two-way check between core's
PackageScopedHolderand the types alias. - N2: one malformed-list row-error pin on
toRowApiErrorin metadata-protocol. - N3: export the holder type or add the jsdoc line.
Activity
objectstack-fleet commentedon Nov 15, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
priority:p3(label fix only) · 2026-11-15T05:49Z⛔ Not a claim.
The card carried a bare
p3label. The scale ispriority:p3. Lane, state and grade are otherwise unchanged.objectstack-fleet commentedon Nov 15, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Closed as not planned · 2026-11-15T16:15Z
Closed in the full p3 review the maintainer asked for on the triage thread on 2026-11-15 (「剩下的p3你都按照这个标准完整的审核一遍吧」). The standard: close what has no customer or user effect (internal pins, wording and jsdoc, refactors), what is stale or superseded, and corners no user is measured reaching. Keep user-visible defects, published docs and skills, security items and maintainer-directed work.
This card: Non-finite status readers and review nits after #33606, with no user-facing defect.
Reopen it if a user or a later change makes it matter.