You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
apple plist parse reasons are documented but never reach the wire #4992
APPLE_PLIST_PARSE_REASONS is published as a ReasonTable, so website/docs/docs/error-reasons.md lists apple_plist_malformed and apple_plist_unsupported_type under error.details.reason. ApplePlistParseError is a plain Error carrying a reason field. normalizeError wraps it as UNKNOWN with no details, so on the routes that reach it — plugin-host parsePlist and the Limrun log reader — neither reason reaches the wire. The docs promise a reason a caller cannot observe.
Required behavior
Pick one and make the docs match it:
Throw AppError(code, message, { reason }) where the parse crosses a caller boundary, so the reason survives normalizeError, or
Drop the table, the .reason field, and the two error-reasons.md rows, keeping the error type and message only.
Completion conditions
error-reasons.md lists a reason only if a caller can observe it on the wire.
A test asserts the observable shape on at least the Limrun readInfoPlist route.
The report identifies a mismatch between documented observable error reasons and actual behavior: normalizeError wraps ApplePlistParseError as UNKNOWN with no details, so listed reasons do not reach the wire. It includes concrete routes, required behavior, and acceptance criteria.
Activity
apex-sentinel-staging commentedon Nov 22, 2026
Apex Sentinel · Issue review
Suggested label:
bugThe report identifies a mismatch between documented observable error reasons and actual behavior: normalizeError wraps ApplePlistParseError as UNKNOWN with no details, so listed reasons do not reach the wire. It includes concrete routes, required behavior, and acceptance criteria.
Required sections
fix(apple): carry plist parse reasons onto the wire (#5056)
fix(apple): carry plist parse reasons onto the wire (#5056)