-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Capture root logger output in e2e tests #194
Conversation
WalkthroughThe pull request introduces a new logging mechanism within the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (1)
e2e/stack_test.go (1)
71-74
: Approve the logging setup with a minor correction.The implementation of the logging mechanism in
TestE2E
is well-integrated and aligns with the PR's objectives to enhance debugging capabilities during e2e tests. However, there is a minor typographical error in the comment at line 71:
- "occassionally" should be corrected to "occasionally".
Please correct the spelling in the comment to improve the readability of the code.
- // Unfortunately, geth and parts of the OP Stack occassionally use the root logger. + // Unfortunately, geth and parts of the OP Stack occasionally use the root logger.Tools
GitHub Check: go
[failure] 71-71:
occassionally
is a misspelling ofoccasionally
(misspell)
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- e2e/stack_test.go (1 hunks)
Additional context used
GitHub Check: go
e2e/stack_test.go
[failure] 71-71:
occassionally
is a misspelling ofoccasionally
(misspell)
Additional comments not posted (1)
e2e/stack_test.go (1)
71-74
: Verify the functionality of the new logger setup.To ensure the new logger captures the intended logs effectively, please verify the output of the logger by checking the contents of the log file during test execution.
Tools
GitHub Check: go
[failure] 71-71:
occassionally
is a misspelling ofoccasionally
(misspell)
97602bf
to
1873683
Compare
This [would have helped us] find the reorg error much faster. [would have helped us]: ethereum-optimism/optimism#11756
1873683
to
9756129
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- e2e/stack_test.go (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- e2e/stack_test.go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
root-logger.log
is now present in the e2e artifacts.
This would have helped us find the reorg error much faster.
Summary by CodeRabbit