harness without command spawns into controller mode instead of local development mode #3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Calling 'harness' by itself now opens into the controller mode (like 'harness controller'). It should instead open into the local development mode in the current workdir as previously.
Fixed on
maininfe84b36, released asv0.10.1.Root cause: commit
cc2b1a5made the defaultharnesspath resolve the controller URL fromHARNESS_CONTROLLER_URLandcontroller_url, so a configured or exported controller silently selected the fleet view.HARNESS_CONTROLLER_URLis also read byagentdfor inter-agent messaging, so exporting it changed the default command.Fix:
harnesscommand enters controller mode only with an explicit--controller <url>(a URL is required); otherwise it always runs a local agent in the workdir, regardless ofcontroller_url/HARNESS_CONTROLLER_URL.harness controllersubcommand resolving--controller>HARNESS_CONTROLLER_URL>controller_url, preserving config-driven fleet entry.spawn/fetch/rmare unchanged.README.md,docs/e2e.md,docs/multi-agent.md; addedTestFleetTargetOnlyExplicitFlagandTestRunControllerRequiresURL.Leaving open for verification.