Skip to content
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

strategy methods act on copies of models if desired #632

Closed
wants to merge 5 commits into from

Conversation

JasonKChow
Copy link
Contributor

@JasonKChow JasonKChow commented Feb 6, 2025

Summary: Add extra flag to strategy to allow all model-related operations to act on a copy (then save that copy if needed). Used for multi-client server.

Test Plan:

Stack created with Sapling. Best reviewed with ReviewStack.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 6, 2025
@JasonKChow JasonKChow force-pushed the pr632 branch 2 times, most recently from 9363e6b to 075e40d Compare February 6, 2025 07:42
Summary: The server wasn't very asynchronous, so we rewrite the entirety of it to be multithreaded.

Test Plan: Updated tests
Summary: To allow db to be accessible across threads, sessions need to be scoped carefully.

Test Plan:
Summary: This was used inconsistently and causes problems

Test Plan:
Summary: Messages are also now info so that runner can tell things are happening. Debug is saved for very verbose errors.

Test Plan:
Summary: Add extra flag to strategy to allow all model-related operations to act on a copy (then save that copy if needed). Used for multi-client server.

Test Plan:
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 Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants