You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bf1592e
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(server): tighten fork model selection and its tests
`resolveForkSourceSelection` only matches candidates whose instance id
equals the source's, and the caller already proved the thread's own
selection differs, so passing it as a candidate was dead. The comment
explaining how an unstarted fork picks its instance now sits directly
above the code it describes.
Documents what each `sessionFork` mode accepts, including that omitting
the field means unsupported.
Test fixes: the fork decider cases silently passed when a command
returned the wrong event type, the projection case checked only that
fork lineage was non-null after promotion rather than what it held, the
normalizer case asserted an absent failure instead of the selection it
resolves, and the title case asserted against invented strings rather
than titles `forkThreadTitle` actually produces.
0 commit comments