Summary
GroveService.resolveSeed / readFirst probe each candidate config path with a separate SshExecutor.readFile call (a fresh SSH process + cat per path). For a repo shipping no devcontainer.json/devfile, discovery pays up to 2 (devcontainer) + 4 (devfile) = 6 sequential SSH round trips before falling back to a default seed.
Suggestion
Collapse the path probing into a single remote shell command, e.g.:
for f in <paths...>; do [ -f "$f" ] && { echo "$f"; cat "$f"; break; }; done
turning ~6 handshakes into 1 and shortening the discovery step on every plant.
Notes
Summary
GroveService.resolveSeed/readFirstprobe each candidate config path with a separateSshExecutor.readFilecall (a fresh SSH process +catper path). For a repo shipping nodevcontainer.json/devfile, discovery pays up to 2 (devcontainer) + 4 (devfile) = 6 sequential SSH round trips before falling back to a default seed.Suggestion
Collapse the path probing into a single remote shell command, e.g.:
turning ~6 handshakes into 1 and shortening the discovery step on every plant.
Notes