internal: Update examples to airframe 2026.2.2 on sbt 2#4189
Conversation
Bump the example projects' airframe library dependency 2026.1.1 -> 2026.2.2 (now released) to match their sbt-airframe 2026.2.2 plugin. Move the Scala 3 examples (rpc-scalajs, hello-rpc) to Scala 3.3.7: airframe 2026.2.2 _3 artifacts are built with 3.3.7, whose TASTy a 3.2.2 consumer cannot read. Move gallery to Scala 3.3.7 too (its source already uses Scala 3 `import ...all.*` syntax), drop the Scala-2-only -Yrangepos flag, and parenthesize a single-arg lambda for Scala 3. Verified all three examples compile (hello-rpc and rpc-scalajs also exercise the AirframeHttpPlugin RPC client codegen end-to-end against the 2026.2.2 plugin + libraries on Maven Central). The docs build needs no changes: docs/mdoc compiles cleanly under sbt 2.0.1 (the docusaurus publish is node-side tooling, unaffected). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Code Review
This pull request updates the AIRFRAME_VERSION to 2026.2.2 and upgrades the Scala version to 3.3.7 across several example projects. It also removes the -Yrangepos compiler option from the gallery demo and applies a minor syntax adjustment to a lambda parameter in Gallery.scala. There are no review comments, and I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
Tick the box to add this pull request to the merge queue (same as
|
Summary
Finishes the sbt 2.0.1 migration for the example projects (not covered by CI) now that
airframe 2026.2.2is on Maven Central.2026.1.1→2026.2.2, matching theirsbt-airframe 2026.2.2plugin.rpc-scalajs,hello-rpc) to Scala 3.3.7: the2026.2.2_3artifacts are built with 3.3.7, whose TASTy a 3.2.2 consumer can't read.galleryto Scala 3.3.7 as well (its source already uses Scala 3import ...all.*), drop the Scala-2-only-Yrangepos, and parenthesize one single-arg lambda for Scala 3.Verified
All three examples compile against the published
2026.2.2artifacts.hello-rpcandrpc-scalajsalso exercise theAirframeHttpPluginRPC client codegen end-to-end (generatedGreeterRPC.scala/ServiceRPC.scala, downloadingairframe-http-codegen 2026.2.2).Docs
No changes needed:
docs/mdoccompiles cleanly under sbt 2.0.1 (30 files, 0 errors — the one warning is a pre-existing broken link). ThedocusaurusPublishGhpagesstep is node-side tooling, unaffected by the sbt migration.🤖 Generated with Claude Code