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

remove upper bound on crypton-connection #1975

Closed
wants to merge 8 commits into from

Conversation

larskuhtz
Copy link
Contributor

The PR removes / fixes the upper bound on crypto-connection. This fixes the build with the latest versions of the HTTP and TLS related packages.

Along the way the PR also cleans up some issues and inconsistency in the cabal file -- which are small and trivial changes.

@@ -110,7 +110,7 @@ common warning-flags

Copy link
Contributor

Choose a reason for hiding this comment

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

You need to update the freeze file now.

rm cabal.project.freeze
cabal update
cabal freeze

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just noticed. I am also wondering why there are not non-freeze file builds. It seems that there is much less ci coverage for cabal CI builds than there used to be -- in terms of dependencies, ghc versions, and platforms? Is there any reason for that?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think, that's the reason why the breaking changes in crypton-connection went unnoticed for a while -- preventing testing of latest versions of tis and http related packages.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think, that's the reason why the breaking changes in crypton-connection went unnoticed for a while -- preventing testing of latest versions of tis and http related packages.

I did notice, and I wrote a PR that already fixed this - I think it got accidentally "reverted" in a bad merge.

There were non-freeze builds until recently, which is when I noticed. Non-freeze builds were causing a lot of churn for working on CI, which is why we disabled them

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not sure if those "cause" churn. I think, they rather "remind" of chores that need to be done anyways.

Usually, those are simple tasks which can be done quickly, but can become nasty when they start to pile up.

In case those tasks are not simple, we used to add upper bounds in cabal.project and considered them as open issues.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But, yeah, it's a matter of process.

I think, there should be some process in place, to catch and track dependency issues early on. Otherwise, upgrades get pushed back which can cause overhead during release preparation and also reduces the time that new versions of dependency (direct or indirect) get tested.

@larskuhtz larskuhtz force-pushed the lars/update/crypton-connection branch from 3f83e6d to e484dd0 Compare June 30, 2024 11:46
@larskuhtz
Copy link
Contributor Author

The unit test failures look concerning. I wonder if those are related to the new version of unordered-containers. In best case it's just test code that makes illegal assumptions about ordering of the items in the container.

@larskuhtz
Copy link
Contributor Author

OK, I think, the unit test failures are independent of the code changes in this PR. The have been appearing on other branches, too. I am going to investigate those based on master.

@larskuhtz
Copy link
Contributor Author

Closing this because it got merged into #1976

@larskuhtz larskuhtz closed this Jul 4, 2024
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.

2 participants