Skip to content

feat(deploy): thread caller_path into deployers — bare-name deploy-time spawns still resolve against daemon PATH (follow-up to #1219) #1234

Closed

Description

@zackees

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:

Scope

  1. 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.
  2. 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).
  3. 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.

Activity

  1. zackees commented on Aug 2, 2026

    @zackees
    MemberAuthor

    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.

  2. zackees commented on Aug 2, 2026

    @zackees
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions