tfx command line publish issue for Azure DevOps Server 2022 RC1
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 32/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- node.js, typescript
- Lĩnh vực
- cli
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện lệnh tfx-cli extension publish trên Azure DevOps Server 2022 RC1 và so sánh hành vi với issue #416. Theo dõi lỗi sau khi VSIX được đọc và log báo rằng extension đã được publish, sau đó xác minh rằng việc cập nhật hoặc publish extension hoàn tất mà không gặp lỗi khóa từ điển.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi everyone, I have the same bug that is described by @Shahyads in #416, also having the issue with tfx-cli for Azure DevOps Server 2022 RC1. Not only is the pipeline not working, but also fails with the command line tfx extension publish
Here is the part of the pipeline:
npx tfx-cli extension publish^ --publisher "$(publisher)"^ --manifest-globs azure-devops-extension.json^ --overrides-file configs/test.json^ --override "{\"version\": \"$(ext_version)\"}"^ --trace-level debug^ --service-url ${{ parameters.serviceUrl }}^ --auth-type pat --token ${{ parameters.token }}^ --trace-level debug^ --output-path deploy\extension_${{ parameters.mode }}^ --nowait-validation displayName: 'Publish Extension'
Here is the log:
2022-12-12T13:54:13.974Z : -- export-test-protocol-history
2022-12-12T13:54:13.974Z : Path 'C:\agents\ABC_work\1\s\dist\export-test-protocol-history is a directory. Adding all contained files (recursive). 2022-12-12T13:54:13.974Z : -- export-test-protocol-history.html 2022-12-12T13:54:13.975Z : -- export-test-protocol-history.js 2022-12-12T13:54:13.975Z : -- export-test-protocol-history.js.LICENSE.txt 2022-12-12T13:54:13.975Z : -- export-test-protocol-history.js.map 2022-12-12T13:54:13.975Z : -- export-test-specification 2022-12-12T13:54:13.975Z : Path 'C:\agents\ABC\_work\1\s\dist\export-test-specification is a directory. Adding all contained files (recursive).
2022-12-12T13:54:13.975Z : -- export-test-specification.html
2022-12-12T13:54:13.976Z : -- export-test-specification.js
2022-12-12T13:54:13.976Z : -- export-test-specification.js.LICENSE.txt
2022-12-12T13:54:13.976Z : -- export-test-specification.js.map
2022-12-12T13:54:13.976Z : -- organization-settings
2022-12-12T13:54:13.976Z : Path 'C:\agents\ABC_work\1\s\dist\organization-settings is a directory. Adding all contained files (recursive). 2022-12-12T13:54:13.977Z : -- organization-settings.html 2022-12-12T13:54:13.977Z : -- organization-settings.js 2022-12-12T13:54:13.977Z : -- organization-settings.js.LICENSE.txt 2022-12-12T13:54:13.977Z : -- organization-settings.js.map 2022-12-12T13:54:13.977Z : -- projectnumber-select-panel 2022-12-12T13:54:13.977Z : Path 'C:\agents\ABC\_work\1\s\dist\projectnumber-select-panel is a directory. Adding all contained files (recursive).
2022-12-12T13:54:13.978Z : -- projectnumber-select-panel.html
2022-12-12T13:54:13.978Z : -- projectnumber-select-panel.js
2022-12-12T13:54:13.978Z : -- projectnumber-select-panel.js.LICENSE.txt
2022-12-12T13:54:13.978Z : -- projectnumber-select-panel.js.map
2022-12-12T13:54:13.978Z : Path 'C:\agents\ABC_work\1\s\resources` is a directory. Adding all contained files (recursive).
2022-12-12T13:54:13.978Z : -- logo.png
2022-12-12T13:54:13.979Z : -- prot-black.png
2022-12-12T13:54:13.979Z : -- prot-white.png
2022-12-12T13:54:13.979Z : -- spec-black.png
2022-12-12T13:54:13.979Z : -- spec-white.png
2022-12-12T13:54:13.979Z : -- test-protocol-template.docx
2022-12-12T13:54:13.979Z : -- test-specification-template.docx
2022-12-12T13:54:13.983Z : Generating [Content_Types].xml
warning: Could not determine content type for extension .docx. Defaulting to application/octet-stream. To override this, add a contentType property to this file entry in the manifest.
2022-12-12T13:54:14.012Z : Found content type for .txt: text/plain.
2022-12-12T13:54:14.037Z : Writing vsix to: C:\agents\ABC_work\1\s\deploy\extension_test\ABC-azure-devops-powertools-test-1.0.157.vsix
2022-12-12T13:54:15.127Z : Publishing C:\agents\ABC_work\1\s\deploy\extension_test\ABC-azure-devops-powertools-test-1.0.157.vsix
Checking if this extension is already published
2022-12-12T13:54:15.131Z : Read vsix as zip... Size (bytes): 3133301
2022-12-12T13:54:15.139Z : Files in the zip: ......
(node:20328) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use node --trace-warnings ... to show where the warning was created)
It is, update the extension
error: The given key was not present in the dictionary.
##[error]Cmd.exe exited with code '-1'.
Finishing: Publish Extension
- Ngôn ngữ chính
- TypeScript
- Star
- 385
- Fork
- 142
- Merge trung bình
- 20 giờ 46 phút
- Pull request đã merge (30 ngày)
- 4
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
-
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 16 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 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
core
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
vectorize-io/hindsight#5457 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
beginner friendly community contributions-welcome good first issue hacktoberfest help wanted testing up-for-grabs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
lukilabs/beautiful-mermaid#160 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
rescript-lang/rescript-lang.org#1420 ·
Maintainer thường phản hồi trong vòng 2 ngày