Skip to content

Improve IDE settings prompt formatting and default to yes#4705

Open
anton-107 wants to merge 2 commits intoantonnek/auto-session-namesfrom
antonnek/ide-settings-prompt-improvements
Open

Improve IDE settings prompt formatting and default to yes#4705
anton-107 wants to merge 2 commits intoantonnek/auto-session-namesfrom
antonnek/ide-settings-prompt-improvements

Conversation

@anton-107
Copy link
Contributor

Summary

  • Wrap the settings JSON preview in { } with proper indentation so it stands out visually
  • Add blank lines around the settings block for padding
  • Default the "Apply these settings?" prompt to yes ([Y/n]) — pressing Enter accepts
  • Shorten inline comments (// Global setting instead of // Global setting that affects all remote ssh connections)

Stacked on #4701.

Test plan

  • Existing vscode settings tests pass
  • Manual test: verify the prompt renders with proper formatting and padding
  • Manual test: pressing Enter without typing accepts the settings

🤖 Generated with Claude Code

@eng-dev-ecosystem-bot
Copy link
Collaborator

eng-dev-ecosystem-bot commented Mar 11, 2026

Commit: b221e9b

Run: 22953999738

Env 🔄​flaky 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 8 7 268 781 4:53
💚​ aws windows 8 7 270 779 5:41
🔄​ aws-ucws linux 2 7 7 364 696 7:23
🔄​ aws-ucws windows 2 7 7 366 694 5:07
💚​ azure linux 2 9 271 779 4:48
💚​ azure windows 2 9 273 777 7:38
🔄​ azure-ucws linux 2 1 9 369 692 7:41
🔄​ azure-ucws windows 2 1 9 371 690 6:38
💚​ gcp linux 2 9 267 782 5:00
💚​ gcp windows 2 9 269 780 5:32
16 interesting tests: 7 SKIP, 6 RECOVERED, 3 flaky
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
🔄​ TestAccept 💚​R 💚​R 🔄​f 🔄​f 💚​R 💚​R 💚​R 🔄​f 💚​R 💚​R
🙈​ TestAccept/bundle/resources/permissions 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
💚​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions 💚​R 💚​R 💚​R 💚​R 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
💚​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=direct 💚​R 💚​R 💚​R 💚​R
💚​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/with_permissions/DATABRICKS_BUNDLE_ENGINE=terraform 💚​R 💚​R 💚​R 💚​R
💚​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions 💚​R 💚​R 💚​R 💚​R 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
💚​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=direct 💚​R 💚​R 💚​R 💚​R
💚​ TestAccept/bundle/resources/permissions/jobs/destroy_without_mgmtperms/without_permissions/DATABRICKS_BUNDLE_ENGINE=terraform 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/resources/postgres_branches/basic 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/recreate 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/update_protected 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_branches/without_branch_id 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/postgres_endpoints/recreate 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/synced_database_tables/basic 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🔄​ TestAccept/ssh/connect-serverless-gpu 🙈​s 🙈​s 🔄​f 🔄​f 🙈​s 🙈​s 🔄​f 🔄​f 🙈​s 🙈​s
🔄​ TestAccept/ssh/connection 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 🔄​f 💚​R 💚​R 💚​R
Top 20 slowest tests (at least 2 minutes):
duration env testname
5:10 azure windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:44 gcp windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:42 gcp windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:39 aws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:38 azure-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:17 aws-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:15 aws-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:12 azure-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
3:12 gcp linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:07 aws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
3:06 gcp linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:57 aws-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:51 aws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:51 aws-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:46 azure-ucws windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:41 aws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct
2:29 azure windows TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:25 azure linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:17 azure-ucws linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=terraform
2:12 azure linux TestAccept/bundle/resources/apps/inline_config/DATABRICKS_BUNDLE_ENGINE=direct

@anton-107 anton-107 force-pushed the antonnek/auto-session-names branch from d678d8d to 857404f Compare March 11, 2026 11:53
pietern and others added 2 commits March 11, 2026 14:01
…4693)

## Summary
- Replace `time.Now().UnixMilli()` with `nowMilli()` in testserver fake
implementations (pipelines, catalogs, external locations, registered
models) to guarantee strictly increasing millisecond timestamps
- Add a `ruleguard` lint rule to prevent `time.Now().UnixMilli()` in
`libs/testserver/` (except `fake_workspace.go` where the helper is
defined)
- Fix `CreatedAt`/`UpdatedAt` in create handlers to use the same
timestamp value, matching real API behavior

Fixes flaky test
`TestAccept/bundle/resource_deps/pipelines_recreate/DATABRICKS_BUNDLE_ENGINE=direct`
where a pipeline's `last_modified` and a job's `created_time` could
collide to the same millisecond, causing `[UNIX_TIME_MILLIS][0]` vs
`[UNIX_TIME_MILLIS][1]` index mismatch in test output.

Example failure:
https://github.com/databricks/cli/actions/runs/22710298364/job/65846540329

## Test plan
- [x] `TestAccept/bundle/resource_deps/pipelines_recreate` passes
consistently (verified with `-count=3`)
- [x] `make lintfull` passes with 0 issues
- [x] `make test` passes (template test failures are pre-existing and
unrelated)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
- Wrap settings JSON in { } with proper indentation for visual clarity
- Add blank lines around the settings block
- Default to yes (Y/n) when prompting to apply settings
- Shorten inline comments for less noise

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@anton-107 anton-107 force-pushed the antonnek/ide-settings-prompt-improvements branch from 9869d22 to b221e9b Compare March 11, 2026 13:04
@anton-107 anton-107 temporarily deployed to test-trigger-is March 11, 2026 13:05 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants