fix(tier1): log forkable hub under the tier1 logger#802
Merged
maoueh merged 1 commit intoJun 12, 2026
Conversation
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
759aeb9 to
98ba4fe
Compare
Contributor
GabrielCartier
approved these changes
Jun 12, 2026
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.
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 genericbstreamlogger rather thantier1— indistinguishable from other components running their own hub.Change
hub.WithLoggeroption (NewForkableHub→NewForkableHubWithOptions).bstreamto the release containinghub.WithLogger(v0.0.2-0.20260611155534-4edda1cff251).Depends on
Test
go build ./app/...✅