Skip to content

Conversation

@DavidWiseman
Copy link
Collaborator

Update to use new URL
Update code to handle redirects.
#1672

Update to use new URL
Update code to handle redirects.
trimble-oss#1672
Redirect is working in workflows, but update to the new URL anyway.
Copilot AI review requested due to automatic review settings December 6, 2025 09:09

This comment was marked as outdated.

@DavidWiseman DavidWiseman force-pushed the 1672_UpdateBuildReferenceFix branch from 33699af to a1d76be Compare December 6, 2025 09:30
@DavidWiseman DavidWiseman requested a review from Copilot December 6, 2025 09:31

This comment was marked as outdated.

Apply suggestions from code review & additional optimizations
@DavidWiseman DavidWiseman force-pushed the 1672_UpdateBuildReferenceFix branch from a1d76be to c402857 Compare December 6, 2025 12:04
@DavidWiseman DavidWiseman requested a review from Copilot December 6, 2025 12:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +120 to +121
// Defensive: shouldn't reach here; loop returns or throws above
throw new HttpRequestException($"Unexpected termination while fetching '{url}'. Redirects followed: {redirectCount}.");
Copy link

Copilot AI Dec 6, 2025

Choose a reason for hiding this comment

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

This unreachable code should be removed. The while(true) loop at line 62 always returns or throws within the loop body, making lines 120-121 unreachable. Remove these lines to improve code clarity.

Suggested change
// Defensive: shouldn't reach here; loop returns or throws above
throw new HttpRequestException($"Unexpected termination while fetching '{url}'. Redirects followed: {redirectCount}.");

Copilot uses AI. Check for mistakes.
@DavidWiseman DavidWiseman merged commit 752a87a into trimble-oss:main Dec 6, 2025
@DavidWiseman DavidWiseman deleted the 1672_UpdateBuildReferenceFix branch December 6, 2025 12:48
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.

1 participant