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

[Refactor] Stores now return Arc for construction #989

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

allada
Copy link
Member

@allada allada commented Jun 11, 2024

We implicitly use all stores as Arc's anyway, so this PR just
makes it easier for stores to grab a Weak to self for some
specific cases.


This change is Reviewable

@allada allada changed the title All stores now use arc [Refactor] Stores now return Arc for construction Jun 11, 2024
Copy link
Member Author

@allada allada left a comment

Choose a reason for hiding this comment

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

fyi: @adam-singer
+@zbirenbaum

note: This PR is pending the memory store PR to land first.

Reviewable status: 0 of 1 LGTMs obtained, and pending CI: Analyze (javascript-typescript), Analyze (python), Bazel Dev / ubuntu-22.04, Cargo Dev / macos-13, Cargo Dev / ubuntu-22.04, Installation / macos-13, Installation / macos-14, Installation / ubuntu-22.04, Local / ubuntu-22.04, Publish image, Publish nativelink-worker-lre-cc, asan / ubuntu-22.04, docker-compose-compiles-nativelink (20.04), docker-compose-compiles-nativelink (22.04), integration-tests (20.04), integration-tests (22.04), macos-13, pre-commit-checks, ubuntu-20.04 / stable, ubuntu-22.04, ubuntu-22.04 / stable, windows-2022 / stable (waiting on @zbirenbaum)

Copy link
Contributor

@adam-singer adam-singer left a comment

Choose a reason for hiding this comment

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

Reviewed 11 of 17 files at r1, 18 of 18 files at r2.
Reviewable status: 0 of 1 LGTMs obtained (waiting on @zbirenbaum)

@allada allada force-pushed the all-stores-now-use-arc branch from 18d776c to 68a4fac Compare June 13, 2024 16:27
Copy link
Contributor

@adam-singer adam-singer left a comment

Choose a reason for hiding this comment

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

Reviewed 11 of 11 files at r3, all commit messages.
Reviewable status: 0 of 1 LGTMs obtained, and pending CI: Publish image, Publish nativelink-worker-lre-cc, pre-commit-checks (waiting on @zbirenbaum)

Copy link
Contributor

@zbirenbaum zbirenbaum left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 18 of 18 files at r2, 11 of 11 files at r3, all commit messages.
Reviewable status: 1 of 1 LGTMs obtained, and pending CI: Publish image, Publish nativelink-worker-lre-cc, pre-commit-checks

We implicitly use all stores as Arc's anyway, so this PR just
makes it easier for stores to grab a Weak to self for some
specific cases.
@allada allada force-pushed the all-stores-now-use-arc branch from 68a4fac to 9bc770c Compare June 15, 2024 02:52
Copy link
Member Author

@allada allada left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 18 files at r2, all commit messages.
Reviewable status: :shipit: complete! 1 of 1 LGTMs obtained

@allada allada merged commit 5bdc9eb into TraceMachina:main Jun 15, 2024
28 checks passed
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.

3 participants