Skip to content

Use LibSSH v1 for the tests - #72

Merged
JamesWrigley merged 1 commit into
masterfrom
libssh
Jul 25, 2026
Merged

Use LibSSH v1 for the tests#72
JamesWrigley merged 1 commit into
masterfrom
libssh

Conversation

@JamesWrigley

Copy link
Copy Markdown
Collaborator

v1 is threadsafe so the SSH tests don't need to be run single-threaded anymore.

@JamesWrigley JamesWrigley self-assigned this Jul 24, 2026
@JamesWrigley JamesWrigley added the dependencies Pull requests that update a dependency file label Jul 24, 2026
Comment thread test/runtests.jl Outdated
JULIA_NUM_THREADS = "1"
end
run(addenv(`$cmd $sshtestfile`, "JULIA_NUM_THREADS" => "1"))
run(`$cmd $sshtestfile`)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you actually need to run this in a separate process?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question, I actually don't think so 🤔 IIRC it was meant to be run as a standalone file in Distributed because it wasn't possible to run automatically with a properly configured SSH server.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it was to force single-threaded julia, which isn't needed anymore

@JamesWrigley JamesWrigley Jul 24, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah probably also that. Looks like it works 👍

EDIT: or not...

@codecov

codecov Bot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.78%. Comparing base (d5a4589) to head (1be6283).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
+ Coverage   88.64%   88.78%   +0.13%     
==========================================
  Files          13       13              
  Lines        2273     2273              
==========================================
+ Hits         2015     2018       +3     
+ Misses        258      255       -3     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

v1 is threadsafe so the SSH tests don't need to be run single-threaded
anymore. The SSH tests spun up a lot of workers so some hardcoded worker IDs
elsewhere needed to be fixed.
@JamesWrigley
JamesWrigley merged commit 50d15ab into master Jul 25, 2026
13 checks passed
@JamesWrigley
JamesWrigley deleted the libssh branch July 25, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants