Skip to content

Conversation

soulomoon
Copy link
Owner

No description provided.

Renames getOptions to getOptionsWorker for clarity
Removes redundant getOptionsLoop function
Ensures session loading is called under the same `Action` context
soulomoon and others added 29 commits August 20, 2025 00:43
restartSession to avoid stale GhcSession results
and lost diagnostics
Changes suggestion provider in pragmas plugin to
use structured diagnostics and ghc machinery to
generate hints
* Replace writeFile and writeFileUTF8 with atomicFileWriteString and atomicFileWriteStringUTF8 for safer file operations
…ll#4713)

eglot docs recommend using property lists

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…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
2. spawns only if need when building a key, see `builderOneCoroutine`
@soulomoon soulomoon force-pushed the improve-hls-runtime-lock branch from e306f9d to 1094cb5 Compare September 8, 2025 07:01
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.

5 participants