Skip to content

🐛 fix(api): detach grouped release errors#648

Merged
gaborbernat merged 1 commit into
mainfrom
fix/631-detach-release-context
Jul 14, 2026
Merged

🐛 fix(api): detach grouped release errors#648
gaborbernat merged 1 commit into
mainfrom
fix/631-detach-release-context

Conversation

@gaborbernat

Copy link
Copy Markdown
Member

Group mode produced two leaves that were not siblings. The release leaf retained the body as implicit context. Extraction exposed the mismatch. Rendering that leaf alone showed the body chain again. This closes issue #631.

The grouping helper removes the context only when it is the exact body exception. Explicit causes, tracebacks, group order and type, chain mode, single-failure behavior, and callback rollback retain their existing contracts.

@gaborbernat gaborbernat force-pushed the fix/631-detach-release-context branch from 99df66d to 2e34dad Compare July 14, 2026 02:29
@gaborbernat gaborbernat marked this pull request as ready for review July 14, 2026 02:35
Group mode retained the body as the release leaf’s implicit context. Clear only that exact context before group construction so each leaf renders on its own while explicit causes and tracebacks remain intact.

List sibling imports in __all__ so the internal module contract matches runtime use.
@gaborbernat gaborbernat force-pushed the fix/631-detach-release-context branch from 2e34dad to 146d612 Compare July 14, 2026 02:44
@gaborbernat gaborbernat marked this pull request as draft July 14, 2026 02:44
@gaborbernat gaborbernat marked this pull request as ready for review July 14, 2026 02:48
@gaborbernat gaborbernat merged commit 8ee8e6a into main Jul 14, 2026
36 checks passed
@gaborbernat gaborbernat deleted the fix/631-detach-release-context branch July 14, 2026 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 participant