profunktor / fs2-rabbit

:rabbit: RabbitMQ stream-based client built on top of Fs2
https://fs2-rabbit.profunktor.dev/
Apache License 2.0
149 stars 44 forks source link

Releases are failing #986

Closed geirolz closed 3 weeks ago

geirolz commented 2 months ago

All releases since a while are failing with this message:

java.net.ProtocolException: Server redirected too many times (20)

Any idea ?

Did we update the auth method to Sonatype from username-password to user token ? https://central.sonatype.org/publish/generate-token/

geirolz commented 1 month ago

@matejcerny can you please have a look too ?

matejcerny commented 1 month ago

Sadly we will need a help from @gvolpe as I don't have access to sonatype.

geirolz commented 1 month ago

All releases are stuck until we fix this, since it's the second time I'd say that at least you @matejcerny should have sonatype access. @gvolpe Can you please help us ?

matejcerny commented 1 month ago

I have contacted Gabriel via email. In the meantime, I made you an admin @geirolz as you are the most active anyway.

gvolpe commented 1 month ago

Fixed: https://github.com/profunktor/fs2-rabbit/actions/runs/11385486599/job/31822567302

re: access to sonatype: this is my private account, not something I can share. Also, the UI/UX is quite bad on sonatype, not sure if they would allow share publishing access to the same target dev.profunktor from different accounts, but I think it's worth asking the question to the sonatype folks if you would like to try.

gvolpe commented 3 weeks ago

I noticed the latest release failed so I went into Sonatype, deleted all the snapshot repositories and retried, but it's still failing: https://github.com/profunktor/fs2-rabbit/actions/runs/11532300798/job/32143367201

This process is so brittle. It needs to be fixed either in Sonatype or if possible in sbt-ci-release. We shouldn't be needing any manual intervention... 😭 I honestly can't deal with this anymore.

I deleted the snapshot repository once again, feel free to retry later on or cut a new minor release. If it doesn't work, I would suggest start publishing new releases under a new namespace so you can have admin access to Sonatype.

matejcerny commented 3 weeks ago

We have already dealt with this error. Last time, there were some "dirty" files in Git that were generated by a plugin. This time it's because of a scalafmt.

matejcerny commented 3 weeks ago

I have fixed and re-released it: https://oss.sonatype.org/service/local/repositories/releases/content/dev/profunktor/fs2-rabbit_3/5.3.0/fs2-rabbit_3-5.3.0.jar