Skip to content

Bump dependencies and CI - #158

Closed
andreasabel wants to merge 2 commits into
meta:mainfrom
andreasabel:ci
Closed

andreasabel wants to merge 2 commits into
meta:mainfrom
andreasabel:ci

Conversation

@andreasabel

@andreasabel andreasabel commented Nov 1, 2023 •

Copy link
Copy Markdown
Contributor
  • include latest GHCs in CI
  • latest minor version is determined by haskell-actions/setup
  • freeze file is a bad cache key as it contains a time stamp, use the build plan instead (the correct choice)

Successful CI run at: https://github.com/andreasabel/Haxl/actions/runs/6725224644
CI running here: andreasabel#1

@andreasabel

Copy link
Copy Markdown
Contributor Author

@simonmar : PR ready

@josefs

josefs commented Nov 13, 2023

Copy link
Copy Markdown

Hi @andreasabel ! Thanks for the patch! Unfortunately it looks like it's broken for 9.4.

@andreasabel

Copy link
Copy Markdown
Contributor Author

@josefs: Thanks for taking a look!

Seems like this test breaks on 9.4: https://github.com/facebook/Haxl/actions/runs/6725225214/job/18629935821?pr=158#step:8:150

:OutgoneFetchesTest:
  :finished: [Failed]
fetchesMap
expected: fromList []
 but got: fromList [("Sleep",fromList [(ConcurrentIOReq Sleep,1)])]

Here is the source:
https://github.com/facebook/Haxl/blob/6cd30c084debcde9bb83e0f517bbe98cdd80e945/tests/OutgoneFetchesTests.hs#L40-L58

I can see timeouts and sleeps here...

Let me boldly claim that nothing is wrong with my PR but something is wrong with this test...

@andreasabel

Copy link
Copy Markdown
Contributor Author

Updated this PR. Not much remains, since test.yml was deleted on main.
Now this just updates the Haskell CI to the latest GHCs.

@andreasabel
andreasabel marked this pull request as draft November 13, 2024 23:34

@josefs josefs left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Apologies for dropping this. Thanks for updating this PR.

# haskell-ci regenerate
#
# For more information, see https://github.com/haskell-CI/haskell-ci
# For more information, see https://github.com/andreasabel/haskell-ci

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Are you expecting your changes to be upstreamed or are you going to maintain this fork?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

So my changes won't be upstreamed (at least it does not look like it). I am maintaining this fork.
Mostly, I want to use e.g. 9.12.0 for prereleases of GHC 9.12 and not 9.12.1 as the original Haskell CI does.

However, for this particular CI here it does not matter whether my fork is used or the original, as it does not include a test for 9.12.0 in the build matrix.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ok, thanks. I think it would be better to point to the upstream repo if it doesn't matter whether your fork is used or not. But I don't have a strong opinion.

@josefs

josefs commented Nov 15, 2024

Copy link
Copy Markdown

There seems to be a problem with the dependencies for ghc-9.10.1

@andreasabel

Copy link
Copy Markdown
Contributor Author

GHC 9.10 comes with filepath-1.5, so I relaxed the upper bound.

@andreasabel

Copy link
Copy Markdown
Contributor Author

CI passes now.

@andreasabel
andreasabel marked this pull request as ready for review November 17, 2024 15:56
@facebook-github-bot

Copy link
Copy Markdown

@josefs has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot

Copy link
Copy Markdown

@josefs merged this pull request in 7255eb0.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants