Skip to content

Add attachable simulator to PaftManager tests with sqlite db assertions #898

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

Conversation

benjipelletier
Copy link
Contributor

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

Differential Revision: D80271648

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

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

facebook-github-bot pushed a commit that referenced this pull request Aug 18, 2025
…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

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

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

facebook-github-bot pushed a commit that referenced this pull request Aug 19, 2025
…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
…ns (meta-pytorch#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
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 22f6b4d.

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