Skip to content

fix: relink the frontend to playbook system#150

Open
lleyton wants to merge 1 commit intomainfrom
fix/relink-frontend
Open

fix: relink the frontend to playbook system#150
lleyton wants to merge 1 commit intomainfrom
fix/relink-frontend

Conversation

@lleyton
Copy link
Copy Markdown
Member

@lleyton lleyton commented Mar 24, 2026

No description provided.

Co-authored-by: madonuko <madonuko@outlook.com>
Co-authored-by: Cappy Ishihara <cappy@cappuchino.xyz>
#[enum_dispatch(Module)]
pub trait PostInstallModule {
#[must_use]
fn name(&self) -> &'static str;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

we need a way to get a human readable name


s.spawn(move || {
while let Ok(progress) = rx.recv() {
dbg!(progress);
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

we need better output

)
}

pub fn install_using_subprocess<F>(playbook: &Playbook, mut on_progress: F) -> Result<()>
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

hmm, feels dirty

filesystem_provisioner.run(self, &mounts)?;
}
#[derive(Clone, Debug, Serialize, Deserialize)]
pub enum PlaybookProgress {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

types need more consideration

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

we also should really use a guard here for the thread-local cleanup

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