Allow monitoring multiple dune instances
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 1.9k
- Forks
- 500
- Avg merge
- 15h 21m
- Merged PRs (30d)
- 277
Description
We already have $ dune rpc status --all. We can improve $ dune monitor to switch between dune instances as well.
Concretely, --all can introduce two tabs which the user will be able to switch between.
- One tab will display the currently connected build
- One tab will display the list of available dune instances we can connect to. In this tab, the user can select a particular connection and then switch to view it in tab 1.
In this layout, we display the errors from only a single connection. Although we could display the progress/what target is currently is being built in the second tab as well.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing dune monitor implementation and the dune rpc status --all entry point. Define how --all exposes two switchable tabs: the current build and available Dune instances, with selection changing the connection shown in the first tab. Done means users can switch instances and errors remain scoped to the selected connection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100