Build pins Microsoft.Graph to exactly 2.25.0 while shipped manifests float: two keys to move together
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- powershell
- Lĩnh vực
- build-system
Hướng nghiên cứu
Read module/Entra/config/ModuleSettings.json and ModuleMetadata.json, then inspect the corresponding EntraBeta files and the build scripts cited in the issue to confirm how each version key is used. The team must first choose a target version; done means both keys match in all four files and a test catches future drift.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Follow-up from the discussion in #1611 with @SamErde.
#1570 moved the shipped manifests from RequiredVersion to ModuleVersion, so #1449 is fixed for consumers. The build toolchain still pins Microsoft.Graph.* to exactly 2.25.0 (published 2024-11-21). Since then there have been 23 stable releases, up to 2.41.2.
Where the 2.25.0 lives
Two different keys, in two different files, for each module (Entra and EntraBeta):
| key | file | used as |
|---|---|---|
destinationModuleVersion |
module/Entra/config/ModuleSettings.json:17 |
exact version installed and imported at build time: build/Install-Dependencies.ps1:42 and :46, build/Publish-LocalCompatModule.ps1:38 and :43, src/CompatibilityAdapterBuilder.ps1:188 |
requiredModulesVersion |
module/Entra/config/ModuleMetadata.json:18 |
minimum written into the shipped RequiredModules: src/EntraModuleBuilder.ps1:536, src/CompatibilityAdapterBuilder.ps1:540 |
The EntraBeta copies are at the same lines.
Why it matters
- Contributors and the pipeline build and test against 2.25.0, while users on the Gallery get 2.41.2 (measured:
Save-PSResourcewith PSResourceGet 1.2.0 andSave-Modulewith PowerShellGet 2.2.5 both resolve 2.41.2 forMicrosoft.Entra.Authentication1.3.0). So what ships is tested against a version users don't actually get. - As @SamErde pointed out, PSResourceGet 1.2.0 doesn't reliably pick the newest version that satisfies a floor. On a feed that orders results differently, a user can end up on 2.25.0 exactly. Raising the floor is the only lever a manifest has, because there is no maximum to exclude a bad release above it.
Proposal
Bump both keys together, in all four files, to the same known good version, and keep them in step from then on. A small test that fails when destinationModuleVersion and requiredModulesVersion differ would prevent them from drifting apart again.
Which target would the team prefer: latest (2.41.2), or a specific version you've already validated? Once that's decided, I'm happy to send the PR.
- Ngôn ngữ chính
- PowerShell
- Star
- 218
- Fork
- 48
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không 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 microsoftgraph/entra-powershell
-
OpenPublishing.Build fails on every PR: monikerMapping.json packageRoot is missing the docs/ prefixĐang mởToTriage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
microsoftgraph/entra-powershell#1616 ·
-
🪲 unable to connect to entra: InvalidOperation: Unable to find type [Microsoft.Graph.PowerShell.Authentication.ContextScope].Có thể đã có người làm @Mike-Crowley đã nhận 36 ngày trước. Đang mởToTriage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
microsoftgraph/entra-powershell#1614 · 4 bình luận ·
-
🪲 Characters 0xE2 0x80 0xAF presented in date time signInActivity property when expanded on MacOSĐang mởToTriage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
microsoftgraph/entra-powershell#1605 ·
-
🪲 Import-Module Microsoft.Entra.Applications / Microsoft.Entra..Beta.Applications throws an error 1.3.0Có thể đã có người làm @earbona23 đã nhận 78 ngày trước. Đang mởToTriage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
microsoftgraph/entra-powershell#1603 · 2 bình luận · 2 reaction ·
-
🪲EntraInactiveSignInUser Days LimitationCó thể đã có người làm @reneemichiko đã nhận 189 ngày trước. Đang mởdocumentation
microsoftgraph/entra-powershell#1596 · 1 bình luận · 1 reaction · 2 người được giao ·
Tất cả issue của microsoftgraph/entra-powershell
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ 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 88/100
Maintainer thường phản hồi trong vòng 6 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jingyaogong/minimind#947 ·
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 82/100
open-telemetry/opentelemetry-swift#1303 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày