GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Plugin activation never completes when the global skills folder resolves to a slow drive — `/api/model` 503 forever · Issue #63130 · anomalyco/opencode Closed DescriptionHi, sorry if my words seem a bit off — I'm just a normal user, not a developer, and I ran into something I couldn't fix on my side. Hoping this helps. What I see On OpenCode 2.2.6 (CLI, Windows 11), the server never finishes starting. Every call to {"_tag":"ServiceUnavailableError","message":"Location plugins did not finish activating","service":"plugin"}The TUI never gets a model list, so pressing Enter does nothing. This has happened on every boot since Oct 22 — it is not a one-time thing. I waited 180+ seconds and it still returns 503. My setup
What I tried
So it is not the number of skills (10 is enough to break it), not one bad skill (two different sets of 10 both break it), not junctions vs symlinks (both break it on the slow drive), and not my plugin files (moving One more detail: with just 10 links on the slow drive, Why I think this is a real bug, not just my setup being slow I read the related issues (#62640, #61443, #57495) and PR #21100 — those are about slow plugin setup / login refresh, and the cases there recover on retry. Mine never recovers, no matter how long I wait. A skills folder on a slow drive should not be able to block the whole server forever — at worst it should load slowly, or skip the slow entries with a warning, and still let the model list come up. What might help (just ideas, please feel free to ignore)
Happy to run any test build or share more logs. Thanks a lot for OpenCode, and sorry again if anything here is worded wrong. Update — the slow-disk story is incomplete. This is also a scale problem. Since drafting the above I tested the same skills as real folders on the fast C: NVMe drive (SKILL.md only, 64.8 MB total), and ran a bisection on the number of entries. New results (OpenCode 2.2.6, same PC, all boots probed at ~60 s and ~180 s):
So activation load time grows with the number of skill entries: at 175+ entries it already misses the 60-second mark (though it does finish by ~180 s), and at 7,166 entries it never finishes within ~211 s. A slow drive makes it worse, but even fast local storage fails at full scale — the server apparently has to process every skill entry during plugin activation and cannot finish thousands of them in time. One more thing that surprised me: the threshold is not a clean number — content matters too, not just count. A curated set of 100 skills (0.90 MB of SKILL.md in total) returned 503 at ~60 s, while the alphabetical first 100 (1.30 MB total) returned 200 at ~60 s. Same count, same disk, same form — different result. So some entries cost much more than others to load (or boot-to-boot timing varies); there is no single safe count, only a rough band, and it sits somewhere around 100 entries on this machine. The request stands, and this makes it stronger: skill loading should not be able to block plugin activation forever. Loading skills lazily / in the background, giving skill loading its own timeout with a warning, or logging which entry activation is stuck on would all fix this. Right now a large skills folder — even on fast storage — silently breaks the whole server with no clue in the log about where it stalls. Retest note — 2026-11-10 02:13–02:19 IST: the curated 100 was re-tested once (same 100 names, same form) and passed at both 60 s and 180 s (200 on all three endpoints), so the first run's 60 s 503 was boot-to-boot timing variance, not a poison entry — N=100 sits right on the borderline and can flip either way. N=500 was also re-run and failed at 60 s on both boots, confirming that band. The 100-skill subset is now applied on this machine with the config re-locked, but the marginal pass is itself evidence the activation path needs the fix above: a set that passes on one boot and fails on the next is not a stable state. Update — 2026-11-10 09:16–09:36 IST, smaller subsets (~50 and ~25): I kept shrinking the set to find where it reliably passes. A 50-skill set (10 core skills + 13 agent-core + 8 code/debug/review + 4 testing + 5 git/github + 1 architecture + 7 video + 2 security) failed its first boot at 60 s (model 503, only passing at 180 s) — the same late-pass pattern as 175/250/500. A 25-skill set (10 core + 13 agent-core + 2 code-review skills) passed cleanly on BOTH boots, 200 on all three endpoints at 60 s and 180 s. So the threshold is lower and more content-dependent than my first bisection suggested: 100 passed a retest and then failed on a cold boot, 50 late-passes, 25 passes twice. The 5-second plugin-activation deadline is the binding constraint, and the log still shows nothing about where activation stalls. The 25-skill set is what I am running now; it works, but it drops my video skills entirely, so it is a fallback, not a fix. Update — 2026-11-10 10:43–11:07 IST, the harness does not predict a real TUI boot: I tested the 25-skill set from a real TUI launch, and it failed. My TUI boot at 10:43:39 returned 503 on all three endpoints at ~10 s, no model list ever arrived, and a re-probe 18 minutes later still returned 503 on all three — activation never completed. But the SAME 25 skills, booted detached 20 minutes later, passed 200 on all three at both 60 s and 180 s. The 25 now passes the detached harness 3/3 and fails a real TUI boot 0/1. My best guess for the difference: when the TUI starts, it spawns package-manager checks (npm, pnpm, bun, yarn, vp) and plugin reconciliation (14 plugins, 3 rounds) in the same first seconds the server is racing its 5-second activation deadline, while a detached boot has no client competing with the server. So this is worse than the scale finding alone: even 25 skills fail on a real TUI boot while passing the detached harness every time. The workaround I am trying now is to start the service detached first, wait until /api/model returns 200, and only then launch the TUI so it reuses the already-activated service. Update — 2026-11-10 12:48 IST, a workaround that works: starting the service detached first, waiting until /api/model returns 200, and only then launching the TUI does work — the TUI reuses the already-activated service, the model line shows, and Enter works. So the server can serve once activation has completed; the problem is specifically the TUI-boot path, where the client-side work in the first seconds seems to keep activation from ever completing. This is a usable workflow for me, but it is still a workaround — the TUI should be able to start its own service and get a model list. Update — 2026-11-10, checked against v2.2.7 (released today): I checked the v2.2.7 release notes before filing. That release does touch this area — PR #62796 removed the plugin wait from server handlers — but PR #63040 partially reverted it before shipping, and the release notes say plainly that the Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions | ||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |