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

Add spin-factors-executor #2692

Merged
merged 3 commits into from
Jul 30, 2024
Merged

Add spin-factors-executor #2692

merged 3 commits into from
Jul 30, 2024

Conversation

lann
Copy link
Collaborator

@lann lann commented Jul 30, 2024

This crate provides a FactorsExecutor type which extracts a large chunk of the logic currently managed by spin_trigger::TriggerExecutor. This represents spin up's particular approach to preinitializing apps and will be the primary interface for triggers to instantiate components.

Also replaced some AsMut bounds with new traits to avoid coherence problems. I should have done this initially but I was lazy and thought I could get away with it. 😐

@lann lann requested a review from rylev July 30, 2024 13:45
@lann lann marked this pull request as draft July 30, 2024 13:46
@lann
Copy link
Collaborator Author

lann commented Jul 30, 2024

woops, didn't even try to run the tests

Copy link
Collaborator

@rylev rylev left a comment

Choose a reason for hiding this comment

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

Just some nits, but otherwise looks good!

crates/factors-executor/src/lib.rs Outdated Show resolved Hide resolved
crates/factors-executor/src/lib.rs Outdated Show resolved Hide resolved
crates/factors-executor/src/lib.rs Outdated Show resolved Hide resolved
@lann lann marked this pull request as ready for review July 30, 2024 14:30
Signed-off-by: Lann Martin <[email protected]>
@lann lann merged commit 8a88d81 into fermyon:factors Jul 30, 2024
2 checks passed
@lann lann deleted the factors-executor branch July 30, 2024 14:51
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