Quick task to update JDK requirement from 17+ to 21+ in STACK.md. Rationale: Loom virtual threads benefit JDBC blocking operations in Quill.
3.1 KiB
phase, plan, type, wave, depends_on, files_modified, autonomous, must_haves
| phase | plan | type | wave | depends_on | files_modified | autonomous | must_haves | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| quick | 001 | execute | 1 |
|
true |
|
Purpose: JDK 21 brings Loom virtual threads which benefit JDBC blocking operations used by Quill. While ZIO provides its own fiber system, virtual threads complement ZIO by making blocking escape hatches (like JDBC) "virtually" non-blocking at the JVM level. JDK 21 is LTS (Sept 2023), equally stable as JDK 17.
Output: Updated .planning/research/STACK.md with JDK 21+ requirement and clear rationale
<execution_context> @/home/jin/.claude/get-shit-done/workflows/execute-plan.md @/home/jin/.claude/get-shit-done/templates/summary.md </execution_context>
@.planning/PROJECT.md @.planning/research/STACK.md Task 1: Update JDK requirement in research/STACK.md .planning/research/STACK.md Update the Language & Runtime table entry for JDK:FROM: | JDK | 17+ | Runtime | Required for Scala 3.3.x LTS, widely available, long-term support |
TO: | JDK | 21+ | Runtime | LTS (Sept 2023), Loom virtual threads benefit JDBC blocking operations in Quill |
Update the notes section after the table to add clarification about ZIO fibers vs Loom:
ADD after existing notes:
- JDK 21+ for Loom virtual threads: While ZIO provides its own fiber system, Quill uses JDBC which does blocking I/O. Virtual threads make these blocking calls "virtually" non-blocking at the JVM level. ZIO can use virtual thread executors for blocking operations, complementing ZIO fibers rather than replacing them.
Also update the Platform Requirements section if it mentions JDK 17 (search for any other JDK version references). grep -n "JDK.*21" .planning/research/STACK.md grep -n "Loom|virtual thread" .planning/research/STACK.md
- JDK requirement shows 21+ (not 17+)
- Rationale mentions Loom virtual threads
- Explanation of ZIO fibers vs JVM virtual threads relationship included
<success_criteria>
- JDK requirement updated to 21+
- Rationale explains Loom virtual threads benefit for JDBC/Quill
- Clarifies ZIO fibers and JVM virtual threads are complementary </success_criteria>