Skip to content

CI probe: leaf isDomainError only (do not merge) - #313

Closed
lukas-grigis wants to merge 2 commits into
mainfrom
probe-leaf
Closed

CI probe: leaf isDomainError only (do not merge)#313
lukas-grigis wants to merge 2 commits into
mainfrom
probe-leaf

Conversation

@lukas-grigis

Copy link
Copy Markdown
Owner

Bisect probe for the #311 per-card-toggle CI failure: main + #293 commits only.

https://claude.ai/code/session_01PHikH4LdejozJdjzTzhPes

- assert non-ENOENT/ENOTDIR stat failures surface as ErrorCode.Storage (subCode io), not the raw errno
- raw errno preserved on .cause; exercised via a real self-referential .git symlink (ELOOP), no fs mocks

Claude-Session: https://claude.ai/code/session_01PHikH4LdejozJdjzTzhPes
…293)

- isDomainError now checks exact ErrorCode membership, not 'Error with a string code'
- errno throws (EACCES, ELOOP) re-propagate to the runner's containment boundary; trade-off: the synthesized failure names the root element, not the leaf
- compile-time fence: Exclude<DomainError['code'], ErrorCode> must stay never
- AbortError handling unchanged

Claude-Session: https://claude.ai/code/session_01PHikH4LdejozJdjzTzhPes
@lukas-grigis

Copy link
Copy Markdown
Owner Author

Probe done — #293 leaf change exonerated.

@lukas-grigis
lukas-grigis deleted the probe-leaf branch August 19, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant