Repository navigation
test(mongo): the flip rows of the large change event print a timed trace (CLI-107) - #474
Open
mark1russell7 wants to merge 1 commit into
Open
mark1russell7 wants to merge 1 commit into
mark1russell7 wants to merge 1 commit into
Conversation
…ace of the watcher (CLI-107) The row watcher-images-no-split failed once on the PR #465 (run 42179447919): 1 failure in 8 s, where main logs 4 and stops in 403 ms. The row printed only the count, so it did not show where the time went. Each log line now has its time since the start, and both flip rows print their first 16 lines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Roadmap CLI-107: the flip rows of the large change event test print a timed trace of the watcher.
Why
The row
watcher-images-no-splitfailed one time on #465 (run 42179447919). That PR does not change@procedures/mongo.main(run 42178304482): 4 failures, and the watcher stopped in 403 ms.The row printed only the count of the failures. So it did not show where the 8 s went: a stream that waited, or a stream that opened again with no event.
What changes
atMs, the time since the start of the logger.watcher-images-no-splitandhints-images-no-splitprinttrace: their first 16 log lines, each with its level, message, time, code, try and token flag.A next failure of the row then shows the gap. The fix of the cause comes in its own PR.
SemVer
No release. The PR changes only a test file. No effect on the public API.
Tests
🤖 Generated with Claude Code