Skip to content

Node Code Removal post it's Deprecation#9715

Open
Shekar2004 wants to merge 1 commit intoAzure:mainfrom
Shekar2004:pgnanashekar/neon-code-removal
Open

Node Code Removal post it's Deprecation#9715
Shekar2004 wants to merge 1 commit intoAzure:mainfrom
Shekar2004:pgnanashekar/neon-code-removal

Conversation

@Shekar2004
Copy link
Copy Markdown
Member

Related command

az neon

Description

The Neon Serverless Postgres extension az neon has been deprecated and is no longer supported. This PR removes all associated source code and configuration references from the repository.

###Changes:

  • Removed src/neon/ directory (entire extension source code, tests, and recordings)
  • Removed az neon → Neon mapping from service_name.json
  • Removed 10 neon command linter exclusions from linter_exclusions.yml
  • Removed Neon Postgre service attention label routing from resourceManagement.yml

Note:
Reference of neon entry from index.json was already removed in PR: #9661

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required) (N/A — extension removed)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required) (N/A — extension removed)
  • My extension version conforms to the Extension version schema (N/A — extension removed)

Copilot AI review requested due to automatic review settings March 24, 2026 05:01
@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd bot commented Mar 24, 2026

️✔️Azure CLI Extensions Breaking Change Test
️✔️Non Breaking Changes

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Hi @Shekar2004,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Mar 24, 2026

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

@github-actions
Copy link
Copy Markdown
Contributor

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 24, 2026

Hi @Shekar2004

⚠️ Release Requirements

Module: aks-preview

  • ⚠️ Please update VERSION to be 19.0.0b29 in src/aks-preview/setup.py

Module: aosm

  • ⚠️ Please update VERSION to be 2.0.0b7 in src/aosm/setup.py

Module: confluent

  • ⚠️ Please update VERSION to be 1.2.1 in src/confluent/setup.py

Module: managedcleanroom

  • ⚠️ Please update VERSION to be 1.0.0b5 in src/managedcleanroom/setup.py

Module: standbypool

  • ⚠️ Please update VERSION to be 2.1.1 in src/standbypool/setup.py

Module: stream-analytics

  • ⚠️ Please update VERSION to be 1.0.3 in src/stream-analytics/setup.py

Module: workload-orchestration

  • ⚠️ Please update VERSION to be 5.1.2 in src/workload-orchestration/setup.py

Notes

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes the deprecated az neon (Neon Serverless Postgres) Azure CLI extension from this repository, including its remaining command metadata and repo-level configuration references.

Changes:

  • Removed the az neon service mapping entry from src/service_name.json.
  • Removed Neon-specific command linter exclusions and GitHub issue-routing policy rules.
  • Deleted the Neon extension source, AAZ command modules, and test suite/recordings under src/neon/.

Reviewed changes

