Skip to content

Add databricks auth switch command for setting the default profile #3038

Add databricks auth switch command for setting the default profile

Add databricks auth switch command for setting the default profile #3038

Triggered via pull request March 6, 2026 20:37
Status Failure
Total duration 2m 6s
Artifacts

check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint
Process completed with exit code 1.
lint: cmd/root/auth_test.go#L425
ruleguard: Do not use context.Background(); use t.Context() in tests or pass context from caller (gocritic)
lint: cmd/root/auth_test.go#L388
ruleguard: Do not use context.Background(); use t.Context() in tests or pass context from caller (gocritic)
lint: cmd/auth/switch_test.go#L100
ruleguard: Do not use context.Background(); use t.Context() in tests or pass context from caller (gocritic)
lint: cmd/auth/switch_test.go#L74
ruleguard: Do not use context.Background(); use t.Context() in tests or pass context from caller (gocritic)
lint: cmd/auth/switch_test.go#L48
ruleguard: Do not use context.Background(); use t.Context() in tests or pass context from caller (gocritic)
lint: cmd/auth/switch_test.go#L18
ruleguard: Do not use context.Background(); use t.Context() in tests or pass context from caller (gocritic)
lint: cmd/auth/login_test.go#L280
ruleguard: Do not use context.Background(); use t.Context() in tests or pass context from caller (gocritic)
lint: cmd/auth/login_test.go#L271
ruleguard: Do not use context.Background(); use t.Context() in tests or pass context from caller (gocritic)
lint: cmd/auth/login_test.go#L265
ruleguard: Do not use context.Background(); use t.Context() in tests or pass context from caller (gocritic)