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

Rewrite testEql using Typeable to make it impossible to forget cases #3697

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

MaximilianAlgehed
Copy link
Collaborator

Description

Everything is Typeable so we can use that to reduce some clutter.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated
  • When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
    versioning process.
  • The version bounds in .cabal files for all affected packages are updated. If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
  • All visible changes are prepended to the latest section of a CHANGELOG.md for the affected packages. New section is never added with the code changes. (See RELEASING.md)
  • Code is formatted with fourmolu (use scripts/fourmolize.sh)
  • Cabal files are formatted (use scripts/cabal-format.sh)
  • hie.yaml has been updated (use scripts/gen-hie.sh)
  • Self-reviewed the diff

@MaximilianAlgehed
Copy link
Collaborator Author

@lehins and @TimSheard it would be good to get this reviewed and merged.

Copy link
Collaborator

@lehins lehins left a comment

Choose a reason for hiding this comment

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

@MaximilianAlgehed
Copy link
Collaborator Author

@lehins could you please run the checks? I think this is the final version of the PR.

@lehins
Copy link
Collaborator

lehins commented Sep 4, 2023

@MaximilianAlgehed This PR needs to be rebases on master. Whenever you see this at the bottom of the PR this is necessary for merging:

This branch is out-of-date with the base branch

@MaximilianAlgehed
Copy link
Collaborator Author

@lehins done

@lehins lehins enabled auto-merge September 4, 2023 18:55
auto-merge was automatically disabled September 5, 2023 05:47

Head branch was pushed to by a user without write access

@MaximilianAlgehed
Copy link
Collaborator Author

@lehins something appears to be broken in CI.

@lehins
Copy link
Collaborator

lehins commented Sep 5, 2023

@MaximilianAlgehed Looks like some issue with Github since yesterday. Traballs don't get downloaded fully or corrupted. This happens on multiple repos that we have.

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive

image

@lehins
Copy link
Collaborator

lehins commented Sep 7, 2023

@MaximilianAlgehed Looks like Github has finally back to normal operation since yesterday. Just in case I implemented a fallback workaround too in #3713

Do you mind rebasing again on master again? We've had a few PRs merged yesterday.

@MaximilianAlgehed
Copy link
Collaborator Author

@lehins still broken?

@lehins
Copy link
Collaborator

lehins commented Sep 7, 2023

@lehins still broken?

@MaximilianAlgehed Why do you say it is broken? CI hasn't finished yet. (Only "Required" ones are important)

@MaximilianAlgehed
Copy link
Collaborator Author

Right... So the one thats called ci is irrelevant to CI?

@lehins
Copy link
Collaborator

lehins commented Sep 7, 2023

Right... So the one thats called ci is irrelevant to CI?

It is relevant, but it just doesn't work for forked repos, I think. In any case it is not terribly reliable, but it is useful, since it runs CI in nix, where GithubActions is build with regular cabal setup without nix.

@MaximilianAlgehed
Copy link
Collaborator Author

MaximilianAlgehed commented Sep 7, 2023 via email

@lehins lehins merged commit cf05d70 into IntersectMBO:master Sep 7, 2023
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