Copilot reviewed 69 out of 70 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/service_name.json Removes az neon → Neon service mapping entry.
linter_exclusions.yml Removes Neon command/group linter exclusions.
.github/policies/resourceManagement.yml Removes label-based routing for Neon service attention issues.
src/neon/setup.py Deletes Neon extension packaging script.
src/neon/setup.cfg Deletes Neon extension packaging config stub.
src/neon/linter_exclusions.yml Deletes Neon extension-local linter exclusions.
src/neon/README.md Deletes Neon extension documentation.
src/neon/HISTORY.rst Deletes Neon extension changelog.
src/neon/azext_neon/init.py Deletes Neon extension command loader (including deprecation warning code).
src/neon/azext_neon/_breaking_change.py Deletes Neon breaking-change/deprecation registration.
src/neon/azext_neon/_help.py Deletes Neon help entries.
src/neon/azext_neon/_params.py Deletes Neon argument loader stub.
src/neon/azext_neon/azext_metadata.json Deletes Neon extension metadata.
src/neon/azext_neon/commands.py Deletes Neon command table loader stub.
src/neon/azext_neon/custom.py Deletes Neon custom module stub.
src/neon/azext_neon/aaz/init.py Deletes Neon AAZ package root.
src/neon/azext_neon/aaz/latest/init.py Deletes Neon AAZ latest package marker.
src/neon/azext_neon/aaz/latest/neon/init.py Deletes Neon AAZ command group package init.
src/neon/azext_neon/aaz/latest/neon/__cmd_group.py Deletes Neon AAZ top-level command group definition.
src/neon/azext_neon/aaz/latest/neon/postgres/init.py Deletes Neon Postgres AAZ package init.
src/neon/azext_neon/aaz/latest/neon/postgres/__cmd_group.py Deletes Neon Postgres AAZ command group definition.
src/neon/azext_neon/aaz/latest/neon/postgres/_get_postgres_version.py Deletes Neon “get-postgres-version” AAZ command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/organization/init.py Deletes Neon organization command package init.
src/neon/azext_neon/aaz/latest/neon/postgres/organization/__cmd_group.py Deletes Neon organization command group definition.
src/neon/azext_neon/aaz/latest/neon/postgres/organization/_delete.py Deletes Neon organization delete command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/project/init.py Deletes Neon project command package init.
src/neon/azext_neon/aaz/latest/neon/postgres/project/__cmd_group.py Deletes Neon project command group definition.
src/neon/azext_neon/aaz/latest/neon/postgres/project/_list.py Deletes Neon project list command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/project/_show.py Deletes Neon project show command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/project/_get_connection_uri.py Deletes Neon project get-connection-uri command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/project/_delete.py Deletes Neon project delete command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/branch/init.py Deletes Neon branch command package init.
src/neon/azext_neon/aaz/latest/neon/postgres/branch/__cmd_group.py Deletes Neon branch command group definition.
src/neon/azext_neon/aaz/latest/neon/postgres/branch/_create.py Deletes Neon branch create command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/branch/_list.py Deletes Neon branch list command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/branch/_show.py Deletes Neon branch show command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/branch/_update.py Deletes Neon branch update command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/branch/_delete.py Deletes Neon branch delete command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/endpoint/init.py Deletes Neon endpoint command package init.
src/neon/azext_neon/aaz/latest/neon/postgres/endpoint/__cmd_group.py Deletes Neon endpoint command group definition.
src/neon/azext_neon/aaz/latest/neon/postgres/endpoint/_create.py Deletes Neon endpoint create command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/endpoint/_list.py Deletes Neon endpoint list command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/endpoint/_delete.py Deletes Neon endpoint delete command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/neon_database/init.py Deletes Neon database command package init.
src/neon/azext_neon/aaz/latest/neon/postgres/neon_database/__cmd_group.py Deletes Neon database command group definition.
src/neon/azext_neon/aaz/latest/neon/postgres/neon_database/_create.py Deletes Neon database create command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/neon_database/_list.py Deletes Neon database list command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/neon_database/_delete.py Deletes Neon database delete command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/neon_role/init.py Deletes Neon role command package init.
src/neon/azext_neon/aaz/latest/neon/postgres/neon_role/__cmd_group.py Deletes Neon role command group definition.
src/neon/azext_neon/aaz/latest/neon/postgres/neon_role/_create.py Deletes Neon role create command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/neon_role/_list.py Deletes Neon role list command implementation.
src/neon/azext_neon/aaz/latest/neon/postgres/neon_role/_delete.py Deletes Neon role delete command implementation.
src/neon/azext_neon/tests/init.py Deletes Neon test package marker.
src/neon/azext_neon/tests/README.md Deletes Neon test suite documentation.
src/neon/azext_neon/tests/test_config.py Deletes Neon test constants/config.
src/neon/azext_neon/tests/test_requirements.txt Deletes Neon test dependency list.
src/neon/azext_neon/tests/latest/init.py Deletes Neon latest-tests package marker.
src/neon/azext_neon/tests/latest/test_neon.py Deletes Neon scenario tests.
src/neon/azext_neon/tests/latest/recordings/test_neon_endpoint_commands.yaml Deletes Neon endpoint test recording.
src/neon/azext_neon/tests/latest/recordings/test_neon_database_commands.yaml Deletes Neon database test recording.
src/neon/azext_neon/tests/latest/recordings/test_neon_role_commands.yaml Deletes Neon role test recording.

@Shekar2004
Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Commenter does not have sufficient privileges for PR 9715 in repo Azure/azure-cli-extensions

@Shekar2004
Copy link
Copy Markdown
Member Author

@yonzhan, @kairu-ms, @wangzelin007 Please run the command '/azp run' to run the required pipelines and review the PR.

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Mar 24, 2026

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

@yonzhan yonzhan requested a review from necusjz March 24, 2026 06:02
@necusjz
Copy link
Copy Markdown
Member

necusjz commented Mar 24, 2026

plz sync with the latest main branch.

@Shekar2004 Shekar2004 closed this Mar 28, 2026
@Shekar2004 Shekar2004 force-pushed the pgnanashekar/neon-code-removal branch from ae4138c to ddb8148 Compare March 28, 2026 16:54
@github-actions
Copy link
Copy Markdown
Contributor

CodeGen Tools Feedback Collection

Thank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey

@github-actions github-actions bot added the release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. label Mar 28, 2026
@Shekar2004
Copy link
Copy Markdown
Member Author

Merge with latest changes in main Please trigger the Pipeline and review the PR

@necusjz

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Mar 29, 2026

Please fix CI issues

@necusjz
Copy link
Copy Markdown
Member

necusjz commented Mar 30, 2026

/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

release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants