async-service 0.24.0 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 627b83e2706cf6594c5f66b3c0d5208ce0991e09b7da9ad1db6fc8140ee96a8a
4
- data.tar.gz: cd6737b1aa7efb1c3f2c83b441994152ade264c3de1861caedc91da7ac25000d
3
+ metadata.gz: 12c3f120c5c934839cfe37a81db340866c28e6d4b5ff9240c9d5bc58f3ad9ccb
4
+ data.tar.gz: a630283b433dea14ab8563fdc9819d1d878f15a0f13b0346a1c537819df09b23
5
5
  SHA512:
6
- metadata.gz: 2f51eca9ac8c9a6befbee2d8f8720d1cfe9d834eba0b1ddf0eccf6f5cf5c2df78e3587f1978459db35a6f56c41d3a8065b247f4ecfc8868d8015b5beb06694aa
7
- data.tar.gz: d9a35eca09c06dc7776c80499231cc0b800e669138f44afc0ec1e3c40514b7e3095639a7a3a486688abd61bd1061e75fd2bfa02fea00891ac026fff8ca3695c4
6
+ metadata.gz: 8563cd67bc46bdf2fdd01b2d026fffc6b580e7ce329037b481083218353a268021d8a57b44e44446d2f560f7f2b88e60d34d0b5dc0337b5c4dfcb568906aeacf
7
+ data.tar.gz: 3ae5883cc880484fb100a3cfa565e890ae2fa2c749fdda48956f2b8dc0a4c5c575366e52700a85ad1090cd938fa5ce57b1f056cc1eacf309f0622f67fa415f58
checksums.yaml.gz.sig CHANGED
Binary file
@@ -36,6 +36,7 @@ module Async
36
36
  # @returns [Hash] The options for the container.
37
37
  def container_options
38
38
  {
39
+ name: self.name,
39
40
  restart: true,
40
41
  count: self.count,
41
42
  startup_timeout: self.startup_timeout,
@@ -45,8 +45,6 @@ module Async
45
45
  require(full_path)
46
46
  end
47
47
  end
48
- rescue StandardError, LoadError => error
49
- Console.warn(self, "Service preload failed!", error)
50
48
  end
51
49
 
52
50
  # Start the service, including preloading resources.
@@ -7,6 +7,6 @@
7
7
  module Async
8
8
  # @namespace
9
9
  module Service
10
- VERSION = "0.24.0"
10
+ VERSION = "0.25.0"
11
11
  end
12
12
  end
data/readme.md CHANGED
@@ -31,6 +31,14 @@ Please see the [project documentation](https://socketry.github.io/async-service/
31
31
 
32
32
  Please see the [project releases](https://socketry.github.io/async-service/releases/index) for all releases.
33
33
 
34
+ ### v0.25.0
35
+
36
+ - Configured preload failures now abort service startup instead of being logged and ignored, preventing services from starting with partially initialized state.
37
+
38
+ ### v0.24.1
39
+
40
+ - Managed services now pass their service name through container options by default, restoring process titles for forked and hybrid containers.
41
+
34
42
  ### v0.23.0
35
43
 
36
44
  - `Async::Service::Generic.wrap` now checks for a `make_service(environment)` method on the evaluator before falling back to `service_class`. This allows environments to compose child environments and return a fully-constructed service without introducing a dedicated service class.
@@ -71,17 +79,6 @@ Please see the [project releases](https://socketry.github.io/async-service/relea
71
79
  - Emit prepared and running log messages with durations (e.g. how long it took to transition to prepared and running states).
72
80
  - `Async::Service::Configuration.build{|loader|...}` can now take an argument for more flexible configuration construction.
73
81
 
74
- ### v0.17.0
75
-
76
- - `ManagedService` now sends `status!` messages during startup to prevent premature health check timeouts for slow-starting services.
77
- - Support for `startup_timeout` option via `container_options` to detect processes that hang during startup and never become ready.
78
-
79
- ### v0.16.0
80
-
81
- - Renamed `Async::Service::Generic` -\> `Async::Service::GenericService`, added compatibilty alias.
82
- - Renamed `Async::Service::Managed::Service` -\> `Async::Service::ManagedService`.
83
- - Renamed `Async::Service::Managed::Environment` -\> `Async::Service::ManagedEnvironment`.
84
-
85
82
  ## Contributing
86
83
 
87
84
  We welcome contributions to this project.
data/releases.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Releases
2
2
 
3
+ ## v0.25.0
4
+
5
+ - Configured preload failures now abort service startup instead of being logged and ignored, preventing services from starting with partially initialized state.
6
+
7
+ ## v0.24.1
8
+
9
+ - Managed services now pass their service name through container options by default, restoring process titles for forked and hybrid containers.
10
+
3
11
  ## v0.23.0
4
12
 
5
13
  - `Async::Service::Generic.wrap` now checks for a `make_service(environment)` method on the evaluator before falling back to `service_class`. This allows environments to compose child environments and return a fully-constructed service without introducing a dedicated service class.
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  - !ruby/object:Gem::Version
135
135
  version: '0'
136
136
  requirements: []
137
- rubygems_version: 4.0.3
137
+ rubygems_version: 4.0.10
138
138
  specification_version: 4
139
139
  summary: A service layer for Async.
140
140
  test_files: []
metadata.gz.sig CHANGED
Binary file