Skip to content

Removed(ksp): reject suspend processor methods - #834

Merged
GoodforGod merged 2 commits into
masterfrom
feature/kotlin-suspend-exception-reinforced
Aug 13, 2026
Merged

Removed(ksp): reject suspend processor methods#834
GoodforGod merged 2 commits into
masterfrom
feature/kotlin-suspend-exception-reinforced

Conversation

@GoodforGod

Copy link
Copy Markdown
Contributor

Removed(ksp): Breaking: reject suspend methods in database repositories, HTTP clients and controllers, S3 clients, and scheduled jobs. Diagnostics recommend Java StructuredTaskScope with --enable-preview.

This removes incomplete coroutine support that could lose ScopedValue-backed context and block HTTP worker threads through runBlocking.

@GoodforGod GoodforGod added this to the v2.0.0 milestone Aug 13, 2026
@GoodforGod GoodforGod added optimization Optimization change that doesn't change behavior or bring something new lang: kotlin Related only for Kotlin language labels Aug 13, 2026
@github-actions

Copy link
Copy Markdown

Dependency Update Report

Update level: patch

Found 2 dependency updates.

gradle/libs.versions.toml

  • s3client-aws (software.amazon.awssdk:s3, inline:252): 2.52.0 -> 2.52.1
  • classgraph (io.github.classgraph:classgraph, inline:172): 4.8.190 -> 4.8.191

Removed(ksp): Breaking: reject suspend methods in database repositories,
HTTP clients and controllers, S3 clients, and scheduled jobs. Diagnostics
recommend Java StructuredTaskScope with --enable-preview.

This removes incomplete coroutine support that could lose ScopedValue-backed
context and block HTTP worker threads through runBlocking.
@GoodforGod
GoodforGod force-pushed the feature/kotlin-suspend-exception-reinforced branch from 1493e0a to eb15f95 Compare August 13, 2026 14:34
@GoodforGod
GoodforGod merged commit 0fec9dd into master Aug 13, 2026
@GoodforGod
GoodforGod deleted the feature/kotlin-suspend-exception-reinforced branch August 13, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang: kotlin Related only for Kotlin language optimization Optimization change that doesn't change behavior or bring something new

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant