Skip to content

fix: await runner task in headless mode before exiting - #4

Open
Emran-goat wants to merge 1 commit into
sumant1122:mainfrom
Emran-goat:fix/headless-history-completion
Open

fix: await runner task in headless mode before exiting#4
Emran-goat wants to merge 1 commit into
sumant1122:mainfrom
Emran-goat:fix/headless-history-completion

Conversation

@Emran-goat

@Emran-goat Emran-goat commented Jul 22, 2026

Copy link
Copy Markdown

in headless mode the runner task got spawned with tokio::spawn but the joinhandle was never stored. when all jobs finished the function would either return or call process::exit immediately. any post-pipeline hooks or build history writes that were still in flight would just get cut off.\n\nstoring the joinhandle and awaiting it after all jobs complete means hooks run and history gets saved to disk before the process exits.

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