You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(deploy): thread caller_path into deployers — bare-name deploy-time spawns still resolve against daemon PATH (follow-up to #1219) #1234
Follow-up to #1219 / PR #1231, raised by CodeRabbit review there.
Problem
PR #1231 forwards the caller CLI's PATH per request and applies it to bare-name tool spawns on the build path (the five sites #1219 enumerated). The deploy path has the same class of exposure and was deliberately left out of that PR to keep it reviewable:
BuildParams.caller_path is populated in the deploy handler, but only for the pre-deploy build. The Deployer trait API, deployer construction, and Deployer::deploy do not receive caller_path.
The skip_build deploy path never constructs BuildParams at all, so caller_path currently has no carrier there.
Scope
Thread caller_path from the daemon DeployRequest (field already exists after fix(daemon): forward the caller CLI's PATH per request for bare-name tool spawns #1231) into deployer construction — likely a field on the deploy context/config struct rather than a Deployer::deploy signature change, whichever is less invasive given the trait's implementors.
Apply fbuild_core::subprocess::bare_name_path_overlay (added in fix(daemon): forward the caller CLI's PATH per request for bare-name tool spawns #1231) at deploy-time spawns that can run a bare name — audit fbuild-deploy for run_command/run_command_no_timeout calls with env: None where the program can be a bare fallback name. Provisioned absolute-path tools stay untouched (the helper no-ops for them).
Cover both the normal deploy path and skip_build.
Acceptance
A deploy whose esptool provisioning fails resolves the bare-name fallback against the requesting CLI's PATH, not the daemon's.
skip_build deploys carry caller_path the same way.
Regression tests at the deployer-construction level for both paths.
Defaults chosen by the drafting agent are listed inline — edit as needed.
Claiming this — implementation starting now (session A, the one that authored #1240). If another session is already on it, comment here before opening a PR so we don't repeat the #1231/#1236 and #1240/#1242 duplicate-implementation collisions.
Retracting the claim above — this was already resolved by #1241 (merged 03:24Z, minutes before my survey); the closure hadn't propagated when I read the open-issues list. Validation of the merged implementation on current main is running (deployer builder tests + skip_build parity test); will follow up only if anything fails.
Activity
fix(build): thread caller PATH per request into daemon tool resolution (
fix(build): thread caller PATH per request into daemon tool resolution (
feat(deploy): thread caller PATH into deployers for bare-name tool sp…
feat(deploy): thread caller PATH into deployers for bare-name tool sp…
zackees commentedon Aug 2, 2026
Claiming this — implementation starting now (session A, the one that authored #1240). If another session is already on it, comment here before opening a PR so we don't repeat the #1231/#1236 and #1240/#1242 duplicate-implementation collisions.
zackees commentedon Aug 2, 2026
Retracting the claim above — this was already resolved by #1241 (merged 03:24Z, minutes before my survey); the closure hadn't propagated when I read the open-issues list. Validation of the merged implementation on current main is running (deployer builder tests + skip_build parity test); will follow up only if anything fails.
fix(deploy): ESP32 deploy spawns the build-resolved esptool (#1618)