Repository navigation
chore(haskell): bump toolchain and dependency bounds - #214
Merged
Merged
Conversation
…ackage gen/haskell: - Raise build-depends to the versions in Stackage LTS 24 and the only ones that build on GHC 9.10+: base >= 4.18, proto-lens >= 0.7.1.7, proto-lens-protobuf-types >= 0.7.2.3, proto-lens-runtime >= 0.7.0.8 (now with an upper bound < 0.8). - Move stack.yaml from lts-22.7 to lts-24.60 (GHC 9.10.3). All previous extra-deps are in the snapshot, so the list is gone; lock regenerated. CI: - Rename setup-protoc-hololens to setup-proto-lens-protoc. - Build the plugin with GHC 9.12.4 and install proto-lens-protoc 0.9.0.1 (was 9.6.4 / 0.8.0.0). Both are action inputs. GHC 9.14 does not solve yet: proto-lens-protoc pins lens-family < 2.2, which needs containers < 0.8. - Key the cabal store cache on the GHC and plugin versions instead of a constant, and key the stack cache on gen/haskell/stack.yaml.lock; the old path hashed nothing.
wolf31o2
approved these changes
Sep 24, 2026
scarmuega
approved these changes
Oct 12, 2026
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.
Summary
Refreshes the Haskell side of the codegen pipeline, which was still pinned to GHC 9.6.4,
proto-lens-protoc0.8.0.0 and Stackage lts-22.7.Changes
gen/haskell(theutxorpcpackage)base >= 4.18,proto-lens >= 0.7.1.7,proto-lens-protobuf-types >= 0.7.2.3,proto-lens-runtime >= 0.7.0.8, all< 0.8.Stack users on lts-22 or lts-23 will need
extra-depsfor these.stack.yamlmoves from lts-22.7 to lts-24.60 (GHC 9.10.3).Every previous
extra-depsentry is in that snapshot, so the list is gone.The lock file was regenerated by stack.
CI
setup-protoc-hololensis renamed tosetup-proto-lens-protoc.It now builds the plugin with GHC 9.12.4 and installs
proto-lens-protoc0.9.0.1; both versions are action inputs.cabal-store, so a bump gets a fresh cache.publish-haskellhashesgen/haskell/stack.yaml.lock; the previous root-relative path hashed nothing, so the key never changed.Verification
proto-lens-protoc0.9.0.1: 40 modules (14 + 12 + 14), matchingexposed-modulesexactly in both directions.cabal buildof the package with GHC 9.12.4 and the new bounds passes;cabal checkreports nothing.cabal install proto-lens-protoc-0.9.0.1solves on GHC 9.12.4 but not on GHC 9.14.1:proto-lens-protocpinslens-family < 2.2, and every such release needscontainers < 0.8.That is why 9.12.4 is the default rather than the latest GHC.
Notes
proto-lens-protocfrom source under the new cache key (roughly 10 to 15 minutes); later runs hit the cache.publish-haskellbuilds with stack on GHC 9.10.3; the two never meet, and the bounds admit both.