Skip to content

Conversation

@soulomoon
Copy link
Owner

No description provided.

soulomoon and others added 30 commits June 24, 2025 03:03
restartSession to avoid stale GhcSession results
and lost diagnostics
…anup

- Replace ad-hoc AIO with structured concurrency (TVar + async registry); builder returns results directly; remove lazy splitIO/unsafePerformIO
- Reduce redundant thread creation; use per-key builderOne and STM retry instead of spawning; fewer races
- Add AsyncParentKill (ThreadId, Step) and treat it as async; use cancelWith from Shake to scope cancellation to the current session
- Mask critical sections and do uninterruptible cleanup on exception (mark Dirty) to avoid stuck Running and hangs
- Adjust types/wiring (Running payload, runAIO takes Step, compute/refresh signatures); minor tweaks in ghcide Shake/Plugin.Test

Fixes haskell#4718
before releasing the serialized queue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants