Skip to content

refactor(executor): defer Command creation to when execute() called#44

Merged
chawyehsu merged 1 commit into
mainfrom
push-ooszvqqnklmu
May 31, 2026
Merged

refactor(executor): defer Command creation to when execute() called#44
chawyehsu merged 1 commit into
mainfrom
push-ooszvqqnklmu

Conversation

@chawyehsu

@chawyehsu chawyehsu commented May 31, 2026

Copy link
Copy Markdown
Owner

This prepares us for a subsequent refactoring of create_command in #41 . Deferring the creation of Command means we don't need to make a second call to check if an executable exists after refactoring create_command. This PR is a part separated from #41 and does not contain any functional changes.

Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>
@codecov

codecov Bot commented May 31, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.91667% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.21%. Comparing base (8093de4) to head (e641dac).

Files with missing lines Patch % Lines
crates/volta-core/src/run/executor.rs 97.91% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #44      +/-   ##
==========================================
+ Coverage   75.10%   75.21%   +0.10%     
==========================================
  Files         105      105              
  Lines       10510    10556      +46     
==========================================
+ Hits         7894     7940      +46     
  Misses       2616     2616              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@chawyehsu chawyehsu merged commit efbac83 into main May 31, 2026
12 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.

1 participant