Error when uploading custom tasks using v0.7.3
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- azure, powershell, typescript
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện tfx build tasks upload với tfx-cli v0.7.3 và v0.6.3 bằng lệnh pipeline Azure DevOps đã được ghi lại và các log. So sánh hành vi upload và cách xử lý request giữa các phiên bản; được xem là hoàn tất khi các custom task được upload thành công trên phiên bản hiện tại mà không cần ghim bản phát hành cũ hơn, đồng thời có coverage hồi quy cho lỗi này.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
We have a few custom tasks in Azure DevOps that we manage and are available to use company-wise. There is a release pipeline that uploads all the tasks if a new version is available using the tfs-cli (controlled via a PowerShell script). Today we were seeing errors when we attempted to upload the tasks:
[41merror: Error: {"count":1,"value":{"Message":"The requested resource does not support http method 'POST'."}}[49m
The pipeline is installing the cli tool with 'npm': install -g tfx-cli and we upload the tasks with the following command: tfx build tasks upload --overwrite --task-path $uploadPath --service-url $collection --auth-type pat --token $pat. The listing command (tfx build tasks list --service-url $collection --auth-type pat --token $pat) is working as before. Nothing was changed in the script or the release process.
After we specified the previous version for npm (install -g [email protected]) it was working again so this issue might be due to a change presented in the latest version I suppose?
Full logs we have from Azure DevOps for failed attempts:
2019-04-17T07:31:26.2169485Z Uploading task...
2019-04-17T07:31:27.4244699Z [37m[90mTFS Cross Platform Command Line Interface v0.7.3[37m[39m
2019-04-17T07:31:27.4258513Z [37m[90mCopyright Microsoft Corporation[37m[39m
2019-04-17T07:31:31.5682886Z [41merror: Error: {"count":1,"value":{"Message":"The requested resource does not support http method 'POST'."}}[49m
After specifying version 0.6.3.:
2019-04-17T07:44:02.6556963Z Uploading task...
2019-04-17T07:44:03.9849281Z [37m[90mTFS Cross Platform Command Line Interface v0.6.3[37m[39m
2019-04-17T07:44:03.9857007Z [37m[90mCopyright Microsoft Corporation[37m[39m
2019-04-17T07:44:18.1194130Z
2019-04-17T07:44:18.2793401Z [32mTask at c:\agent_A_work\XXX uploaded successfully![39m
- Ngôn ngữ chính
- TypeScript
- Star
- 387
- Fork
- 142
- Merge trung bình
- 1 ngày 10 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/tfs-cli
-
--nowait-validation parameter is quietly ignored because it does not match the actual option in the extensionCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởArea: tfx-cli triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Error messages can be lost/truncated when tfx is run as a child process and failsCó thể đã có người làm @jessehouwing đã nhận 25 ngày trước. Đang mởArea: tfx-cli triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Area: tfx-cli DevOps enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
-
Area: tfx-cli triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
-
Area: tfx-cli triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
Tất cả issue của microsoft/tfs-cli
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
521xueweihan/HelloGitHub#4025 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
voidzero-dev/void#478 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
Small-tailqwq/dsh-deep-whale#207 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The inspector never shows the instances field, so scaling out is unreachableCó thể đã có người làm @Mrkewl đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
xevrion/breakscale#96 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Flux159/mcp-server-kubernetes#384 ·