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

Added a http4s0.23 version to help with cats effect 3 upgrades. #220

Merged
merged 5 commits into from
Jun 16, 2021
Merged

Conversation

lancewalton
Copy link
Contributor

No description provided.

@jbwheatley
Copy link
Contributor

need to run sbt scalafmtAll for the build to pass

Copy link

@pvillega pvillega left a comment

Choose a reason for hiding this comment

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

LGTM but I'm no pact expert

@jbwheatley
Copy link
Contributor

how desperately do you need? I would rather not do a full release with an RC version

@lancewalton
Copy link
Contributor Author

I don't absolutely need it, but I've been working on the upgrade on one of oasvc services for a week & this is the last piece I need. The upgrade could just stay on a branch until we have a full release of that http4s stream. Not sure how long that'll be though. But on the other hand, not much is going to need to be done to that service either, so the branch is unlikely to go stale.

@lancewalton
Copy link
Contributor Author

It looks like the only reason https23 is at RC1 still is because they're waiting for circe 0.14, which is already released. Hopefully they'll do a full release soon.... let's wait & see.

@jbwheatley
Copy link
Contributor

yep, lets give the http4s guys a little bit to catch up with our lightning fast development 😉

@lancewalton lancewalton marked this pull request as draft May 27, 2021 16:29
@lancewalton
Copy link
Contributor Author

I've converted this to draft. It's not quite right anyway.

class PactStubber extends IPactStubber {

private var instance: Option[() => Future[Unit]] = None
private var _port: Option[Int] = None
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The way this becomes a Some leads to a race condition. See line 57 of this file & line 61ish of ScalaPactMock. I don't know why it isn't a problem in the CE2 version.

@dantb
Copy link
Contributor

dantb commented Jun 15, 2021

I've run local-build-test.sh and it's looking good. How do you feel about me sticking this in maven under 3.3.2-RC1 @jbwheatley ? I think I can still do it, although it's been a while. Only a new module so no breaking changes AFAICT

@jbwheatley
Copy link
Contributor

@dantb go ahead!

@dantb dantb marked this pull request as ready for review June 15, 2021 16:08
@dantb dantb merged commit 151cfcc into main Jun 16, 2021
@dantb dantb deleted the http4s23 branch June 16, 2021 09: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.

4 participants