Skip to content

Batch seed-discovery SSH probes into one remote command #166

Description

@scuba10steve

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions