Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
2f97bc7
Instrument `create_subscription`
Nilirad Jul 22, 2026
623be6e
Add `valuable` crate
Nilirad Jul 27, 2026
19ecbba
Instrument `create_subscription` using `valuable`
Nilirad Jul 27, 2026
ef6e1a7
Enable `valuable` feature on `tracing-subscriber`
Nilirad Jul 27, 2026
110181e
Extend instrumentation to other API endpoints
Nilirad Jul 27, 2026
4edc36e
Various fixes
Nilirad Jul 27, 2026
d30ec33
Instrument polling engine
Nilirad Jul 28, 2026
d577e02
Instrument trigger engine
Nilirad Jul 29, 2026
3693021
Implicitly correlate trigger jobs between polling and trigger engines
Nilirad Jul 29, 2026
b3d3757
Add OpenTelemetry crates
Nilirad Jul 31, 2026
f170dcd
Add OpenTelemetry span links between polling and trigger engines
Nilirad Jul 31, 2026
cf8aa79
Set up OpenTelemetry subscriber
Nilirad Aug 3, 2026
266a5ba
Make telemetry export optional
Nilirad Aug 4, 2026
c0abf05
Instrument repository methods
Nilirad Aug 5, 2026
9e4cda1
Rename and cleanup repostory methods
Nilirad Aug 5, 2026
5c2819e
Remove unused repository methods
Nilirad Aug 5, 2026
f59545b
Rename `trigger_queue_queue_for_branch` to `trigger_queue_upsert`
Nilirad Aug 5, 2026
1af40e0
Rename other objects
Nilirad Aug 5, 2026
0a58e9f
Instrument `request_installation_token`
Nilirad Aug 6, 2026
581cede
Add instrumentation to other functions
Nilirad Aug 6, 2026
5f2ea52
Fix various issues
Nilirad Aug 6, 2026
3e481a9
Reduce span noise
Nilirad Aug 7, 2026
d87eff1
Add Tower HTTP server spans
Nilirad Aug 7, 2026
69ddca2
Record status code on HTTP spans
Nilirad Aug 10, 2026
4ac78b5
Opt-in to marking client errors as such on OpenTelemetry exports
Nilirad Aug 10, 2026
0c35d65
Assing a Span Kind to each span
Nilirad Aug 11, 2026
d303606
Remove `valuable`
Nilirad Aug 12, 2026
fa85ff9
Set job retry span kind as `internal` instead of `producer`
Nilirad Aug 13, 2026
193c196
Log telemetry initialization using `tracing`
Nilirad Aug 13, 2026
635959b
Clean up `telemetry.rs`
Nilirad Aug 13, 2026
92ccfdb
Constrain AI agent reviews
Nilirad Aug 13, 2026
7a2adb0
Move `pub` items up in `telemetry.rs`
Nilirad Aug 13, 2026
758eaae
Clean up code in `telemetry.rs`
Nilirad Aug 13, 2026
2100ae7
Add `http.route` trace attributes to Axum handlers
Nilirad Aug 18, 2026
a2867a1
Correct documentation for `HttpRequestSpan`
Nilirad Aug 18, 2026
2ff89a9
Include SQLx warnings in default `RUST_LOG`
Nilirad Aug 18, 2026
6be9cd6
Mark spans of failed triggers as error
Nilirad Aug 18, 2026
c124a32
Update SQLx query cache
Nilirad Aug 18, 2026
5b25640
Honor `OTEL_SERVICE_NAME`/`OTEL_RESOURCE_ATTRIBUTES` envirnoment
Nilirad Aug 18, 2026
0c38a79
Add telemetry tests
Nilirad Aug 18, 2026
1efcca1
Apply env hygiene on telemetry tests
Nilirad Aug 18, 2026
c83e1c9
Store `http.route` on server span rather than handlers spans
Nilirad Aug 18, 2026
88eb2ad
Cover DB errors in `process_queue` spans
Nilirad Aug 18, 2026
17666ac
Make `OTEL_SERVICE_NAME` take precedence over `OTEL_RESOURCE_ATTRIBUTES`
Nilirad Aug 18, 2026
b310660
Make polling engine report span error
Nilirad Aug 19, 2026
ef55346
Async engines enter spans only if there is job
Nilirad Aug 21, 2026
2e80edc
Decouple telemetry from `RUST_LOG`
Nilirad Sep 2, 2026
4dd4bac
Move `auth_middleware`'s `authenticated` span field to the server span
Nilirad Sep 2, 2026
4a262af
Run `cargo update`
Nilirad Sep 2, 2026
2393885
Ignore typos on alphanumeric strings of 16 characters
Nilirad Sep 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,11 @@ CBRIDGE__AUTH__PEM_PATH=/app/data/YOUR_PEM_FILE.pem

# Git
CBRIDGE__GIT__REPO_PATH=/app/data/git_repo

# Telemetry
# OpenTelemetry is disabled by default
# and only enabled when an OTLP endpoint is explicitly configured,
# e.g. for a local Jaeger instance:
# OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
# RUST_LOG=commit_bridge=info
# CBRIDGE__TELEMETRY__MARK_CLIENT_ERRORS_AS_ERROR=true

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

4 changes: 4 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ This file contains crucial context for AI agents working in this repository.
1. `polling/`: Periodically checks remote git repositories for updates.
2. `trigger/`: Receives update events from the polling engine via `mpsc` channels and triggers GitHub Action workflows on target repositories.
- **Error Handling**: Use domain-specific error enums (`HandlerError`, `FatalError`) defined in `src/error.rs` using the `thiserror` crate. Ensure `IntoResponse` is implemented for any errors that bubble up to Axum handlers.

## Reviews

When reviewing the correctness of code, always make sure that a potential issue can actually arise _in the context_ of the affected piece of code.
Loading
Loading