Files
pad/internal/server
xarmian 8b5cad8b8e fix(import): a panic after a bundle import creates its workspace takes the keep door, then re-panics (BUG-3191) (#1501)
* fix(import): a panic after a bundle import's mint takes the keep door, then re-panics (BUG-3191)

A panic after importBundle minted its workspace left retErr nil and
unwound past the handler's keep arm, the only place a failed import's
owner row is written, so the workspace stayed live, ownerless and
unnamed by chi's 500. importBundle's defer now recovers, attaches the
importer through addOwnerOrCompensate (or removes the workspace when
that fails), logs the outcome, and re-panics so the recovery middleware
answers as before.

Claude-Session: https://claude.ai/code/session_01RYiqbqXmxQMoKHsGm8B77N

* fix(import): the keep door logs the original panic stack; panic(nil) pinned; comments say what the helper does (BUG-3191, codex round 1)

Claude-Session: https://claude.ai/code/session_01RYiqbqXmxQMoKHsGm8B77N
2026-09-24 05:49:44 -04:00
..