Skip to content

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
mainfrom
test/cli-107-row-trace
Open

mark1russell7 wants to merge 1 commit into
mainfrom
test/cli-107-row-trace

Conversation

@mark1russell7

Copy link
Copy Markdown
Owner

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-split failed one time on #465 (run 42179447919). That PR does not change @procedures/mongo.

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

  • Each log line of the recording logger has atMs, the time since the start of the logger.
  • The rows watcher-images-no-split and hints-images-no-split print trace: their first 16 log lines, each with its level, message, time, code, try and token flag.
  • Two old prose findings of the file are fixed.

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

  • The typecheck of the tests is clean.
  • Locally the file skips: it needs a replica set. The MongoDB job of CI runs it.

🤖 Generated with Claude Code

…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

No deployments
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.

1 participant