Modernize server build and CI#322
Merged
Merged
Conversation
- Bump the Stackage resolver to lts-20.26 (GHC 9.2.8), the newest snapshot compatible with purescript-0.15.15. This requires protolude 0.3.3 (for lts-20.26's bytestring) and a happy-1.20.0 pin (purescript requires happy ==1.20.0 exactly). - Update the cabal file to cabal-version 2.4, build with -Wall -Werror, and remove unused dependencies; delete the redundant Setup.hs (build-type: Simple ignores it). - Clean up server/Main.hs for -Wall: remove dead imports, fix name shadowing, and exit with a usage message on bad arguments instead of a partial pattern match. - Remove the -j1 limit from CI server builds; runners have 4 vCPUs and 16GB of RAM.
Browsers were heuristically caching the site and the compiled /output modules because no Cache-Control header was sent; with files dating from a 2023 deploy, cached clients could be considered fresh for months. no-cache makes browsers revalidate via ETag: unchanged files cost a 304, changed files are re-downloaded immediately. Matches the configuration applied to the live server on 2026-07-05. Also updates the changelog entries to reference this PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Successor to #320, rebuilt on master after #316 landed — the compiler bump, package set, and deploy changes all live there now.