Skip to content

## Summary - Add 87+ new tests across 5 test suites covering v0.9.0 gaps: ChoicePickerWidgetTest, SurfaceStateManagerTest, FunctionEvaluatorTest, A2UIExtensionParamsTest, and UiDefinitionExtendedTest - Fix evaluateRegex crash on JS target by widening catch (Exception) to catch (Throwable) so JavaScript SyntaxError from invalid regex patterns is properly caught - Fix illegal comma in Kotlin/Native test name - Update changelog with test coverage details ## Test plan - [x] All new tests pass on JVM - [ ] Verify JS/browser tests pass (previously failing regex_invalidPatternReturnsFalse now fixed) - [ ] Verify Kotlin/Native tests pass (illegal comma in test name fixed) #14

Merged
contextablemark merged 2 commits intorelease/0.9.0from
claude/check-test-coverage-vEz1e
Feb 14, 2026

Conversation

@contextablemark
Copy link
Member

No description provided.

Replace commas with "then" in the lifecycle test name to avoid
"Name contains illegal characters" errors on Native targets.

https://claude.ai/code/session_01Gjo9f6vqHrAUpdto6Jr3G7
JavaScript's SyntaxError from an invalid RegExp does not extend
Kotlin's Exception on JS targets — it only extends Throwable.
Widen the catch to Throwable so invalid patterns return false on
all platforms (JVM, Native, and JS).

https://claude.ai/code/session_01Gjo9f6vqHrAUpdto6Jr3G7
@contextablemark contextablemark merged commit 014d354 into release/0.9.0 Feb 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants