Skip to content

Add optional --fast-mode flag to skip heavy preflight checks - #28

Open
ARULGNANAKUMAR wants to merge 1 commit into
pinecone-io:mainfrom
ARULGNANAKUMAR:add-fast-mode-flag-1
Open

Add optional --fast-mode flag to skip heavy preflight checks#28
ARULGNANAKUMAR wants to merge 1 commit into
pinecone-io:mainfrom
ARULGNANAKUMAR:add-fast-mode-flag-1

Conversation

@ARULGNANAKUMAR

@ARULGNANAKUMAR ARULGNANAKUMAR commented Mar 27, 2026

Copy link
Copy Markdown

Introduces --fast-mode flag to reduce wizard startup time by skipping heavy quota and network validation checks.

This PR introduces an optional --fast-mode flag to reduce wizard startup time by skipping heavy quota and network validation checks.

  • Default behavior remains unchanged
  • Intended for development/testing use
  • No breaking changes

Problem

Describe the purpose of this change. What problem is being solved and why?

Solution

Describe the approach you took. Link to any relevant bugs, issues, docs, or other resources.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Infrastructure change (CI configs, etc)
  • Non-code change (docs, etc)
  • None of the above: (explain here)

Test Plan

Describe specific steps for validating this change.


Note

Medium Risk
Adds an opt-in path that skips quota/capacity validation across AWS/GCP/Azure, which could let users proceed with unsupported deployments if used unintentionally. Default behavior is unchanged, so impact is limited to callers enabling the flag.

Overview
Adds an optional --fast-mode flag to the BYOC setup wizard that skips heavy quota/capacity preflight checks while still running basic validation (AZ/zone availability and CIDR conflict checks) for AWS, GCP, and Azure.

Propagates fast_mode from run_setup() through each wizard into the cloud-specific *PreflightChecker, prints a prominent warning when fast mode is enabled, and standardizes console status icons from ✓/✗/⚠ to v/x/!.

Written by Cursor Bugbot for commit fe9cc1c. This will update automatically on new commits. Configure here.

Introduces --fast-mode flag to reduce wizard startup time 
by skipping heavy quota and network validation checks.

This PR introduces an optional --fast-mode flag to reduce wizard startup time 
by skipping heavy quota and network validation checks.

- Default behavior remains unchanged
- Intended for development/testing use
- No breaking changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Comment thread setup/wizard.py
response.read()

console.print(" [green][/] API key is valid")
console.print(" [green]v[/] API key is valid")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unicode status symbols replaced with plain ASCII letters

Medium Severity

All unicode status symbols throughout the file have been replaced with plain ASCII letters — v, x, and !. This affects ~40 lines across all cloud providers and all code paths, not just fast-mode. A green v is not a recognizable success indicator the way is, making CLI output harder to scan. This appears to be an unintentional change bundled with the --fast-mode feature, possibly caused by an editor or tool stripping unicode characters.

Additional Locations (2)
Fix in Cursor Fix in Web

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