honeybadger 6.2.1 → 6.3.1

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: b02ae29a717535d5fae686a91024bd750a0ae74b68f036316ba01a7e7a0ba024
4
- data.tar.gz: 8a61bc1e6d9097f9045853510f37c92ddd6ba553a1693eb732f2942842bb57e3
3
+ metadata.gz: '06088d60b3acee3bd5368e792d255d4a1199a5b79a23c8a8b462ea086777ef4b'
4
+ data.tar.gz: bb5722afb839a7bb2da13acbe0e3e85c176453afda57193bfc63c268c53fdd7b
5
5
  SHA512:
6
- metadata.gz: ab34f351b35ae5b972174a597959bbd43aa75c3472fd188c540c6fc5a4fb3ba6fd4676f811dc55fec317a1bb8a32cc8c4af8d9854b77fe9393a82d069822e588
7
- data.tar.gz: 8b9cbd4a38527f8b3f548a5d30694c669cae95123571cf0fd8bd064fb5064e06be0cbd7de70ffa0988fa7dd592b2653bd8bea45f84d18a0ebb41aa19ba480ca2
6
+ metadata.gz: f481860ae5a2fb01eac58d0eafe5c542ea5a309e60bccb07270dc1c5407c930a60e40fa7c044e64b7af165be031d39f8f6f446bfeeadb2ea1ef8669aea1510df
7
+ data.tar.gz: 7467afbdf9a28d30069d9522c906838a236d6699a1a21efbbdad00898feb9f2c5c6f4d09c57ec9b245ae3497c7477b8a4f77374f42de49cf93b0df4f55764720
data/CHANGELOG.md CHANGED
@@ -1,6 +1,20 @@
1
1
  # Change Log
2
2
 
3
3
 
4
+ ## [6.3.1](https://github.com/honeybadger-io/honeybadger-ruby/compare/v6.3.0...v6.3.1) (2026-02-12)
5
+
6
+
7
+ ### Bug Fixes
8
+
9
+ * prevent thread leak in EventsWorker#kill! ([#778](https://github.com/honeybadger-io/honeybadger-ruby/issues/778)) ([09ad0f7](https://github.com/honeybadger-io/honeybadger-ruby/commit/09ad0f7c32e0e3edb37fdb4d7db4d9ccde39f479))
10
+
11
+ ## [6.3.0](https://github.com/honeybadger-io/honeybadger-ruby/compare/v6.2.1...v6.3.0) (2026-01-29)
12
+
13
+
14
+ ### Features
15
+
16
+ * add status to ActiveJob payload ([#775](https://github.com/honeybadger-io/honeybadger-ruby/issues/775)) ([c0357f5](https://github.com/honeybadger-io/honeybadger-ruby/commit/c0357f5161077b13e932d820f03ab9373f9df5b4))
17
+
4
18
  ## [6.2.1](https://github.com/honeybadger-io/honeybadger-ruby/compare/v6.2.0...v6.2.1) (2026-01-23)
5
19
 
6
20
 
@@ -137,9 +137,13 @@ module Honeybadger
137
137
  def kill!
138
138
  d { "killing worker thread" }
139
139
 
140
+ if timeout_thread
141
+ Thread.kill(timeout_thread)
142
+ timeout_thread.join # Allow ensure blocks to execute.
143
+ end
144
+
140
145
  if thread
141
146
  Thread.kill(thread)
142
- Thread.kill(timeout_thread)
143
147
  thread.join # Allow ensure blocks to execute.
144
148
  end
145
149
 
@@ -130,7 +130,7 @@ module Honeybadger
130
130
  end
131
131
 
132
132
  class ActiveJobSubscriber < RailsSubscriber
133
- def format_payload(_name, payload)
133
+ def format_payload(name, payload)
134
134
  job = payload[:job]
135
135
  jobs = payload[:jobs]
136
136
  adapter = payload[:adapter]
@@ -139,6 +139,11 @@ module Honeybadger
139
139
  adapter_class: adapter&.class&.to_s
140
140
  })
141
141
 
142
+ # Add status for perform events based on whether an exception occurred
143
+ if name == "perform.active_job"
144
+ base_payload[:status] = payload[:exception_object] ? "failure" : "success"
145
+ end
146
+
142
147
  if jobs
143
148
  base_payload.merge({
144
149
  jobs: jobs.compact.map { |j| {job_class: j.class.to_s, job_id: j.job_id, queue_name: j.queue_name} }
@@ -1,4 +1,4 @@
1
1
  module Honeybadger
2
2
  # The current String Honeybadger version.
3
- VERSION = "6.2.1".freeze
3
+ VERSION = "6.3.1".freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeybadger
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.2.1
4
+ version: 6.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Honeybadger Industries LLC