Skip to content

Add restartable dev server lifecycle - #458

Draft
chaptersix wants to merge 1 commit into
temporalio:mainfrom
chaptersix:mix-brain-restart
Draft

Add restartable dev server lifecycle#458
chaptersix wants to merge 1 commit into
temporalio:mainfrom
chaptersix:mix-brain-restart

Conversation

@chaptersix

Copy link
Copy Markdown
Contributor

Summary

  • allow callers to supply and preserve a complete dev-server port allocation
  • add a serialized Server.Restart lifecycle that reuses the built binary, configuration, work directory, ports, and output writer
  • keep Stop final and idempotent while handling restart failures and cancellation cleanly

Test plan

  • go test ./devserver
  • go test -race ./devserver
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant