Skip to content

feat(runner): support SSH repository clone#140

Merged
pentaxis93 merged 1 commit into
mainfrom
issue-139-feat-runner-support-ssh-repository-clone
May 24, 2026
Merged

feat(runner): support SSH repository clone#140
pentaxis93 merged 1 commit into
mainfrom
issue-139-feat-runner-support-ssh-repository-clone

Conversation

@pentaxis93
Copy link
Copy Markdown
Collaborator

Summary

  • Adds SSH repository URL support for runner-managed clone setup.
  • Uses agent-scoped mounted OpenSSH material by running SSH clone as the session user with the session home.
  • Adds real Podman coverage proving SSH clone succeeds with the owning agent identity and fails without that mounted identity.

Changes

  • Accepts ssh:// and user@host:path SSH repository URLs while continuing to reject credential-bearing URLs.
  • Keeps repo_token HTTPS-only and leaves the existing HTTPS clone path unchanged.
  • Extends dispatch, unit, and session lifecycle tests, including a real SSH git server fixture.
  • Documents SSH clone requirements and records the change in the changelog.

GitHub Issue(s)

Closes #139

Test plan

  • cargo fmt --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace

Accept SSH repository URL forms and run SSH clone as the session user so mounted OpenSSH material under the agent home is used for clone authentication. Preserve HTTPS token clone behavior and cover the runtime SSH path with real Podman integration tests.

Refs #139
@pentaxis93 pentaxis93 merged commit 6441ce8 into main May 24, 2026
3 checks passed
@pentaxis93 pentaxis93 deleted the issue-139-feat-runner-support-ssh-repository-clone branch May 24, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(runner): support SSH repository clone with agent-scoped SSH identity

1 participant