You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Cursor turns fail on Linux with "worker.register failed" (Cannot identify spawned provider) since process launcher #41929
Across the rotated server.trace.ndjson* files: 75 of 77 spawnWorker spans failed. The only 2 successes are in the oldest files, from before updating to .5165. Restarting the app doesn't help.
Likely cause
Two recent changes conflict:
perf(cursor): run Cursor SDK agents and text generation out of process #39526 (Nov 20) runs the Cursor SDK out of process and registers each worker through ProviderProcesses.register(pid). register throws Cannot identify spawned provider when provider.ppid !== process.pid (apps/server/src/process/providerProcesses.ts).
I'm reproducing this on Linux and working on a fix — the ppid check in providerProcesses.ts conflicts with the new ProcessLauncher spawner on Linux (#31488). Will open a PR once verified.
Confirmed still happening on v0.1.12-nightly.20261124.5191 (d7ae1e1), the latest nightly at the time of writing. It also happens with the background service (t3 serve under the systemd user manager), not only the AppImage.
Evidence
In this server's lifetime, all 14 CursorAgentSdkProcessRunner.open spans failed with worker.register → Error: Cannot identify spawned provider. None succeeded. Every Cursor model fails, Gemini Neon included.
Process tree of the running server:
t3 serve (pid 4879, parent: systemd --user)
├─ t3 __process-launcher (pid 4892)
│ ├─ t3-resource-monitor, cloudflared, systemd-inhibit, ssh, … ← spawned via ProcessLauncher
└─ claude … ← Claude CLIs are direct children of the server, so they are unaffected
So anything going through the ChildProcessSpawner, the Cursor worker included, gets the launcher as its ppid. That fails the provider.ppid !== process.pid check in apps/server/src/process/[providerProcesses.ts](https://github.com/home/murillo/.t3/scratch/2026-11-24-read-triage-playbook-md-home-65736fe5/apps/server/src/process/providerProcesses.ts), which matches the diagnosis above.
The worker itself is healthy: t3 __cursor-sdk-worker run by hand (directly, and inside systemd-run --user --scope) starts and stays up.
Environment: Linux x64, kernel 7.0.0, Node v26.13.1, T3 Code Desktop on macOS connected to this Linux server.
🤖 Claude Opus 5.5 responding on behalf of armaansarora
Workaround that works on v0.1.12-nightly.20261124.5191 (Linux, t3 serve under the systemd user manager) until the fix lands: run Cursor through ACP instead of the SDK worker. The ACP path never calls ProviderProcesses.register, so the ppid check doesn't apply.
Add a provider instance to settings.json (T3 picks it up live, no restart):
Verified: a delegate on cursorAcp with Auto and with grok-4.7 both completed, while the SDK cursor instance failed 3/3 with worker.register failed.
Same root cause confirmed here. During a Cursor turn, the worker (t3 __cursor-sdk-worker) is a child of t3 __process-launcher, not of t3 serve. The env → sh → systemd-run --scope chain execs at every step, so only the parent is wrong, not the PID.
Activity
four1er commentedon Nov 24, 2026
I'm reproducing this on Linux and working on a fix — the ppid check in providerProcesses.ts conflicts with the new ProcessLauncher spawner on Linux (#31488). Will open a PR once verified.
lawmight commentedon Nov 24, 2026
+1, thx @four1er
JonathanPitre commentedon Nov 24, 2026
+1 thanks @four1er
chaoedu commentedon Nov 24, 2026
+1, thx @four1er
murillopm commentedon Nov 24, 2026
Confirmed still happening on
v0.1.12-nightly.20261124.5191(d7ae1e1), the latest nightly at the time of writing. It also happens with the background service (t3 serveunder the systemd user manager), not only the AppImage.Evidence
CursorAgentSdkProcessRunner.openspans failed withworker.register→Error: Cannot identify spawned provider. None succeeded. Every Cursor model fails, Gemini Neon included.So anything going through the
ChildProcessSpawner, the Cursor worker included, gets the launcher as itsppid. That fails theprovider.ppid !== process.pidcheck inapps/server/src/process/[providerProcesses.ts](https://github.com/home/murillo/.t3/scratch/2026-11-24-read-triage-playbook-md-home-65736fe5/apps/server/src/process/providerProcesses.ts), which matches the diagnosis above.t3 __cursor-sdk-workerrun by hand (directly, and insidesystemd-run --user --scope) starts and stays up.Environment: Linux x64, kernel 7.0.0, Node v26.13.1, T3 Code Desktop on macOS connected to this Linux server.
armaansarora commentedon Nov 24, 2026
Note
🤖 Claude Opus 5.5 responding on behalf of armaansarora
Workaround that works on
v0.1.12-nightly.20261124.5191(Linux,t3 serveunder the systemd user manager) until the fix lands: run Cursor through ACP instead of the SDK worker. The ACP path never callsProviderProcesses.register, so the ppid check doesn't apply.Add a provider instance to
settings.json(T3 picks it up live, no restart):Verified: a delegate on
cursorAcpwith Auto and withgrok-4.7both completed, while the SDKcursorinstance failed 3/3 withworker.register failed.Same root cause confirmed here. During a Cursor turn, the worker (
t3 __cursor-sdk-worker) is a child oft3 __process-launcher, not oft3 serve. Theenv→sh→systemd-run --scopechain execs at every step, so only the parent is wrong, not the PID.