Skip to content

Fix build command execution#1140

Merged
haixuanTao merged 3 commits intodora-rs:mainfrom
Mivik:ci
Sep 16, 2025
Merged

Fix build command execution#1140
haixuanTao merged 3 commits intodora-rs:mainfrom
Mivik:ci

Conversation

@Mivik
Copy link
Copy Markdown
Contributor

@Mivik Mivik commented Sep 16, 2025

Description

Prior to this PR, run_build_command contains wrong implementation which calls cmd.spawn() and cmd.status() sequentially, and since both invocations execute the command, each build command is executed twice. The issue is uncovered during my investigation of issue #1090 .

This PR addresses the issue by replacing cmd.status() with child.wait(). Additionally, it also changes the process backend from std to tokio to improve concurrency.

Since the issue has been resolved, #1137 is reverted to reduce verbosity of CI logs.

Related

Fixes #1090

@haixuanTao haixuanTao merged commit 59d243f into dora-rs:main Sep 16, 2025
158 checks passed
@haixuanTao
Copy link
Copy Markdown
Collaborator

That makes total sense to me. Thanks!

@phil-opp
Copy link
Copy Markdown
Collaborator

@Mivik Good catch, thanks a lot for debugging and fixing this! The mistake was introduced in 90733aa#diff-0c87941bd66817ea1d1420cbe280fa9b9f26d21c99dc91ca7a76a370e8bb57ae, where I apparently forgot to change the cmd.status() call.

@Mivik Mivik deleted the ci branch October 27, 2025 16:36
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.

Venv deadlock in CI tests

3 participants