-
Notifications
You must be signed in to change notification settings - Fork 721
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
cardano-node: reduce orphan instances #5466
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, have you opened PRs in the other relevant repos?
@Jimbo4350> That's my question for the remaining instances. For those I can't inline the typeclass definition in the positions where it is used. So should I add the instances to the other relevant repos? And then we will use those new instances when we update our dependencies (that's our workflow right?). |
Yep add the instances to the relevant repos so in the next release we can remove these orphans. |
@Jimbo4350> I started doing the PRs to other repos, e.g. input-output-hk/iohk-monitoring-framework#644 However, I suggest to merge this one soon, as this one - in the current state - is standalone. What do you think? |
74f0682
to
5cfe593
Compare
Created the other PR required to get rid of |
5cfe593
to
516709a
Compare
I'm enqueueing for merge, since in the final state it only removes an unusued orphan instance and is good to go as is. I've kept track in #5470 of the follow-up work in other repos to further shrink the instances from this repo. |
@smelc I have no clue what happened to ubuntu runners that they're failing now, but maybe you need to add |
a92b0fd
to
516709a
Compare
Contributes to fixing #5470
Description
This PR starts reducing the content of the
Cardano.Node.Orphans
module.Checklist
See Runnings tests for more details
CHANGELOG.md
for affected package.cabal
files are updatedhlint
. See.github/workflows/check-hlint.yml
to get thehlint
versionstylish-haskell
. See.github/workflows/stylish-haskell.yml
to get thestylish-haskell
versionghc-8.10.7
andghc-9.2.7