Skip to content

Use async-utilization segment store - #13

Merged
samuel-williams-shopify merged 4 commits into
mainfrom
use-utilization-segment-allocator
Aug 21, 2026
Merged

Use async-utilization segment store#13
samuel-williams-shopify merged 4 commits into
mainfrom
use-utilization-segment-allocator

Conversation

@samuel-williams-shopify

@samuel-williams-shopify samuel-williams-shopify commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace the nested UtilizationMonitor::SegmentAllocator implementation with Async::Utilization::SegmentStore
  • preserve restart-safe backing-file replacement by passing replace: true
  • retain the old nested SegmentAllocator constant as a deprecated compatibility alias
  • move the store-specific restart test to async-utilization while retaining the supervisor end-to-end resize regression
  • require the released async-utilization ~> 0.5

Dependency

Uses async-utilization 0.5.0, which contains the new Async::Utilization::SegmentStore API.

Verification

Validated against the released async-utilization 0.5.0 without local load-path overrides:

  • sus (68 tests, 212 assertions)
  • rubocop (61 files, no offenses)
  • documentation coverage (91/91 public definitions)
  • test coverage generated successfully (89.61%)
  • runtime confirmed segment_store.rb was loaded from the installed async-utilization-0.5.0 gem
  • git diff --check

The refreshed dependency-sensitive CI jobs pass. The repository coverage threshold and TruffleRuby jobs also fail on the current main branch and are unrelated to this extraction.

Signed-off-by: Samuel Williams <samuel.williams@shopify.com>
Assisted-By: devx/fec6efe0-6bff-4a9e-a7a1-de183807a581
Signed-off-by: Samuel Williams <samuel.williams@shopify.com>
Assisted-By: devx/fec6efe0-6bff-4a9e-a7a1-de183807a581
Signed-off-by: Samuel Williams <samuel.williams@shopify.com>
Assisted-By: devx/fec6efe0-6bff-4a9e-a7a1-de183807a581
@samuel-williams-shopify samuel-williams-shopify changed the title Use async-utilization segment allocator Use async-utilization segment store Aug 20, 2026
@samuel-williams-shopify
samuel-williams-shopify marked this pull request as ready for review August 21, 2026 00:11
Assisted-By: devx/fec6efe0-6bff-4a9e-a7a1-de183807a581
@samuel-williams-shopify
samuel-williams-shopify merged commit 275d5e4 into main Aug 21, 2026
34 of 40 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the use-utilization-segment-allocator branch August 21, 2026 00:49
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