405 Error when modifying short names for commands
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
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:
(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 -
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/azure-cli-dev-tools
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
Azure/azure-cli-dev-tools#310 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
Azure/azure-cli-dev-tools#529 ·
-
Check random default into metadata change whitelist.txtMay be free again @AllyW claimed this 509 days ago, and no pull request is open. Open
Azure/azure-cli-dev-tools#525 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Azure/azure-cli-dev-tools#520 ·
-
`azdev extension remove` does not clear its corresponding source code path in `sys.path` when its package name is not its folder nameMay be free again @AllyW claimed this 546 days ago, and no pull request is open. Open
Azure/azure-cli-dev-tools#519 · 1 comment · 1 reaction · 1 assignee ·
All issues in Azure/azure-cli-dev-tools
Similar issues
-
docs pydanty:is-working
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
pydantic/pydantic-ai#8863 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
run-llama/llama_index#23278 ·
Maintainers usually reply within 2 days
-
documentation from-review-extraction github-actions priority: low severity:nit
Difficulty 1/5 Under an hour Newbie friendliness 92/100
LearningCircuit/local-deep-research#6946 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
oracle/langchain-oracle#323 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
tenstorrent/tt-metal#58057 · 1 comment ·
Maintainers usually reply within 1 day