A hook left running in the background is now flagged as backgrounded instead of looking finished.
What's wrong with this entry?
A hook that is detected as async and allowed to keep running now reports backgrounded: true alongside its stdout, stderr and exit status, so a hook left running is distinguishable from one that finished.
- When sync execution is forced, the hook is waited on to completion instead and logs that it is doing so.
Hooks: Detected async hook but forceSyncExecution is true, waiting for completion
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
SessionEnd hooks lose the
bypass_permissions_disabledreasonBoth mention hook
-
v2.1.236
Hooks and Ctrl-C go quiet once shutdown has started
Both mention hook
-
v2.1.236
Shutdown seals transcript writes and gives SessionEnd hooks more time
Both mention hook