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(daemon): Synchronize host makeBundle() #2126

Merged
merged 3 commits into from
Mar 9, 2024

Conversation

rekmarks
Copy link
Contributor

@rekmarks rekmarks commented Mar 9, 2024

Progresses: #2086

Synchronizes the host's makeBundle() following the pattern established by makeUnconfined(). Eliminates the host's
provideWorkerFormulaIdentifier(), which is everywhere replaced with the synchronous prepareWorkerFormulaIdentifier(). Performs some opportunistic refactors of makeX and incarnateX where X === 'Bundle' | 'Unconfined'.

Synchronizes the host's `makeBundle()` following the pattern established
by `makeUnconfined()`. Eliminates the host's
`provideWorkerFormulaIdentifier()`, which is everywhere replaced with
the synchronous `prepareWorkerFormulaIdentifier()`.
@rekmarks rekmarks marked this pull request as ready for review March 9, 2024 00:51
@rekmarks rekmarks requested review from kumavis and kriskowal March 9, 2024 00:51
@rekmarks rekmarks force-pushed the rekmarks-synchronize-makeBundle branch from e90ab98 to eb82858 Compare March 9, 2024 00:55
/** @type {import('./types.js').ReadableBlobFormula} */
const formula = {
type: 'readable-blob',
content: contentSha512,
Copy link
Member

Choose a reason for hiding this comment

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

It would be nice if we could use the content address as the formula identifier. That could be handy for avoiding unnecessary transfers.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rekmarks rekmarks merged commit d90350c into master Mar 9, 2024
14 checks passed
@rekmarks rekmarks deleted the rekmarks-synchronize-makeBundle branch March 9, 2024 01:02
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