Wire Bugsnag into the orchestrator#232
Open
morgan-wowk wants to merge 1 commit intobugsnag/api-server-integrationfrom
Open
Wire Bugsnag into the orchestrator#232morgan-wowk wants to merge 1 commit intobugsnag/api-server-integrationfrom
morgan-wowk wants to merge 1 commit intobugsnag/api-server-integrationfrom
Conversation
Collaborator
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced May 8, 2026
712e574 to
fec81ca
Compare
bba37bb to
d1e5bdb
Compare
fec81ca to
5a7f4b0
Compare
d1e5bdb to
368e08e
Compare
5a7f4b0 to
0c36e63
Compare
368e08e to
ff5439f
Compare
0c36e63 to
32b5bbb
Compare
ff5439f to
765252d
Compare
32b5bbb to
7baeb97
Compare
765252d to
e7d28aa
Compare
79954ff to
4c66fed
Compare
666bc18 to
a5bc1e7
Compare
53c3b0f to
f52741d
Compare
a5bc1e7 to
cd51f98
Compare
cd51f98 to
d7ace7d
Compare
f52741d to
c0ba47b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

TL;DR
Integrates Bugsnag error reporting into the orchestrator to capture system-level exceptions.
What changed?
Bugsnag instrumentation is now initialized at orchestrator startup with the service name
tangle-orchestrator. System errors recorded viarecord_system_error_exceptionnow notify Bugsnag with the associated execution ID. Additionally, any unhandled exception that escapes the mainrun_loopis reported to Bugsnag before being re-raised.How to test?
Trigger a system error during an execution and verify that the exception appears in Bugsnag with the correct execution ID attached. Also verify that an unhandled exception in
run_loopis reported to Bugsnag under thetangle-orchestratorservice.Why make this change?
Previously, system errors were only tracked via metrics and local logs, making it difficult to investigate failures in production. Routing these exceptions to Bugsnag provides better visibility and alerting for unexpected orchestrator errors.