bug_courier 0.1.1 → 1.0.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: 4119a9fe0555a8911f766faed8841c8aff293a571513c9f3f0b1916f01252059
4
- data.tar.gz: dc9f409a6ffadc38b0bfa174cfa2ad110703b45b822f69568063cba4db24f707
3
+ metadata.gz: 36cb1c6c27aafcb8c121c7c45abd1096704ba4f2c93dac261cfc65edac80cf48
4
+ data.tar.gz: 6331194fdee5a7140ab0bc951efe0d4a18d16415813275a0991b58fe30aaa2d0
5
5
  SHA512:
6
- metadata.gz: 1b380705cd2f98635cdd09346ff4f254427ec4e6839c2e7614ae531be27adfbbd8eda696bb7c75c23256a7e23c2114515f22978da62077230dc2b61c0d150b32
7
- data.tar.gz: b7760ac4c398c877a74e1fc5d38972a284c1fc398e28c2ee2c8405f997e7a9a02f6748c7ba3c7561d571365f74ae814bb38094287db15018696545d0e0e66efe
6
+ metadata.gz: cdb705a50f9c96731d8acf9f2c0960ad5bedc34a477e452b3e68895db8f22ca5001f91d461546e03eeafcae6957729dfc41b284442825cada9e7df093ed8d2bf
7
+ data.tar.gz: 1c185ff6306357c3b1cec72dff37018c97cf42c0c8b1054da8683fc52c5a242c5afd9f80a3bf9809e3ec587fe01df0a85a63b59bd12daf27f52ee3d2cb7601c4
data/README.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  A Rails gem that automatically creates GitHub issues when uncaught exceptions occur. Includes deduplication (comments on existing open issues instead of creating duplicates), rate limiting, request context capture, and async reporting.
4
4
 
5
+ ## Auto-Fix Bugs with GitHub Copilot
6
+
7
+ BugCourier turns your production exceptions into GitHub issues — and **GitHub Copilot can automatically fix them**.
8
+
9
+ When Copilot is enabled on your repository, it can pick up BugCourier-created issues (complete with backtraces, request context, and error fingerprints) and open pull requests with fixes. This creates a powerful loop:
10
+
11
+ 1. An uncaught exception occurs in production
12
+ 2. BugCourier creates a detailed GitHub issue with the full error context
13
+ 3. Copilot reads the issue and opens a PR with a proposed fix
14
+ 4. You review and merge
15
+
16
+ No manual triage. No copying stack traces. Just assign Copilot to BugCourier issues and let it work.
17
+
5
18
  ## Installation
6
19
 
7
20
  Add to your Gemfile:
@@ -5,7 +5,7 @@ require "rails/railtie"
5
5
  module BugCourier
6
6
  class Railtie < Rails::Railtie
7
7
  initializer "bug_courier.configure_middleware" do |app|
8
- app.middleware.insert_before(0, BugCourier::Middleware)
8
+ app.middleware.insert_after(ActionDispatch::DebugExceptions, BugCourier::Middleware)
9
9
  end
10
10
 
11
11
  initializer "bug_courier.set_logger" do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BugCourier
4
- VERSION = "0.1.1"
4
+ VERSION = "1.0.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bug_courier
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steffen Hansen