Skip to content

ssh: record the serverless environment version in tunnel telemetry - #7265

Merged
rclarey merged 2 commits into
mainfrom
deco-28307-ssh-telemetry-environment-version
Nov 6, 2026
Merged

rclarey merged 2 commits into
mainfrom
deco-28307-ssh-telemetry-environment-version

Conversation

@anton-107

@anton-107 anton-107 commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Changes

Add environment_version to the ssh tunnel telemetry event. It holds the serverless environment version the server job is submitted with: the --environment-version value or the default. It is unset for dedicated clusters and for a custom base environment. The job submit path and the event now read the value from one helper.

Why

The tunnel's default is still environment 4. Moving it to 5 is planned once the REPL sandbox port forwarding reaches every region (DECO-28307). The event has no environment field today, so neither opt-in adoption nor the effect of the flip can be measured.

Tests

  • A unit test covers the event mapping (default, explicit, dedicated, base environment).
  • go test ./acceptance -run TestAccept/ssh passes, and the submitted environment_version is unchanged.

This pull request and its description were written by Isaac.

The CLI default is still environment 4, and moving it to 5 is planned
once the driver's sandbox port forwarding reaches every region. The
tunnel event has no environment field today, so neither opt-in adoption
nor the effect of the flip can be measured.

Send the environment version the server job is submitted with. The
submit path and the event now read it from one helper, so the two cannot
drift. Dedicated clusters and custom base environments leave it unset.

The matching proto field lands in universe separately; ingestion drops
the field until then.

Co-authored-by: Isaac <no-reply@databricks.com>
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: 3fd3381

Run: 42031915341

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 271 15 4:26
✅​ aws-windows-latest-4core-16gb 273 13 3:37
✅​ azure linux-2core-8gb 270 15 4:22
✅​ azure-windows-latest-4core-16gb 272 13 3:31
✅​ gcp linux-2core-8gb 271 15 4:59
✅​ gcp-windows-latest-4core-16gb 273 13 3:31
Top 3 slowest tests (at least 2 minutes):
duration env testname
3:22 azure-windows-latest-4core-16gb TestAccept
3:11 aws-windows-latest-4core-16gb TestAccept
3:04 gcp-windows-latest-4core-16gb TestAccept

…try-environment-version

# Conflicts:
#	experimental/ssh/internal/client/client.go
@rclarey
rclarey marked this pull request as ready for review November 6, 2026 10:12
@rclarey
rclarey requested review from a team as code owners November 6, 2026 10:12
@rclarey
rclarey added this pull request to the merge queue Nov 6, 2026
Merged via the queue into main with commit e4d353f Nov 6, 2026
30 checks passed
@rclarey
rclarey deleted the deco-28307-ssh-telemetry-environment-version branch November 6, 2026 15: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.

3 participants