Skip to content

POC: run a CLI acceptance test against DMS in Litebox - #6780

Draft
shreyas-goenka wants to merge 2 commits into
mainfrom
isaac/dms-litebox-acceptance-poc
Draft

shreyas-goenka wants to merge 2 commits into
mainfrom
isaac/dms-litebox-acceptance-poc

Conversation

@shreyas-goenka

@shreyas-goenka shreyas-goenka commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Changes

Add opt-in acceptance-runner routing for DMS requests to a loopback Litebox using verified mTLS. Other workspace APIs remain mocked; upstream failures do not fall back to the mock.

Add one empty-list acceptance script and a lightweight TestDMSLitebox entry point that reuses the in-process CLI runner without building unrelated tools or downloading older CLI releases.

Why

POC for running CLI main's Go acceptance tests against the Java DMS image built by a Universe PR. No LiteSwap workspace or workspace credential is involved.

Companion Universe CI job and wrapper: https://github.com/databricks-eng/universe/pull/2653507.

The normal local suite uses an empty-workspace fixture for the currently unmodeled list endpoint; Litebox routing overrides that fixture. Full bundle deployment coverage is intentionally out of scope: the CLI and LITE workspace fakes must share TreeNodes before write scenarios can work.

Tests

  • Adapter tests pass: mutual TLS, request/query/body and status/header preservation, recording, non-DMS mocks, disabled mode, and fail-closed transport/TLS failures.
  • The complete Universe wrapper passed against the real, locally compiled Java DMS in Litebox using this PR at 2c42230150b60300a09775f6d91f265badd39346: API readiness, exactly one Go acceptance case, and teardown all succeeded (exit 0). LITE confirmed removal of both test containers.
  • The script also passed on the normal mock path and against a local mTLS protocol fixture.
  • golangci-lint: 0 issues for the changed acceptance packages.

@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Sep 21, 2026

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 2c42230

Run: 35659917583

Env ✅​pass 🙈​skip Time
✅​ aws linux 276 17 3:59
✅​ aws windows 278 15 3:44
✅​ azure linux 275 17 4:24
✅​ azure windows 277 15 4:10
✅​ gcp linux 276 17 4:06
✅​ gcp windows 278 15 4:35
Top 3 slowest tests (at least 2 minutes):
duration env testname
4:33 gcp windows TestAccept
4:08 azure windows TestAccept
3:43 aws windows TestAccept

This branch has not been deployed

No deployments
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