Skip to content

Resolve #4192: Skip native Mongoose delegation for pre-aborted requests - #4319

Merged
ayden94 merged 4 commits into
mainfrom
issue-4192
Nov 26, 2026
Merged

ayden94 merged 4 commits into
mainfrom
issue-4192

Conversation

@ayden94

@ayden94 ayden94 commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #4192.

Reject pre-aborted top-level Mongoose request transactions before native delegation begins.

Changes

  • Use the existing AbortError normalization without native delegation or application callback for an already-aborted signal.
  • Keep existing late-cancellation, cleanup and nested-request behavior.
  • Add a Mongoose patch Changeset and a native-invocation regression.

Testing

  • Exact-head Mongoose build, package tests, typecheck, lint, governance and stable Changeset checks passed.

  • Previous-head regression failed because native delegation ran once; the same focused test passed after the fix and remained unchanged through sibling merges.

  • Integrated built probe confirmed zero native/application callbacks and zero active counts with Error and non-Error reasons.

  • Original concurrent pnpm test:node: 1,754 passed, 0 failed, 1 skipped; the optional packed consumer remains remote CI.

  • Exact-head review axes: contract, code, and verification. No axis omitted.

  • Full local CI was not run; the canonical remote workflow verifies the exact PR head.

Release impact

  • Consumer-visible change covered by a patch Changeset for @fluojs/mongoose.
  • No consumer-visible release impact.

Public export documentation

No public export signatures were added or changed. Existing API documentation remains applicable.

Behavioral contract

The approved transaction behavior is covered by deterministic regression tests. Existing native ownership, rollback contract, and unrelated entry points remain in scope only for preservation.

Platform consistency governance (SSOT)

Platform governance checks passed; this PR adds no new platform conformance claim.

@ayden94
ayden94 merged commit 7c30207 into main Nov 26, 2026
8 checks passed
@ayden94
ayden94 deleted the issue-4192 branch November 26, 2026 11:33
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.

[mongoose] 예약 전에 취소된 위임 요청은 네이티브 작업 시작 전 거부

1 participant