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

Fix compilation after #1340 merge #1353

Merged
merged 4 commits into from
Oct 9, 2024

Conversation

aartigao
Copy link
Contributor

@aartigao aartigao commented Oct 8, 2024

No description provided.

@aartigao
Copy link
Contributor Author

aartigao commented Oct 8, 2024

@rodrigo-molina I forgot that your PR didn't ran CI and there were some compilation issues that I try to fix here.

@vlovgr I bumped the base version to 3.6 but MiMa is complaining about compatibility for the new added methods. Do you think these errors should be filtered? I'm not much versed in MiMa but why adding new methods is not compatible? 😢

@vlovgr
Copy link
Contributor

vlovgr commented Oct 8, 2024

@vlovgr I bumped the base version to 3.6 but MiMa is complaining about compatibility for the new added methods. Do you think these errors should be filtered? I'm not much versed in MiMa but why adding new methods is not compatible? 😢

Yes, we should be able to ignore these, since ProducerSettings is sealed and ProducerSettingsImpl is private.

This can be done by adding:

ProblemFilters.exclude[ReversedMissingMethodProblem]("fs2.kafka.ProducerSettings.failFastProduce"),
ProblemFilters.exclude[ReversedMissingMethodProblem]("fs2.kafka.ProducerSettings.withFailFastProduce"),
ProblemFilters.exclude[DirectMissingMethodProblem]("fs2.kafka.ProducerSettings#ProducerSettingsImpl.copy"),
ProblemFilters.exclude[DirectMissingMethodProblem]("fs2.kafka.ProducerSettings#ProducerSettingsImpl.this"),
ProblemFilters.exclude[DirectMissingMethodProblem]("fs2.kafka.ProducerSettings#ProducerSettingsImpl.apply")

to the existing mimaBinaryIssueFilters in build.sbt.

@rodrigo-molina
Copy link
Contributor

rodrigo-molina commented Oct 9, 2024

@rodrigo-molina I forgot that your PR didn't ran CI and there were some compilation issues that I try to fix here.

@vlovgr I bumped the base version to 3.6 but MiMa is complaining about compatibility for the new added methods. Do you think these errors should be filtered? I'm not much versed in MiMa but why adding new methods is not compatible? 😢

so sorry to read/hear that!

Thanks for taking care of the fixups, I somehow missed the warnings. Is there a way I could run the CI in a Pull Request from a fork?

Let me know if there is something I can do!

@aartigao
Copy link
Contributor Author

aartigao commented Oct 9, 2024

Let me know if there is something I can do!

Yep! Running the SBT command + ci will do the trick of checking everything 🙂

@aartigao
Copy link
Contributor Author

aartigao commented Oct 9, 2024

But anyways, it was my fault. When you create a PR, the CI should be approved from one maintainer IIRC.

@aartigao aartigao merged commit 800ea54 into series/3.x Oct 9, 2024
9 checks passed
@aartigao aartigao deleted the fix-compilation-after-producer-fail-fast branch October 9, 2024 11:38
@rodrigo-molina
Copy link
Contributor

Yep! Running the SBT command + ci will do the trick of checking everything 🙂

Noted it.

When you create a PR, the CI should be approved from one maintainer IIRC.

Indeed, or having branch protection with the CI GH action execution.

Thanks again for taking it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants