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

Improve gc op #123

Open
wants to merge 12 commits into
base: canon
Choose a base branch
from
Open

Improve gc op #123

wants to merge 12 commits into from

Conversation

Profpatsch
Copy link
Collaborator

  • Amended the changelog in release.nix (see release.nix for instructions)

@Profpatsch Profpatsch force-pushed the improve-gc-op branch 2 times, most recently from 4f85336 to aa08312 Compare April 14, 2024 22:20
It’s just a better environment that way … sigh
Instead of having complex generic types internally that we map over,
just create the json in a macro.

Removes `ProjectAdded` from `Reason`, because it was not used
anywhere. Changes the daemon format, so make sure to run the daemon
with this new lorri version or you get serialization errors.
This new function makes it easy to race two threads, instead of
syncing on shared state. This also simplifies the duration code, since
all we are doing is waiting on timeouts and the stop channel.
Instead of using serde, defining a clear API boundary (preventing
breakage on refactors).
We only pass the `cas` through the `Project` constructor, never
actually using it in the project `impl`!. This means we don’t need to
burden `Project` with the cas, since it’s only used by the builder in
the end. Insead, put it on the build loop for now.

Funnily enough, `StartUserShell` does not need the project init
anymore, cause it only wanted the `cas` from it.
Collect errors and continue deleting when json is not on.
@Profpatsch Profpatsch marked this pull request as ready for review April 19, 2024 09:07
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.

1 participant