Skip to content

Fix target registry: thread-safety, single creation policy, wait-for-target in get()#75

Merged
nathanfallet merged 4 commits into
mainfrom
fix/target-registry
May 24, 2026
Merged

Fix target registry: thread-safety, single creation policy, wait-for-target in get()#75
nathanfallet merged 4 commits into
mainfrom
fix/target-registry

CI: run jvmTest with --info to surface test failure details

fcf2f3c
Select commit
Loading
Failed to load commit list.
codefactor.io / CodeFactor failed May 24, 2026 in 0s

2 issues fixed. 3 issues found.

Annotations

Check warning on line 155 in core/src/commonMain/kotlin/dev/kdriver/core/browser/DefaultBrowser.kt

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

core/src/commonMain/kotlin/dev/kdriver/core/browser/DefaultBrowser.kt#L155

Use check() or error() instead of throwing an IllegalStateException. (detekt.UseCheckOrError)

Check warning on line 69 in core/src/jvmTest/kotlin/dev/kdriver/core/browser/TargetRegistryTest.kt

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

core/src/jvmTest/kotlin/dev/kdriver/core/browser/TargetRegistryTest.kt#L69

Line detected, which is longer than the defined maximum line length in the code style. (detekt.MaxLineLength)

Check warning on line 71 in core/src/jvmTest/kotlin/dev/kdriver/core/browser/TargetRegistryTest.kt

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

core/src/jvmTest/kotlin/dev/kdriver/core/browser/TargetRegistryTest.kt#L71

Line detected, which is longer than the defined maximum line length in the code style. (detekt.MaxLineLength)