Skip to content

fix(artifacts): preserve bundle and extraction failures on abort - #9649

Merged
morluto merged 4 commits into
mainfrom
audit/dotnet-extraction-df
Nov 9, 2026
Merged

morluto merged 4 commits into
mainfrom
audit/dotnet-extraction-df

Conversation

@morluto

@morluto morluto commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Summary

.NET bundle marker, manifest and member reads could replace a physical failure with cancellation when the caller aborted during the rejected read. Extraction source lookup likewise hid an actual changed-path failure if abort arrived during the non-abortable lookup.

Use the existing artifact chunk reader to produce tagged cancellation at the descriptor boundary, remove the downstream signal-based reinterpretation, and check cancellation after successful manifest reads. Preserve physical failures and their causes. Extraction now checks cancellation after successful source lookup and preserves actual lookup failures. iNES also reuses the same existing chunk owner instead of a local cancellation callback. No resource ownership or format limits change.

Validation and scope

Controlled real-descriptor regressions reproduced physical failure plus abort at the marker scan and member stream; the manifest rejection control now asserts its original failure instead of expecting cancellation. A completed-read control retains the caller's opaque cancellation reason. A real-filesystem extraction regression reproduced ENOTDIR being hidden after the inventoried parent became a file, with controls for no abort and successful lookup followed by abort. After merging main, all 69 tests across five .NET, iNES, extraction and caller-path suites passed under Node 24.22.1, plus typecheck, scoped formatting and diff checks.

No .NET target execution or runtime-provider qualification. The separate iNES pre-admission open catch remains a candidate requiring producer-level verification and was not changed. Existing local read-error repair; no new authority, provider, dependency, installer, public schema or generated metadata. Maintainer scope decision is not applicable.

Author readiness

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-09T13:13:50.780542Z 72370f0 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@morluto
morluto merged commit a344650 into main Nov 9, 2026
7 checks passed
@morluto
morluto deleted the audit/dotnet-extraction-df branch November 9, 2026 13:14
@morluto morluto added area: evidence Evidence, artifacts, and reconstruction bug Something isn't working labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: evidence Evidence, artifacts, and reconstruction bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant