Add interactive mrun monitor improvements#4
Draft
svadapalli1994 wants to merge 51 commits into
Draft
Conversation
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.
Summary
mrun --monitorexperience for local MongoDB deployments.doc/feature-monitor-guide.mdas the reviewer-facing architecture and behavior guide.Development history
mrun --monitorpath and kept it separate from normal command dispatch..mrun_startup.--monitor --alland in-dashboard scope toggling for all localmongodandmongosprocesses.serverStatus(), withhelloandisMasterfallbacks.Mkeymongoshhandoff with primary, selected-node, seed-list, first-node, and custom-URI targets.mongoshargv construction that reuses monitor auth/TLS options without exposing password values in argv.serverStatus()mode with Disk, Network, Storage, and Other Subsystems panels.serverStatus()retention for inspectable promoted subsystem panes.rreset./tmp/mongorun-side-scripts, and local runtimedata/was deleted.Implementation spec
doc/feature-monitor-guide.mddocuments the final monitor architecture, runtime flows, keyboard controls, data models, failure behavior, test coverage, and manual review checklist.Files changed
mrun/monitor.pymrun/mrun.pymrun/test/test_monitor.pydoc/feature-monitor-guide.mddoc/monitor.mddoc/mrun.rstValidation
uv run --isolated --python python3.11 --no-python-downloads --with-requirements requirements.txt --with-requirements test-requirements.txt pytest mrun/test/test_monitor.pygit diff --check