Migrating against 10.3.49 produces a repo that fails restore with NU1903 (resolved by 10.4.0 GA)
Maintainer thường phản hồi trong vòng 5 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- csharp
- Lĩnh vực
- build-system
Hướng nghiên cứu
Chạy một fallout-migrate mới trên 10.4.0 GA, sau đó chạy ./build.ps1 trong một consumer repository được cấu hình với TreatWarningsAsErrors. Kiểm tra để đảm bảo restore hoàn tất mà không có NU1903, và đóng issue sau khi 10.4.0 GA được phát hành.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
@
Problem
Running fallout-migrate today produces a consumer repo that cannot restore. Two behaviours combine:
ResolveFalloutVersionSteppins the latest stable release within the tool major →10.3.49.Fallout.Common10.3.49 depends onSystem.Security.Cryptography.Xml10.0.6, which carries five high-severity advisories (GHSA-23rf-6693-g89p, GHSA-8q5v-6pqq-x66h, GHSA-cvvh-rhrc-wg4q, GHSA-g8r8-53c2-pm3f, GHSA-mmjf-rqrv-855v).RewriteCsprojsStepdeliberately strips the consumer's explicitSystem.Security.Cryptography.Xmlpin (intentional, #217, to avoid NU1605 downgrade errors).
So the migration removes the consumer's protection and pins them to the vulnerable transitive. On a repo with TreatWarningsAsErrors, ./build.ps1 fails restore immediately with 5× NU1903.
Reproduced end-to-end on FluentAssertions at its last NUKE commit (3eacba9^) with the 10.4.0-rc.5 tool. Corroborating evidence: FluentAssertions' own hand-done migration had to re-add System.Security.Cryptography.Xml 10.0.10 with a comment naming exactly this NU1903.
Outcome
No code change requested — 10.4.0 GA resolves this. Fallout.Common 10.4.0-rc.5 already depends on the patched System.Security.Cryptography.Xml 10.0.10, and ResolveFalloutVersionStep picks the latest stable in-major, so once 10.4.0 ships the migration will pin 10.4.0 and restore cleanly.
Filed to record the diagnosis so the 10.4 release notes can point consumers at it, and so the interaction is on record if the strip-the-pin behaviour is ever revisited for older targets.
Acceptance criteria
- Confirm a fresh
fallout-migraterun against 10.4.0 GA restores cleanly on aTreatWarningsAsErrorsconsumer - Close on 10.4.0 GA publish
@
- Ngôn ngữ chính
- C#
- Star
- 169
- Fork
- 21
- Merge trung bình
- 3 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọ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 Fallout-build/Fallout
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Fallout-build/Fallout#708 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
.\build.ps1 in its current state isn't capable for :add-package commandCó thể đã có người làm @ITaluone đã nhận 36 ngày trước. Đang mởbug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Fallout-build/Fallout#670 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
PR #640 causes very annoying .NET SDK not foundCó thể đã có người làm @ITaluone đã nhận 1 ngày trước. Đang mởbug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
Fallout-build/Fallout#669 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
CD enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Fallout-build/Fallout#649 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Fallout-build/Fallout#630 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 5 ngày
Tất cả issue của Fallout-build/Fallout
Issue tương tự
-
python triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
microsoft/semantic-kernel#14615 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
vzeol/DeployCraft#125 ·
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 76/100
fboucher/2d6-dungeon-app#245 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: settings good first issue priority: p2 type: bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
AmineChr54/umbra#3 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày