Skip to content

Add recovery UX for Python download failures - #2164

Draft
rugpanov wants to merge 3 commits into
mainfrom
python-install-fallback
Draft

Add recovery UX for Python download failures#2164
rugpanov wants to merge 3 commits into
mainfrom
python-install-fallback

Conversation

@rugpanov

@rugpanov rugpanov commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Changes

  • consume the CLI categorical Python-resolution result
  • explain when setup succeeded using a compatible installed interpreter
  • offer the existing Python interpreter picker after download failure or a later fallback failure, without retrying setup
  • keep report links in the setup log when manual selection is the primary action
  • record only categorical install-flow telemetry; no interpreter version or path

Depends on databricks/cli#6457 for the new optional result field. The bundled CLI is intentionally unchanged until that contract is released.

Tests

  • TDD coverage for fallback success copy, manual recovery, no retry, action priority, cancellation, and telemetry allowlisting
  • yarn test (1,023 passing, 10 pending; one pre-existing lint warning)
@rugpanov

rugpanov commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Integration tests ❌ 3 of 4 test jobs failed for 1a117672 (0 passed, 1 skipped).
View run

@rugpanov
rugpanov force-pushed the python-install-fallback branch from 1a11767 to b5f6aed Compare September 1, 2026 12:28
@rugpanov
rugpanov deployed to test-trigger-is September 1, 2026 12:28 — with GitHub Actions Active
@rugpanov
rugpanov deployed to test-trigger-is September 1, 2026 12:28 — with GitHub Actions Active
@rugpanov

rugpanov commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Integration tests triggered for b5f6aed4 — ⏳ running.
View run

@rugpanov
rugpanov deployed to test-trigger-is September 1, 2026 12:41 — with GitHub Actions Active
@rugpanov
rugpanov deployed to test-trigger-is September 1, 2026 12:42 — with GitHub Actions Active
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

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

Trigger:
go/deco-tests-run/vscode

Inputs:

  • PR number: 2164
  • Commit SHA: a2c553d90161fd0488d5433b92b0a16397d933b6

Checks will be approved automatically on success.

@rugpanov

rugpanov commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Integration tests ✅ all 41 test jobs passed for a2c553d9.
View run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant