Skip to content

Quantum: Remove the unused job --storage option and legacy SDK storage support - #10541

Draft
v-elegacheva wants to merge 4 commits into
Azure:mainfrom
v-elegacheva:ekat/quantum-deprecate-storage-connection-string
Draft

v-elegacheva wants to merge 4 commits into
Azure:mainfrom
v-elegacheva:ekat/quantum-deprecate-storage-connection-string

Conversation

@v-elegacheva

@v-elegacheva v-elegacheva commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Remove storage connection-string overrides from the Quantum CLI and its vendored SDK.

Changes

  • Remove --storage from az quantum job submit, az quantum run and az quantum execute.
  • Remove the vendored SDK's explicit storage parameter and obsolete connection-string based storage helpers, aligning with the upstream SDK change.
  • Reject the removed CLI option with migration guidance, without echoing its value in normal error output or command-log error entries.
  • Update help, documentation, release notes, and regression tests.
  • Leave workspace creation's --storage-account option and workspace-authentication connection strings unchaged.

Save CLI and vendored SDK removal, regression tests, and migration guidance. New changes have not been tested.
@microsoft-github-policy-service microsoft-github-policy-service Bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Oct 30, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

Thank you for your contribution v-elegacheva! We will review the pull request and get back to you soon.

@x-engineering-agent
x-engineering-agent Bot requested a review from a team October 30, 2026 18:37
@v-elegacheva v-elegacheva changed the title [Quantum] Remove storage connection-string overrides Quantum: Remove the unused job --storage option and legacy SDK storage support Oct 30, 2026
Keep workspace creation changes owned by PR Azure#10478 and preserve the standalone job storage removal. Rename the shared command-parser test helper to reflect its workspace and job usage.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are reported for the change removing per-job storage overrides in favor of workspace-linked storage.

No open issues 🎉

What changed in this PR

Removes the unused per-job --storage option and legacy storage overrides from the Quantum extension’s vendored SDK, keeping jobs on workspace-linked storage.

Changes:

  • Removes --storage from job commands and adds migration errors that do not echo its value.
  • Removes SDK storage connection-string overrides and obsolete container helpers.
  • Adds regression tests, updates migration documentation and help, and bumps the version to 1.0.0b32.
File Description
src/​quantum/​setup.py Bumps the extension version to 1.0.0b32.
src/​quantum/​README.rst Documents option removal and migration guidance.
src/​quantum/​HISTORY.rst Records the breaking change and SDK cleanup.
src/​quantum/​azext_quantum/​vendored_sdks/​azure_quantum_python/​workspace.py Removes storage overrides and uses linked storage exclusively.
src/​quantum/​azext_quantum/​vendored_sdks/​azure_quantum_python/​storage.py Removes obsolete connection-string container helpers.
src/​quantum/​azext_quantum/​tests/​latest/​test_quantum_workspace.py Tests SDK argument rejection and linked-storage behavior.
src/​quantum/​azext_quantum/​tests/​latest/​test_quantum_jobs.py Tests parsing, safe rejection, help, and job submission.
src/​quantum/​azext_quantum/​operations/​job.py Removes storage parameters and forwards optional arguments by keyword.
src/​quantum/​azext_quantum/​_params.py Removes job storage argument registration.
src/​quantum/​azext_quantum/​_help.py Clarifies workspace-linked storage behavior.
src/​quantum/​azext_quantum/​__init__.py Adds a pre-parse guard for removed storage options.

Review effort: Balanced

@yonzhan

Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

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

Labels

act-codegen-extensibility-squad Auto-Assign Auto assign by bot customer-reported Issues that are reported by GitHub users external to the Azure organization. Quantum az quantum

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants