Skip to content

fix: log sources + CI tweaks#501

Merged
vladimirvolek merged 7 commits intomainfrom
tracing-manual
Apr 2, 2026
Merged

fix: log sources + CI tweaks#501
vladimirvolek merged 7 commits intomainfrom
tracing-manual

Conversation

@vladimirvolek
Copy link
Copy Markdown
Member

@vladimirvolek vladimirvolek commented Mar 31, 2026

resolves: #479

image

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Mar 31, 2026

Deploying blockfrost-platform with  Cloudflare Pages  Cloudflare Pages

Latest commit: add650f
Status: ✅  Deploy successful!
Preview URL: https://576b1ab6.blockfrost-platform.pages.dev
Branch Preview URL: https://tracing-manual.blockfrost-platform.pages.dev

View logs

@vladimirvolek vladimirvolek changed the title fix: log sources fix: log sources + CI tweaks Mar 31, 2026
@vladimirvolek vladimirvolek marked this pull request as ready for review March 31, 2026 12:52
@vladimirvolek vladimirvolek requested a review from Copilot March 31, 2026 12:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates logging across platform/gateway/node crates to rely on tracing targets (instead of manual log prefixes) and adjusts CI job structure to run static checks before builds/tests.

Changes:

  • Enable .with_target(true) in tracing subscriber formatting to include log targets.
  • Remove manual log message prefixes (e.g., load balancer:, IceBreakers:, FallbackDecoder:) and add structured connection_id fields in node logs.
  • Rename CI Docker lint job to static_checks and make key jobs depend on it.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
crates/platform/src/server/logging.rs Enable tracing targets in platform log formatting.
crates/platform/src/load_balancer.rs Remove manual "load balancer:" prefixes from load balancer logs.
crates/platform/src/icebreakers/manager.rs Remove manual "IceBreakers:" log prefixes.
crates/platform/src/icebreakers/api.rs Remove manual "load balancer:" prefix from fallback URI log line.
crates/node/src/transactions.rs Replace manual N2C[...] prefix with structured connection_id field in logs.
crates/node/src/pool_manager.rs Replace manual N2C[...] prefix with connection_id field in logs.
crates/node/src/connection.rs Replace manual N2C[...] prefix with structured connection_id field in logs.
crates/node/src/cbor/fallback_decoder.rs Remove manual FallbackDecoder: prefixes from errors and panic messages.
crates/gateway/src/main.rs Enable tracing targets in gateway log formatting.
crates/gateway/src/load_balancer.rs Remove manual "load balancer:" prefixes from gateway load balancer logs.
.github/workflows/ci.yaml Consolidate linting/formatting/clippy into static_checks and update job dependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

vladimirvolek and others added 2 commits March 31, 2026 14:58
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@vladimirvolek vladimirvolek added this to the v1 milestone Mar 31, 2026
@vladimirvolek vladimirvolek self-assigned this Mar 31, 2026
@vladimirvolek vladimirvolek requested a review from michalrus March 31, 2026 15:30
Copy link
Copy Markdown
Member

@michalrus michalrus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! One comment below.

I think this also resolves #456, no? See:

@vladimirvolek
Copy link
Copy Markdown
Member Author

Nice! One comment below.

I think this also resolves #456, no? See:

Not 100% I think.

Copy link
Copy Markdown
Member

@michalrus michalrus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I added a small fix in add650f.

@vladimirvolek vladimirvolek merged commit 6d8ba5c into main Apr 2, 2026
21 checks passed
@michalrus michalrus deleted the tracing-manual branch April 2, 2026 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Platform/Gateway: add .with_target(true) to tracing and remove any manual prefixes

3 participants