Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
02ce566
Add scoped signal handling.
samuel-williams-shopify Jun 27, 2026
ded924c
Integrate controller events with child waits.
samuel-williams-shopify Jun 27, 2026
48a4ff8
Apply RuboCop formatting.
samuel-williams-shopify Jun 27, 2026
9e75077
Preallocate signal trap events.
samuel-williams-shopify Jun 27, 2026
db74350
Use controller events for restart waits.
samuel-williams-shopify Jun 27, 2026
76c2402
Use async-signals for controller traps.
samuel-williams-shopify Jun 27, 2026
8001225
Avoid exceptions when waking events.
samuel-williams-shopify Jun 27, 2026
187b055
Move version constant.
samuel-williams-shopify Jun 28, 2026
f7a4123
Use async-signals context for controller signals.
samuel-williams-shopify Jun 28, 2026
b6d5363
Improve controller signal coverage.
samuel-williams-shopify Jun 28, 2026
6ad1df3
Collect inherited objects after fork.
samuel-williams-shopify Jun 28, 2026
5a3f2a3
Revert "Collect inherited objects after fork."
samuel-williams-shopify Jun 28, 2026
d7a6307
Use async-signals v0.5 defaults.
samuel-williams-shopify Jun 29, 2026
46fcc00
Use graceful signal defaults.
samuel-williams-shopify Jun 29, 2026
fc315cb
Remove obsolete restart exception.
samuel-williams-shopify Jun 29, 2026
2233ea3
Restore fork child interrupt traps.
samuel-williams-shopify Jun 29, 2026
9e2150e
Run CI tests verbosely.
samuel-williams-shopify Jun 29, 2026
94e25a3
Make policy stop test deterministic.
samuel-williams-shopify Jun 29, 2026
9986da8
Use graceful defaults for controller interrupts.
samuel-williams-shopify Jun 29, 2026
7c0b5f2
Stop controller on interrupt.
samuel-williams-shopify Jun 29, 2026
b8b72d5
Depend on io-event v1.18
samuel-williams-shopify Jun 30, 2026
b184f2e
Keep controller start idempotent
samuel-williams-shopify Jun 30, 2026
3a93a8f
Reopen controller event queue for each run
samuel-williams-shopify Jun 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:

- name: Run tests
timeout-minutes: 10
run: bundle exec bake test
run: bundle exec sus --verbose
4 changes: 3 additions & 1 deletion async-container.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,7 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = ">= 3.3"

spec.add_dependency "async", "~> 2.22"
spec.add_dependency "async", "~> 2.41"
spec.add_dependency "async-signals", "~> 0.6"
spec.add_dependency "io-event", "~> 1.18"
end
10 changes: 3 additions & 7 deletions lib/async/container.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
# Released under the MIT License.
# Copyright, 2017-2025, by Samuel Williams.

require_relative "container/controller"
# This sets up graceful handling of SIGINT and SIGTERM.
require "async/signals/graceful"

# @namespace
module Async
# @namespace
module Container
end
end
require_relative "container/controller"
Loading
Loading