Skip to content

chore: simplify network monitor counter script#1957

Open
SantiagoPittella wants to merge 1 commit intomainfrom
santiagopittella-simplify-monitor-library
Open

chore: simplify network monitor counter script#1957
SantiagoPittella wants to merge 1 commit intomainfrom
santiagopittella-simplify-monitor-library

Conversation

@SantiagoPittella
Copy link
Copy Markdown
Collaborator

Due to upstream changes, and considering that we are about to do a new release, this PR adds a simplification to the counter creation and fixes the source manager handling following the changes from 0xMiden/miden-client#2006

@SantiagoPittella SantiagoPittella force-pushed the santiagopittella-simplify-monitor-library branch from 218982c to a86848d Compare April 17, 2026 20:56
Copy link
Copy Markdown
Collaborator

@igamigo igamigo left a comment

Choose a reason for hiding this comment

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

LGTM! Quick question, should we change the criteria for marking the card as unhealthy? The numbers are signaling that something is off:

Image

Comment on lines 886 to -887
let script_builder = CodeBuilder::new()
.with_dynamically_linked_library(&library)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

To give some more context (correct me if I'm wrong @SantiagoPittella), this was failing due to 0xMiden/miden-vm#2986, as this CodeBuilder was not sharing the same source manager as the library. On Linux for some reason this is not failing (which is why the monitor did not show errors AFAIK) but when testing this locally on MacOS it would panic cc @bitwalker

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, this is correct.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

(and regarding the review comment above this, I will add it to the existing issue of improvements)

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