Skip to content

Conversation

@tekacs
Copy link
Contributor

@tekacs tekacs commented Oct 18, 2025

When rebuilding with dx serve --hot-patch, changing the type of the value held in a GlobalSignal currently results in a panic, due to a downcast failure.

This patch causes the runtime to evict the existing value with a warning when that happens, rather than panicking.

I considered making the type part of the key, but this feels gentler, since this is a rare occurrence.

@tekacs tekacs requested a review from a team as a code owner October 18, 2025 10:19
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.

1 participant