Skip to content

Allow explicit supervised worker state - #7

Merged
samuel-williams-shopify merged 2 commits into
mainfrom
explicit-worker-state
Jul 23, 2026
Merged

Allow explicit supervised worker state#7
samuel-williams-shopify merged 2 commits into
mainfrom
explicit-worker-state

Conversation

@samuel-williams-shopify

@samuel-williams-shopify samuel-williams-shopify commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Allow supervisor_worker and prepare! to receive explicit worker state.
  • Preserve the existing lazily evaluated state as the default.
  • Cover registration of caller-supplied runtime state.

This provides the runtime-state handoff needed by post-bind integrations such as socketry/async-service-supervisor-envoy#1 and socketry/falcon#356.

Testing

  • bundle exec bake test (61 tests, 180 assertions)
  • bundle exec rubocop
  • bundle exec bake decode:index:coverage lib (98/98 definitions)

@samuel-williams-shopify
samuel-williams-shopify merged commit 79f6eab into main Jul 23, 2026
34 of 40 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the explicit-worker-state branch July 23, 2026 23:29
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