Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

405 Error when modifying short names for commands

Open
#430 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
cli, tooling

Research direction

Start by running the documented aaz-dev run command and reproduce the GUI edit that sends PATCH to /AAZ/Editor/Workspaces/{workspace}/CommandTree/Nodes/{node}. Trace how the codegen server handles that endpoint and determine why it returns 405. Done means short command summaries can be modified through the GUI without the 405 response.

Written by the indexing model from the issue text.

Description

I am running the codegen server locally on WSL, and am hitting an issue adding short dummaries to commands in the GUI:

image

(azcli) developer@DESKTOP-10GJ18A ~/ado $ aaz-dev run -c azure-cli -e azure-cli-extensions/ -s azure-rest-api-specs-pr/ -a aaz/

  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: off
    /home/developer/ado/azcli/lib/python3.8/site-packages/fuzzywuzzy/fuzz.py:11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
    warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')
    INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on http://127.0.0.1:5000
    INFO:werkzeug:Press CTRL+C to quit
    tcgetpgrp failed: Not a tty
    INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET / HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET /static/js/main.5e3a54b4.js HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET /static/css/main.e6c13ad2.css HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET /manifest.json HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET /favicon.ico HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET /logo192.png HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET / HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET /static/js/main.5e3a54b4.js HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET /static/css/main.e6c13ad2.css HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET /AAZ/Editor/Workspaces HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET /manifest.json HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET /logo192.png HTTP/1.1" 304 -
    INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:06] "GET /AAZ/Specs/Planes HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:06] "GET /AAZ/Editor/Workspaces/mobilenetwork-andrew HTTP/1.1" 200 -
    INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:20] "PATCH /AAZ/Editor/Workspaces/mobilenetwork-andrew/CommandTree/Nodes/aaz/mobile-network/packet-core-control-plane HTTP/1.1" 405 -

After following https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/teams_docs/azcli_docs/setup_for_codegen

Dominant language
Python
Stars
91
Forks
134
Avg merge
2h 51m
Merged PRs (30d)
1

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/azure-cli-dev-tools

All issues in Azure/azure-cli-dev-tools

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.