# Handle session restart failures without dropping active thread session · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/commit/f9e6d1290d56f5ae63f63cca4fdd231090d79a39)

Repository: [gitcafe/t3code](https://git.cafe/gitcafe/t3code)

Visibility: public

Requested revision: f9e6d1290d56f5ae63f63cca4fdd231090d79a39

Requested commit: f9e6d1290d56f5ae63f63cca4fdd231090d79a39

Commit: f9e6d1290d56f5ae63f63cca4fdd231090d79a39

Tree: 887a9a9e4d37976af20e373afd2f516d58057bda

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Handle session restart failures without dropping active thread session

- Reorder restart flow to bind the new provider session before stopping the old one
- Log (and swallow) stop-session failures for superseded sessions
- Add regression test ensuring failed restart does not stop the active session

```

## Parents

- [8ef653fcc0270855a7e39140664e584083e759b4](https://git.cafe/gitcafe/t3code/commit/8ef653fcc0270855a7e39140664e584083e759b4?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/t3code/tree/f9e6d1290d56f5ae63f63cca4fdd231090d79a39?format=markdown)
