Skip to content

[Internal] Use TEST_ENVIRONMENT_TYPE for integration test environment detection#1553

Draft
tanmay-db wants to merge 1 commit intomainfrom
upd-test-infra
Draft

[Internal] Use TEST_ENVIRONMENT_TYPE for integration test environment detection#1553
tanmay-db wants to merge 1 commit intomainfrom
upd-test-infra

Conversation

@tanmay-db
Copy link
Contributor

@tanmay-db tanmay-db commented Mar 17, 2026

Summary

  • Replaces ad-hoc environment variable checks (DATABRICKS_ACCOUNT_ID, TEST_METASTORE_ID, cfg.HostType()) with a single TEST_ENVIRONMENT_TYPE variable for
    determining test execution context
    • Introduces skipIfNotEnvironmentType() helper that centralizes skip logic for all four test levels: ACCOUNT, WORKSPACE, UC_ACCOUNT, UC_WORKSPACE

NO_CHANGELOG=true

Why

What changed

Interface changes

Behavioral changes

Internal changes

N/A

How is this tested?

@tanmay-db tanmay-db temporarily deployed to test-trigger-is March 17, 2026 13:23 — with GitHub Actions Inactive
@github-actions
Copy link

Please ensure that the NEXT_CHANGELOG.md file is updated with any relevant changes.
If this is not necessary for your PR, please include the following in your PR description:
NO_CHANGELOG=true
and rerun the job.

@tanmay-db tanmay-db temporarily deployed to test-trigger-is March 17, 2026 13:24 — with GitHub Actions Inactive
@github-actions
Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-go

Inputs:

  • PR number: 1553
  • Commit SHA: 45c99c50d57beaa6e9b9d222631b365107c7047e

Checks will be approved automatically on success.

@tanmay-db tanmay-db changed the title [Internal] [Internal] Use TEST_ENVIRONMENT_TYPE for integration test environment detection Mar 17, 2026
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.

1 participant