Skip to content

fix: relink the frontend to playbook system - #150

Merged
madonuko merged 7 commits into
mainfrom
fix/relink-frontend
May 24, 2026
Merged

fix: relink the frontend to playbook system#150
madonuko merged 7 commits into
mainfrom
fix/relink-frontend

Conversation

@lleyton

@lleyton lleyton commented Mar 24, 2026

Copy link
Copy Markdown
Member

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

Comment thread src/state.rs
)
}

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

@madonuko
madonuko merged commit ccdf092 into main May 24, 2026
15 of 16 checks passed
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