Nothing checks that the pinned .NET 4.8 download URL still resolves

未关闭
#89 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
68/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
领域
ci-cd, devops

调研方向

从 BaseInstallerBuild/Bundle.wxs:46 开始,验证固定 URL、哈希值和大小的详细信息。添加一个计划执行的 HEAD 检查,当 URL 不再解析时明确失败;完成的标准是该检查按计划运行,并报告 URL 不可用。

由索引模型根据 Issue 内容生成。

描述

BaseInstallerBuild/Bundle.wxs:46 pins the online bundle's .NET 4.8 payload to a single immutable CDN URL:

<?define NetFx48WebLink = https://download.visualstudio.microsoft.com/download/pr/2d6bb6b2-226a-4baa-bdec-798822606ff1/9b7b8746971ed51a1770ae4293618187/ndp48-web.exe ?>

674e62e chose this over go.microsoft.com/fwlink/?LinkId=2085155 so the bytes can never drift from the pinned Hash="4181398AA1FD5190155AC3A388434E5F7EA0B667" / Size="1439328". That is the right trade — but it leaves no fallback if Microsoft retires the path.

The ExePackage is Vital="yes", so a failed acquisition aborts the whole chain. If that URL stops resolving, every Online installer already in the field stops working, on machines that lack .NET 4.8.

Nothing would tell us. There is no CI in this repo, and the URL is only exercised on an end user's machine at install time.

Ask: a scheduled HEAD request against that URL, failing loudly. It turns a silent field outage into a notification, and the fix — repointing one ?define — is a one-line change we would otherwise make under pressure.

主要语言
C#
星标
6
派生
4
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

sillsdev/genericinstaller 的其他 Issue

查看 sillsdev/genericinstaller 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。