Skip to content

Conversation

@gallais
Copy link
Member

@gallais gallais commented Nov 19, 2025

Unfortunately we never worried about pinning down the versioning story
and agda makes that quite difficult.

I am hand-writing cabal files for these. We should then port these changes
over to the main branch, with updated bounds to be able to use more modern
versions of GHC & accompanying packages.

  • Get the test runner to build & run
    This now works when calling AGDA_EXEC=agda-2.6.4 GHC_EXEC=ghc-9.2.8 make testsuite
  • Fix all the tests (probably need the same GHC-pinning & test-specific cabal file rigmarole)
  • Document the process
  • Use this new approach for the CI

@gallais gallais changed the title [ fix ] the test runner [ fix ] the test runner for v2.0-joss-submission Nov 19, 2025
@gallais gallais linked an issue Nov 19, 2025 that may be closed by this pull request
@MatthewDaggitt
Copy link
Contributor

Wow this looks hairy. Thanks so much @gallais! Let me know when we can merge this in...

@gallais
Copy link
Member Author

gallais commented Nov 20, 2025

I'll polish it this afternoon (specifically the part documenting what needs to
be changed after releases / changes in the dependencies) and then will mark
it ready for review.

@gallais
Copy link
Member Author

gallais commented Nov 20, 2025

CI work is hell

Unfortunately did not have time to finish it today. I'm busy tomorrow & then
will be traveling so this may not come to a conclusion before early / mid December.

@gallais
Copy link
Member Author

gallais commented Nov 21, 2025

Nevermind, it looks like continuing to hack while watching Limmy's show did deliver! 🥳

@gallais gallais marked this pull request as ready for review November 21, 2025 01:36
Copy link
Contributor

@JacquesCarette JacquesCarette left a comment

Choose a reason for hiding this comment

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

Hero work! Looks fantastic.

@jamesmckinna
Copy link
Contributor

Heroic refactoring!
Hopefully re-exportable going forward?
And... who knew that a 3pp. placeholder documentation effort would end up consuming so many resources!?
(:sadface:, :facepalm: etc.)

@gallais
Copy link
Member Author

gallais commented Nov 21, 2025

Hopefully re-exportable going forward?

Yes, I tried to design it so that it could be easily upgraded & extended to the new tests
once cherry-picked into master.

consuming so many resources

I think it was a good thunk-forcing function for stuff we should have done a while ago
(in this instance actually figuring out how to reliably build these examples with external
dependencies).

@jamesmckinna
Copy link
Contributor

Re: resources. I'd been thinking of the human ones, much more than the machine ones, but yes... ;-)

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.

System.Directory.Primitive - XdgDirectory problem

4 participants