Skip to content

Add simulator context manager and execution summary #908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

benjipelletier
Copy link
Contributor

Summary:
To make the simulator a bit easier to use for monarch test workloads:

  • Add context manager to set up logging, tracing, sim event loop
  • print execution details after run including execution ID, scuba links to tracing/metrics table

Reviewed By: eliothedeman

Differential Revision: D80366675

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 18, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80366675

…ns (#898)

Summary:

This diff:
* exposes paft_manager.py's main so we can attach the simulator to it
* Allows test_paft_manager.py to write log assertions using sqlite db
* Add `is_simulator_active()` so we can decide whether to real/sim sleep in the actor

Reviewed By: thomasywang

Differential Revision: D80271648
Summary:

To make the simulator a bit easier to use for monarch test workloads:
* Add context manager to set up logging, tracing, sim event loop
* print execution details after run including execution ID, scuba links to tracing/metrics table

Reviewed By: eliothedeman

Differential Revision: D80366675
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80366675

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in fb24ab9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants