Skip to content

Skip ModuleTests metadata checks on HTTP download errors - #6149

Merged
max-charlamb merged 1 commit into
dotnet:mainfrom
max-charlamb:fix/moduletests-http-download-skips
Oct 26, 2026
Merged

max-charlamb merged 1 commit into
dotnet:mainfrom
max-charlamb:fix/moduletests-http-download-skips

Conversation

@max-charlamb

Copy link
Copy Markdown
Member

Summary

Expand the ModuleTests symbol-download failure detection added in #6087 to recognize HTTP 4xx and 5xx errors, including the HTTP 403 responses observed in public CI.

HttpSymbolStore logs HTTP response errors as a numeric status and reason phrase, without the HttpSymbolStore: prefix used for connection exceptions. The existing listener therefore misses these errors and can fail module metadata comparisons instead of skipping them.

The new check recognizes error status codes in the existing HTTP/HTTPS download log format. Existing not-found and connection-failure handling is preserved. This change only affects the ModuleTests metadata skip safeguard; it does not change symbol-store download or retry behavior.

Validation

  • Targeted DebugServices unit-test project build succeeded with no warnings or errors.
  • git diff --check passed.

Recognize HTTP 4xx and 5xx symbol-download failures alongside existing not-found and connection-failure messages so ModuleTests skips unavailable metadata instead of failing.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: b973959d-104b-4f63-9614-1e1dab324a0c
@max-charlamb
max-charlamb requested a review from a team as a code owner October 26, 2026 15:38
@max-charlamb
max-charlamb enabled auto-merge (squash) October 26, 2026 17:16
@max-charlamb
max-charlamb merged commit 6442b8e into dotnet:main Oct 26, 2026
25 checks passed
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