• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

umputun / spot / 36337990196
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: ssh-agent-prefer-key
DEFAULT BRANCH: master
Ran 27 Sep 2026 06:34PM UTC
Jobs 1
Files 19
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Sep 2026 05:37PM UTC coverage: 84.818% (+0.2%) from 84.642%
36337990196

Pull #371

github

pmaseberg
fix: bound the agent key listing by the connector timeout

resolvePreferredKey called List() with no deadline, so with --ssh-agent and
-k an agent that accepts the connection but never replies blocked WithAgent.
makeRunner calls it before the mode branches, so --local, --gen and
local-only tasks hung at startup, and Ctrl-C didn't stop it. The agent
connection now gets the connector timeout as its deadline, zero meaning no
deadline as in sshClient; the WARN and public key fallback are unchanged.

publicKeyFor and preferKey are now Connector methods. README mentions that
PEM-encrypted keys need the .pub too, same as sk keys.

Related to #370
Pull Request #371: fix: offer the agent key matching -k first when --ssh-agent is set

60 of 74 new or added lines in 1 file covered. (81.08%)

3475 of 4097 relevant lines covered (84.82%)

64.33 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
65.5
13.53% pkg/executor/connector.go
Jobs
ID Job ID Ran Files Coverage
1 36337990196.1 27 Sep 2026 06:34PM UTC 19
84.82
GitHub Action Run
Source Files on build 36337990196
  • Tree
  • List 19
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #371
  • PR Base - master (#34506714424)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc