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

Add support for HTTP operations on CoreCLR #78

Merged
merged 6 commits into from
Oct 3, 2020

Conversation

sblom
Copy link
Member

@sblom sblom commented Oct 2, 2020

Closes #21
Closes #12

Copy link
Member

@goofballLogic goofballLogic left a comment

Choose a reason for hiding this comment

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

A few comments.

@sblom
Copy link
Member Author

sblom commented Oct 2, 2020

Super weird that the tests are hanging in CI.

Given that I upgraded some I/O to async, it's possible that things are actually hanging for some reason. I suppose I should test this in a Linux container? (Looks like that's what's happening in CI?)

Anyone have any guidance on this?

Copy link
Member

@asbjornu asbjornu left a comment

Choose a reason for hiding this comment

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

ConfigureAwait(false) is recommended for libraries, so I think those should be added everywhere await or .GetAwaiter().GetResult() is being invoked. There's also an issue of infinite recursion that may explain the never-ending tests.

sblom added 2 commits October 2, 2020 13:48
While there are lots of places in the code where `virtual` is there simply because
the Java auto-port treated an absence of `final` as intending overrideability, these
two places are INTENDED override points.
@codecov
Copy link

codecov bot commented Oct 2, 2020

Codecov Report

Merging #78 into master will increase coverage by 0.13%.
The diff coverage is 90.90%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #78      +/-   ##
==========================================
+ Coverage   68.59%   68.72%   +0.13%     
==========================================
  Files          22       23       +1     
  Lines        4053     4067      +14     
  Branches     1028     1033       +5     
==========================================
+ Hits         2780     2795      +15     
+ Misses       1130     1128       -2     
- Partials      143      144       +1     
Impacted Files Coverage Δ
src/json-ld.net/Util/JSONUtils.cs 22.22% <0.00%> (+0.60%) ⬆️
src/json-ld.net/Util/LDHttpClient.cs 86.66% <86.66%> (ø)
src/json-ld.net/Core/DocumentLoader.cs 100.00% <100.00%> (+4.87%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b6637a4...9e39cb9. Read the comment docs.

@sblom
Copy link
Member Author

sblom commented Oct 2, 2020

Alright. I think we're there.

@goofballLogic
Copy link
Member

goofballLogic commented Oct 3, 2020

@asbjornu I've never merged to master yet in this repo. Have you? Also, do you know our usual mechanism for publishing a new minor version to nuget?

@sblom
Copy link
Member Author

sblom commented Oct 3, 2020

Resolved trivial merge conflict.

@asbjornu
Copy link
Member

asbjornu commented Oct 3, 2020

I'll merge this as soon as the test is green and then it should just (in theory) be to tag the commit with an appropriate version number. I think 1.1.0 is appropriate now, given the amount of stuff that has happened since the last release.

@asbjornu asbjornu merged commit 959d52a into linked-data-dotnet:master Oct 3, 2020
@CumpsD
Copy link

CumpsD commented Nov 24, 2020

Has this been released already?

@asbjornu
Copy link
Member

@CumpsD, no sorry. Our release pipeline still has some bugs in it and I haven't had time to fix it yet.

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.

No remote context on CoreCLR ? Parsing ContentType is too restrictive
4 participants