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

buck-worker improvement and prepare for full integration #14

Merged
merged 12 commits into from
Oct 21, 2024

Conversation

wavewave
Copy link
Collaborator

@wavewave wavewave commented Oct 19, 2024

These changes increase the granularity of the data stored in the shared cache, with slightly different update rules for
each of them. So far this has only been tested very superficially, so it will break in many nontrivial contexts.

To observe this mechanism a bit, this also adds a skeleton for recording some statistics about a compile job's
interactions with our shared cache, like how many of the BCO sets in the loader state at the end of the session have
been added freshly.

Otherwise, this includes a few tweaks to properly handle the Buck2 environment, like the CLI options --bin-path and
--buck2-package-db, and environment variables included in RPC messages.

@wavewave wavewave changed the title WIP: Tek/worker dev buck-worker improvement and prepare for integration Oct 21, 2024
@wavewave wavewave changed the title buck-worker improvement and prepare for integration buck-worker improvement and prepare for full integration Oct 21, 2024
@wavewave wavewave marked this pull request as ready for review October 21, 2024 13:15
@wavewave wavewave merged commit 90dcc08 into main Oct 21, 2024
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