Skip to content

fix(winpe): reuse Intel catalog on refresh failure - #13

Merged
mchave3 merged 2 commits into
mainfrom
fix/intel-wireless-catalog-ci
Aug 22, 2026
Merged

fix(winpe): reuse Intel catalog on refresh failure#13
mchave3 merged 2 commits into
mainfrom
fix/intel-wireless-catalog-ci

Conversation

@mchave3

@mchave3 mchave3 commented Aug 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

Keep the Intel WinPE catalog update job successful when Microsoft Update Catalog is temporarily unavailable or returns an empty result page.

Reason

GitHub Actions job 97018046956 failed because Microsoft Update Catalog returned HTTP 200 pages with an empty results container. The unchanged script then threw when no Windows 11 Intel networking candidates were found.

Main changes

  • Reuse the existing known-good Intel catalog entry when refresh fails.
  • Leave the generated XML unchanged during fallback.
  • Preserve the original failure when no valid cached catalog is available.
  • Ensure a malformed cache does not block a healthy refresh.
  • Add regression coverage and run it in the PowerShell analysis workflow.

Testing

  • PowerShell parser checks for the changed script and test.
  • PSScriptAnalyzer: 0 errors (existing warnings remain).
  • Tests/Test-OSCatalogHistory.ps1.
  • Tests/Test-IntelWirelessCatalogFallback.ps1.
  • Live Intel generator run against the current empty Microsoft response; it reused the cache without changing its hash or timestamp.

Related job: https://github.com/foundry-osd/catalog/actions/runs/32567442973/job/97018046956

Copilot AI lite review requested due to automatic review settings August 22, 2026 10:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@mchave3 mchave3 self-assigned this Aug 22, 2026
@mchave3
mchave3 merged commit a709c22 into main Aug 22, 2026
1 check passed
@mchave3
mchave3 deleted the fix/intel-wireless-catalog-ci branch August 22, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants