janestreet / janestreet/magic-trace

trace-many-times

Open
#106 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
OCaml
Stars
6.3k
Forks
209
PR merge metrics
No merged PRs in 30d

Description

I frequently want as many traces of $CONDITION as I can get. Right now I build a command line, watch it go, wait til it fires, _wait for it to decode_, and rerun.

I _can_ write a shell loop around this, but you know what sounds great? A flag to "once you're done, re-arm and do it again with a fresh filename".

Contributor guide

Open the contributing guide

Research direction

Start by locating the command-line option handling and the trace capture flow for the existing $CONDITION command. Define the re-arm behavior, including fresh filenames and waiting for decoding, then add coverage for repeated captures and verify that the command can collect multiple traces without manual reruns.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
devtools, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.