Skip to content

Expose per-worker utilization snapshots - #10

Merged
samuel-williams-shopify merged 2 commits into
mainfrom
expose-worker-utilization
Jul 31, 2026
Merged

Expose per-worker utilization snapshots#10
samuel-williams-shopify merged 2 commits into
mainfrom
expose-worker-utilization

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

Summary

  • expose immutable per-worker utilization snapshots keyed by supervisor worker ID
  • retain supervisor state alongside each utilization reading
  • build existing service-level aggregation from the per-worker snapshot

This provides the narrow generic boundary needed for Envoy ORCA reporting without exposing shared-memory allocator internals.

Verification

  • bundle exec bake test
  • bundle exec rubocop lib/async/service/supervisor/utilization_monitor.rb test/async/service/utilization_monitor.rb
  • bundle exec bake decode:index:coverage lib

@samuel-williams-shopify
samuel-williams-shopify merged commit dd480c5 into main Jul 31, 2026
34 of 40 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the expose-worker-utilization branch July 31, 2026 22:31
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