Skip to content

Comments

[Monitor] Chore: Suppress thread IDs in output by default + use the same syntax as .tx files when printing traces #181

Merged
Nikil-Shyamsunder merged 8 commits intomainfrom
monitor_suppress_thread_ids
Feb 15, 2026
Merged

[Monitor] Chore: Suppress thread IDs in output by default + use the same syntax as .tx files when printing traces #181
Nikil-Shyamsunder merged 8 commits intomainfrom
monitor_suppress_thread_ids

Conversation

@ngernest
Copy link
Contributor

@ngernest ngernest commented Feb 14, 2026

This PR addresses #179 by adding a new CLI flag for the monitor to enable printing thread IDs for each protocol in the monitor's output (by default, thread IDs are suppressed). This makes us easier to see if future changes to the monitor's internal scheduler affect its output.

This PR also adds semicolons to the end of each transaction int he monitor output so that the syntax is exactly the same as the user-supplied .tx files for the interpreter -- this makes it easier to perform interpreter-monitor round-trip tests (#180).

@ngernest ngernest changed the title [Monitor] (WIP) Chore: Suppress thread IDs in output by default + use the same syntax as .tx files when printing traces [Monitor] Chore: Suppress thread IDs in output by default + use the same syntax as .tx files when printing traces Feb 14, 2026
@ngernest ngernest marked this pull request as ready for review February 14, 2026 19:21
Copy link
Collaborator

@Nikil-Shyamsunder Nikil-Shyamsunder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated this to reflect the syntax on #186. if you think the syntax could be improved, we can sync on slack or go ahead and make the change across both PRs.

@ngernest
Copy link
Contributor Author

Looks good to me -- thanks!!

@Nikil-Shyamsunder
Copy link
Collaborator

Confirmed after merging #186 that the output from the monitor in this branch is executable by the interpreter 👍

@Nikil-Shyamsunder Nikil-Shyamsunder merged commit 889746a into main Feb 15, 2026
7 checks passed
@ngernest ngernest deleted the monitor_suppress_thread_ids branch February 16, 2026 00:19
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.

2 participants