ocaml / ocaml/dune

Allow monitoring multiple dune instances

Open
#8,465 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement rpc tui
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.