forge extensions: every repository resolution refetches the package layer and spawns a new plugin process #1627

Closed
opened 2026-10-27 13:41:09 +00:00 by sam · 0 comments
Owner

forgeExtensions.open runs on every Daemon.Repository/forgeFor call. Each call fetches the full installed package layer over gRPC (~6 MB for github; installed_packages is 45 MB for 5 rows), untars and hashes it in Materialize, then starts a fresh extension process. Measured on a live install: a 6.2 MB State Store read and a new __extension-egress process on every 60s cycle, about 1s per open; task setup opens several. Done when an unchanged package digest reuses the running forge instance and no layer bytes cross the wire.

Close reason

Closed


Imported from beads archie-core-vckgv · GitHub #1870 · type bug · priority P1 · created 2026-10-25 · closed 2026-10-25

forgeExtensions.open runs on every Daemon.Repository/forgeFor call. Each call fetches the full installed package layer over gRPC (~6 MB for github; installed_packages is 45 MB for 5 rows), untars and hashes it in Materialize, then starts a fresh extension process. Measured on a live install: a 6.2 MB State Store read and a new __extension-egress process on every 60s cycle, about 1s per open; task setup opens several. Done when an unchanged package digest reuses the running forge instance and no layer bytes cross the wire. ### Close reason Closed --- _Imported from beads `archie-core-vckgv` · GitHub #1870 · type bug · priority P1 · created 2026-10-25 · closed 2026-10-25_
sam added the highbug labels 2026-10-27 13:41:09 +00:00
sam self-assigned this 2026-10-27 13:41:09 +00:00
sam closed this issue 2026-10-27 13:41:09 +00:00
sam referenced this issue from a commit 2026-10-31 05:14:48 +00:00
sam referenced this issue from a commit 2026-10-31 05:15:53 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1627