Skip to content

acc: run ssh/connection locally#5907

Open
radakam wants to merge 2 commits into
mainfrom
acc-local-ssh-connection
Open

acc: run ssh/connection locally#5907
radakam wants to merge 2 commits into
mainfrom
acc-local-ssh-connection

Conversation

@radakam

@radakam radakam commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Changes

The dedicated-cluster counterpart to acceptance/ssh/connect-serverless-gpu (#5878). Flips acceptance/ssh/connection to Local = true and asserts the bootstrap job the CLI submits for ssh connect --cluster (existing_cluster_id, secret scope, notebook task, serverless=false), reusing the testserver SSH-tunnel stubs from #5878.

The default test cluster (TestDefaultClusterId) is now a running dedicated single-user cluster — the shape ssh connect --cluster requires (ValidateClusterAccess rejects anything else), matching the cloud TEST_DEFAULT_CLUSTER_ID it stands in for. Only bundle/deployment/bind/cluster (filters to cluster_name) and the cmd/api route stubs reference it, so no other goldens change.

Tests

  • acceptance/ssh/connection (asserts the submitted dedicated-cluster bootstrap job payload)

Flip acceptance/ssh/connection to Local = true so it runs against the
in-process testserver (it was disabled on both cloud and local in #4838).
This is the dedicated-cluster counterpart to connect-serverless-gpu: a full
SSH handshake can't complete locally (no real compute/sshd + a wss
driver-proxy), so the local run drives the connect flow up to the connection
attempt and asserts the dedicated-cluster bootstrap job the CLI submits
(existing_cluster_id, secret scope, notebook task, serverless=false).

Make the default test cluster a running dedicated single-user cluster so
`ssh connect --cluster` passes ValidateClusterAccess and the cluster-state
check, matching the cloud TEST_DEFAULT_CLUSTER_ID this fixture stands in for.

The connect attempt itself is expected to fail locally; its noisy output
goes to LOG.stderr (excluded from the golden files).
@radakam radakam temporarily deployed to test-trigger-is July 13, 2026 13:17 — with GitHub Actions Inactive
@radakam radakam temporarily deployed to test-trigger-is July 13, 2026 13:45 — with GitHub Actions Inactive
@radakam radakam temporarily deployed to test-trigger-is July 13, 2026 13:45 — with GitHub Actions Inactive
@radakam radakam marked this pull request as ready for review July 13, 2026 13:56
@github-actions

Copy link
Copy Markdown
Contributor

Waiting for approval

Based on git history, these people are best suited to review:

  • @denik -- recent work in libs/testserver/, acceptance/ssh/connection/
  • @pietern -- recent work in libs/testserver/

Eligible reviewers: @andrewnester, @anton-107, @janniklasrose, @lennartkats-db, @renaudhartert-db, @shreyas-goenka, @simonfaltum

Suggestions based on git history. See OWNERS for ownership rules.

@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 1fc5b95

Run: 29255053901

Env 🟨​KNOWN 🔄​flaky 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 4 4 230 1081 5:09
💚​ aws windows 4 4 232 1079 7:24
💚​ aws-ucws linux 4 4 316 998 5:35
💚​ aws-ucws windows 4 4 318 996 7:38
💚​ azure linux 4 4 230 1080 4:53
💚​ azure windows 4 4 232 1078 7:11
💚​ azure-ucws linux 4 4 318 995 6:03
🟨​ azure-ucws windows 3 1 4 320 993 11:53
🔄​ gcp linux 1 3 4 229 1082 6:29
💚​ gcp windows 4 4 231 1080 7:20
8 interesting tests: 4 SKIP, 3 KNOWN, 1 RECOVERED
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🟨​ TestFetchRepositoryInfoAPI_FromRepo 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 🟨​K 🔄​f 💚​R
🟨​ TestFetchRepositoryInfoAPI_FromRepo/root 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 🟨​K 💚​R 💚​R
🟨​ TestFetchRepositoryInfoAPI_FromRepo/subdir 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 🟨​K 💚​R 💚​R
Top 10 slowest tests (at least 2 minutes):
duration env testname
6:43 azure-ucws windows TestAccept
6:26 gcp windows TestAccept
6:24 aws windows TestAccept
6:21 aws-ucws windows TestAccept
6:10 azure windows TestAccept
3:04 gcp linux TestAccept
2:56 aws linux TestAccept
2:54 azure linux TestAccept
2:49 azure-ucws linux TestAccept
2:41 aws-ucws linux TestAccept

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.

2 participants