hotcell-client 0.3.1 → 0.4.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 +4 -4
- data/lib/hot_cell/client/version.rb +1 -1
- data/lib/hot_cell/client.rb +6 -0
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f524eeac7887b27aef5f6c8da2c64f12156d8bf53b0182eaeee8586f3caea2fa
|
|
4
|
+
data.tar.gz: 23cc072de4878e911ee6a20a2fdd1f0272f21ffac66805b15d31534bd57a20ef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: baeec88b90cd8601136b0c1260e8e0f4dc9879ded64c78d76298fde0d774ac00226221a1f4efce6071435c062089e39686e587f3b787a082a3588a25d82c707f
|
|
7
|
+
data.tar.gz: 549dd9b192b20a5a96d43f71907d06eaa0466eea01a7bb2da385ba7344caeed12490dba6aa03b02ccd8471b861229b9b77873c342d3b2ce5583f4d72e9000832
|
data/lib/hot_cell/client.rb
CHANGED
|
@@ -160,6 +160,11 @@ module HotCell
|
|
|
160
160
|
# the code filed every fsize kill as transient. `permanent` is the Failure's own answer, so no
|
|
161
161
|
# subscriber re-derives it.
|
|
162
162
|
#
|
|
163
|
+
# `stderr` is the diagnosis of a crash — `libgomp: Thread creation failed` — and the event is the only
|
|
164
|
+
# place a subscriber can log it: the exception's message carries it too, but only a retry logs that,
|
|
165
|
+
# and a discarded failure loses it. It is text a tool wrote while processing a hostile file, bounded
|
|
166
|
+
# by `Failure.sanitize` on the way in, and a subscriber should write it to a log field and nowhere else.
|
|
167
|
+
#
|
|
163
168
|
# A subscriber's own duration minus perform_ms is transport plus queueing, and those want separate
|
|
164
169
|
# metrics: a rising perform_ms means the work got more expensive, and a rising difference means the
|
|
165
170
|
# cell is saturated.
|
|
@@ -171,6 +176,7 @@ module HotCell
|
|
|
171
176
|
event[:code] = failure&.code
|
|
172
177
|
event[:cause] = failure&.cause
|
|
173
178
|
event[:signal] = failure&.signal
|
|
179
|
+
event[:stderr] = failure&.stderr
|
|
174
180
|
event[:permanent] = failure&.permanent?
|
|
175
181
|
event[:bytes_in] = byte_count(inputs)
|
|
176
182
|
event[:bytes_out] = byte_count(outputs)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hotcell-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Dalessio
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.
|
|
18
|
+
version: 0.4.0
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.
|
|
25
|
+
version: 0.4.0
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: activesupport
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -67,8 +67,8 @@ licenses:
|
|
|
67
67
|
- MIT
|
|
68
68
|
metadata:
|
|
69
69
|
homepage_uri: https://github.com/basecamp/hotcell
|
|
70
|
-
source_code_uri: https://github.com/basecamp/hotcell/tree/v0.
|
|
71
|
-
changelog_uri: https://github.com/basecamp/hotcell/blob/v0.
|
|
70
|
+
source_code_uri: https://github.com/basecamp/hotcell/tree/v0.4.0/hotcell-client
|
|
71
|
+
changelog_uri: https://github.com/basecamp/hotcell/blob/v0.4.0/CHANGELOG.md
|
|
72
72
|
bug_tracker_uri: https://github.com/basecamp/hotcell/issues
|
|
73
73
|
rubygems_mfa_required: 'true'
|
|
74
74
|
rdoc_options: []
|