Skip to content

fix(tier1): log forkable hub under the tier1 logger#802

Merged
maoueh merged 1 commit into
developfrom
feature/processing-block-log-repeated-missing-tagging
Jun 12, 2026
Merged

fix(tier1): log forkable hub under the tier1 logger#802
maoueh merged 1 commit into
developfrom
feature/processing-block-log-repeated-missing-tagging

Conversation

@maoueh

@maoueh maoueh commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Problem

The tier1 forkable hub was created with the default bstream package logger, so its processing block (and related hub) log lines were attributed to the generic bstream logger rather than tier1 — indistinguishable from other components running their own hub.

Change

  • Pass the app logger to the hub via the new bstream hub.WithLogger option (NewForkableHubNewForkableHubWithOptions).
  • Bump bstream to the release containing hub.WithLogger (v0.0.2-0.20260611155534-4edda1cff251).

Depends on

Test

go build ./app/...

@maoueh maoueh requested a review from GabrielCartier June 11, 2026 19:45
The tier1 forkable hub used the default bstream package logger, so its
`processing block` (and related) lines were attributed to `bstream` rather than
`tier1`. Pass the app logger via the new bstream `hub.WithLogger` option.

Bumps bstream to the release containing `hub.WithLogger`.

# Conflicts:
#	go.mod
#	go.sum
@maoueh maoueh force-pushed the feature/processing-block-log-repeated-missing-tagging branch from 759aeb9 to 98ba4fe Compare June 12, 2026 15:15
@sduchesneau

Copy link
Copy Markdown
Contributor

🔍 Vulnerabilities of ghcr.io/streamingfast/substreams:a151746

📦 Image Reference ghcr.io/streamingfast/substreams:a151746
digestsha256:7b2a7690540819d25bbb80a9231923f29142c6daccfb281cfbeae815cec77844
vulnerabilitiescritical: 0 high: 0 medium: 0 low: 0
platformlinux/amd64
size118 MB
packages353
📦 Base Image ubuntu:24.04
also known as
  • c136481b8f4cd58cb213a22ee358ea1047bc963a338c61cdccb518e233409f86
  • noble
  • noble-20260509.1
digestsha256:023f8a753c22258c9fe2d0005a7d28258038da7d620e9f93e9ad78aa266f9f11
vulnerabilitiescritical: 0 high: 1 medium: 26 low: 11

@maoueh maoueh merged commit 609bd2f into develop Jun 12, 2026
8 checks passed
@maoueh maoueh deleted the feature/processing-block-log-repeated-missing-tagging branch June 12, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants