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 +4 -4
- data/README.md +13 -0
- data/lib/bug_courier/railtie.rb +1 -1
- data/lib/bug_courier/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 36cb1c6c27aafcb8c121c7c45abd1096704ba4f2c93dac261cfc65edac80cf48
|
|
4
|
+
data.tar.gz: 6331194fdee5a7140ab0bc951efe0d4a18d16415813275a0991b58fe30aaa2d0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
data/lib/bug_courier/railtie.rb
CHANGED
|
@@ -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.
|
|
8
|
+
app.middleware.insert_after(ActionDispatch::DebugExceptions, BugCourier::Middleware)
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
initializer "bug_courier.set_logger" do
|
data/lib/bug_courier/version.rb
CHANGED