Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hardcoded endpoint #4657

Merged
merged 6 commits into from
Nov 19, 2024
Merged

Remove hardcoded endpoint #4657

merged 6 commits into from
Nov 19, 2024

Conversation

@ami-GS ami-GS requested a review from a team as a code owner November 15, 2024 19:52
Copy link

codecov bot commented Nov 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.45%. Comparing base (9640abe) to head (5bb2241).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4657      +/-   ##
==========================================
- Coverage   87.27%   86.45%   -0.82%     
==========================================
  Files          56       56              
  Lines       17361    17361              
==========================================
- Hits        15152    15010     -142     
- Misses       2209     2351     +142     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@@ -32,6 +32,7 @@ static unsafe void Main(string[] args)
}

var ApiTable = MsQuic.Open();
const string DomainName = "google.com";
Copy link
Member

Choose a reason for hiding this comment

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

But you still hard code it here...? How does this actually fix it? My understanding of the problem is that you any URL in here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What does this "tool" want to do?
Connection establishment over internet using C#?
Then any endpoint is needed, isn't it?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, just a sanity check that it can use C# + msquic to make a connection.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What is the next step?

  • Report ignoring?
  • Remove this tool?
  • Connect localhost?
  • Is there any acceptable endpoint?

Copy link
Member

Choose a reason for hiding this comment

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

Let's just remove the tool.

Copy link
Member

Choose a reason for hiding this comment

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

Crap. Looks like the tests were using this. Let's add back the tool, make the URL a command line arg, and then update the test code to pass in google.com instead.

nibanks
nibanks previously approved these changes Nov 18, 2024
@nibanks nibanks dismissed their stale review November 18, 2024 22:15

Failing tests

@ami-GS ami-GS closed this Nov 19, 2024
@ami-GS ami-GS reopened this Nov 19, 2024
@ami-GS ami-GS enabled auto-merge (squash) November 19, 2024 17:55
@ami-GS ami-GS merged commit f6b6e01 into main Nov 19, 2024
953 of 955 checks passed
@ami-GS ami-GS deleted the dev/daiki/remove_hardcoding branch November 19, 2024 18:03
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.

3 participants