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
install-local: measure the whole-deployment re-sync each hot install runs (123 object schemas, 33 flows per install on the showcase), and file what pays #33835
On a booted showcase, each POST /marketplace/install-local of a small inline package (one agent, skill and tool) took 828 to 1033 ms on an idle box. Each one logged syncSchemas() ran, Schema sync complete {"synced":123} and Re-synced 33 flow(s) after metadata reload: the install re-syncs every object schema and every flow of the deployment, not only the installed package's items. Under merge-queue shard load that cost pushed a dogfood test over vitest's 5 s clock twice (PR #33772 moved the installs out of the test clock; the product cost stayed).
Ask
Measure where the time of one hot install goes (schema sync of all objects, flow re-sync, registry rebuild, announcements), on the showcase and on a deployment with more objects, and how it scales with the deployment's size rather than the package's.
If a package-scoped re-sync (only the installed package's objects and flows, plus what references them) is safe, propose it with the cases it must still cover (a package that extends another's object, a flow bound to another package's object). Otherwise close with the measurement.
Every hot install re-syncs the whole deployment (123 object schemas and 33 flows on the showcase). Measure the cost and file what to narrow. Performance, so p2; it belongs with epic #33631 (SQL performance). A5 (install-local).
Claim: server area-lease mode (#33751 §2), area S6 lease A5, dispatched by seat domain:server#5 area thread · executed by an os-dev sub-agent (mode:subagent) · posted at 2026-11-16T04:14Z
Session: session_01QsR2jUZKdq3PK2Sab53cT3
Account: zhuangjianguo
Branch: claude/area-A5b-33835 (only if a measurement pin is committed)
Worktree: objectstack-issue-33835
Domain: domain:server
Seat: domain:server#5
File surface: measurement only. Throwaway probes (never committed) on a booted showcase and on a larger synthetic deployment; the deliverable is a measurement comment on this card plus filed cards for what pays. No product code in this claim (stop on breach; explain in the report)
Container & model: S, mode:subagent, model: default (no path-derived mandate), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack cloud-connection install-local + metadata reload: each hot install re-syncs every object schema and every flow of the deployment (123 / 33 on the showcase, 828-1033 ms idle) | the cold boot path | every hot install on a deployment, scaling with deployment size
Thread-read: 6894583833
Premise: to measure (card numbers from PR #33772 on an idle box)
Route: the card's: measure where one hot install's time goes (schema sync, flow re-sync, registry rebuild, announcements) and how it scales with deployment size vs package size; if a package-scoped re-sync is safe, propose it in a filed card with the cases it must cover (a package extending another's object, a flow bound to another package's object); otherwise close with the measurement.
Serial constraints cleared: #33922 (S3) edits marketplace-install-local-plugin.ts; this claim edits nothing.
Pre-claim lane: server because packages/cloud-connection/src/marketplace-install-local-plugin.ts (triage: A5 install-local)
Pre-claim deps: none open.
Prior rulings read: triage 6894583833 (epic #33631); PR #33772 (moved installs out of the test clock). docs/adr grep re-sync / hot install → none against narrowing. No ⛔ conflict.
Measurement: where one hot install-local goes, and how it scales (M1-M3)
Posted 2026-11-16T05:14Z. Tree: objectstack origin/main01598d9. Instrument: a throwaway in-process probe, never committed and deleted afterwards. It booted the showcase through the dogfood bootShowcase (sqlite-wasm in memory, the harness default) with MarketplaceInstallLocalPlugin. After boot it wrapped the real methods on the code path with performance.now() timers: the manifest service's register, the engine's syncSchemas, each metadata:reloaded handler, the ObjectQL and automation plugin methods those handlers call, the driver's syncSchema, and AutomationEngine.registerFlow with its steps. Each run is one POST /marketplace/install-local of a fresh small inline package (one object, agent, skill and tool, the shape PR #33772 measured). Box: a shared 4-core, 15 GB container; every run held the verify lock, which excludes other locked runs only. These are shared-box figures, not idle-box ones. load1 is printed per group.
M1: one hot install on the showcase (120 storage objects, 33 flows), 5 runs, load1 4.7-4.9
phase
median ms
range
note
total wall (HTTP)
844
786-946
card measured 828-1033 idle
register (manifest.register, registry rebuild)
4
3-7
26-32 ms for a 30-object, 10-flow package
step 4b ql.syncSchemas(): schema sync of ALL objects, pass 1
340
325-425
118-122 driver syncSchema calls, logs nothing on success
announce metadata:reloaded (6 handlers)
467
427-489
fired once per install
- ObjectQL hook: syncRegisteredSchemas, ALL objects, pass 2
331
318-346
118-122 more driver calls; this is the Schema sync complete {"synced":N} line
So: schema sync of all objects is 671 ms of 844 (79 %), and it runs twice, once at step 4b and again in the reload hook, over the same object set. Flow re-sync is 105 ms (12 %). Registry rebuild and announcements are about 20 ms together. What scales with the package is about 25 ms.
M2: the same install on bigger deployments (synthetic AppPlugin units of 123 objects and 33 record-triggered flows each)
deployment
storage objects
flows
total (median, range)
4b pass
reload pass
flow re-sync
of which rejudgeSubflowCallers
load1
1x showcase
120
33
844 (786-946)
340
331
105
not instrumented
4.7-4.9
2x
243
66
1728 (1642-1891)
683
684
301
158 (135-167)
2.7-2.8
4x, boot A
489
132
4683 (4346-4744)
1699
1652
1267
not instrumented
2.9-3.1
4x, boot B
489
132
4574 (4353-4667)
1610
1556
1315
962 (919-991)
5.4-6.1
Package-size control on the 1x showcase: one 30-object, 10-flow package installed five times in a row cost 1011, 1191, 1328, 1634 and 2103 ms. Over those installs the deployment grew from 152 to 272 objects and from 43 to 83 flows. The package stayed the same; its own share stayed at register 26-32 ms.
Fit. The cost scales with the deployment, not the package.
install wall ≈ 2 x schema pass(deployment objects) + flow re-sync(deployment flows) + about 25 ms package-sized remainder.
One schema pass is near-linear: 2.8 ms/object at 120 objects, 3.4 ms/object at 489 (least squares: 3.63 ms/object, intercept -142 ms).
Flow re-sync is quadratic: about 0.072 n^2 + 0.09 n ms for n deployment flows (predicts 81 / 319 / 1264 against measured 105 / 301 / 1267-1315). The quadratic term is rejudgeSubflowCallers: each registerFlow scans every flow for packaged and transitive callers (subflow-guards.ts:252, :274). That is 52 % of the flow pass at 66 flows and 73 % at 132.
Going from 1x to 4x multiplied the deployment by 4 and one install by 5.5.
Driver: sqlite-wasm in memory. NOT MEASURED: Postgres, Turso or another remote SQL driver. ObjectQLPluginOptions.startupTimeout's doc says the SQL driver has no batch schema sync, so each pass there costs one round-trip per object.
M3: what decides "re-sync everything", and what a package-scoped re-sync must still cover
packages/cloud-connection/src/marketplace-install-local-plugin.ts:3224: step 4b calls ql.syncSchemas() unconditionally. It walks this._registry.getAllStorageObjects() (packages/objectql/src/engine-compatibility-api.ts:127).
marketplace-install-local-plugin.ts:3281: announceHotInstall (6887; trigger at 6896) fires metadata:reloaded with changed: ['app/ID']. Neither heavy consumer reads changed:
packages/objectql/src/plugin.ts:1414: hook, then syncRegisteredSchemas at 1462 (body at 2746, every registered object);
packages/services/service-automation/src/plugin.ts:2827: hook, then resyncFlowsFromProtocol (6078), which reads every flow through getMetaItemsForExecution and re-registers each one (6087).
The same full pass per ledger entry runs on the cold-boot rehydrate: marketplace-install-local-plugin.ts:1758. K installed packages mean K full passes at boot. Reading only, NOT MEASURED.
Precedent for scoping on the payload: plugin-security's position-rename carry already judges only what the announcement names (packages/plugins/plugin-security/src/security-plugin-start-hooks.ts:484-490).
A scoped re-sync must still cover these cases, from the reading:
A package extending another package's object. Its table needs the ALTER, and that other package's flows bound to it are re-judged, because registration checks read the object's fields (unknown field verdicts).
A flow bound to another package's object.
Same-named flows of two packages: the contender resolution, ADR-0150 D4 slots.
An upgrade that drops a flow, and an uninstall: slot withdrawal and trigger unbind. The uninstall door announces the same payload at 3835.
Packaged subflow callers re-offered or declined.
A package datasource connected at step 4b-prime, after step 4b.
A disabled package's extensions folded into storage objects.
A retry of earlier failed DDL. The durability error prescribes "trigger a metadata reload" as the repair.
objectql:schema-synced still firing.
A refused flow becoming valid.
Every other announcer of the same event keeping a full pass: the dev artifact reload with metadata, publish-drafts, a per-item publish.
Verdict
A package-scoped re-sync pays. Threshold used: a narrowing pays when it removes at least 30 % of a showcase hot install's wall and removes a term that grows with the deployment.
Stage 1 clears it alone, and is safe by construction: scope step 4b to the package's own and extended objects. The full reload pass still follows. It saves about 40 % on the showcase and 36 % at 4x.
Stage 2 scopes the two reload consumers on changed, with the cases above as acceptance. It removes the remaining deployment terms: about 52 % of the showcase wall and 62 % at 4x, including the quadratic flow pass. It makes changed load-bearing for a shared event, so triage may route it through a decision first.
Filed as #34305, with these numbers and the cases as its acceptance. This card can close on that filing.
The metadata:reloaded roster grows per AppPlugin: the authored-translation sync and the dev hot-reload seeder register once per AppPlugin, 12 handlers at 4x against 6 at 1x. They cost 2-3 ms in total.
{
"issue": 33835,
"status": "done",
"branch": "claude/area-A5b-33835 (created locally by the worktree, never pushed: no measurement pin was committed, so the claim's branch condition did not arise)",
"pr": null,
"session": "session_01QsR2jUZKdq3PK2Sab53cT3",
"premise_still_valid": true,
"summary": "Measurement card, no product code. The card's premise holds: one hot install-local of a small package on the showcase costs 844 ms median (786-946, load1 4.7) against the card's 828-1033 idle. The time is two FULL schema-sync passes over every storage object (step 4b ql.syncSchemas 340 ms plus the metadata:reloaded hook's syncRegisteredSchemas 331 ms, 2 x 120 driver calls) and a full flow re-sync (105 ms for 33 flows). Registry rebuild, announcements and side effects come to about 25 ms. Cost scales with the deployment, not the package: 1728 ms at 2x and 4574-4683 ms at 4x (489 objects, 132 flows). The schema passes are near-linear (2.8-3.4 ms per object per pass). The flow pass is quadratic (about 0.072 n^2 ms), driven by rejudgeSubflowCallers (962 of 1315 ms at 132 flows). Measurement comment 6907995538 on #33835. Proposal card #34305 filed through issue-create, with the M3 cases as acceptance: stage 1 scopes step 4b (safe, about 40 %); stage 2 scopes the reload consumers on `changed`. #33835 can close on that filing.",
"tests": "Throwaway in-process probe packages/qa/dogfood/test/zz-probe-33835.dogfood.test.ts, never committed and deleted (git status --porcelain empty, git diff HEAD empty, 0 commits ahead of origin/main 01598d93). Closure build: os-verify-lock `pnpm --workspace-concurrency=2 --filter '@objectstack/dogfood^...' build` with OS_SKIP_DTS=1: VERDICT command-exit 0, held 72s. Probe runs, each `pnpm --filter @objectstack/dogfood exec vitest run --maxWorkers=1 test/zz-probe-33835.dogfood.test.ts` under the lock: scale 1 (5 small, 5 big) VERDICT command-exit 0, held 42s; scale 4 first attempt VERDICT command-exit 1 (my synthetic stack lacked requires automation/triggers: StackTriggerCapabilityRequiredError, probe fixed), rerun VERDICT command-exit 0, held 74s; scale 2 (with flow-engine timers) VERDICT command-exit 0, held 41s; scale 4 again (with flow-engine timers) VERDICT command-exit 0, held 59s. Two earlier acquisitions answered VERDICT queue-timeout (exit 99) and were re-queued under the same slot. Every install answered 200. No ablation: no tested behaviour changed.",
"gates": "None run locally: the diff is empty (no file changed, nothing committed or pushed), so dispatch-gates --commands has no change set to derive from and no CI check-runs exist. NOT MEASURED: every gate family, reason: no diff.",
"dogfood_battery": "n/a: no PR, no `!` title, no narrowing arm",
"mcp_calls": "0",
"api_writes": "3, all through the fleet-write relay as objectstack-fleet[bot]: issue_create objectstack-ai/objectstack#34305 (run 43808820002, read back identical); POST comment on #33835 = 6907995538 (run 43808960834, read back identical); POST comment on #33835 = this os-dev-report. No git push. GitHub reads were REST GETs via gh api (issue, comments, triage comment 6894583833, PR #33772).",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"Quadratic flow re-sync: rejudgeSubflowCallers scans every flow per registerFlow (packages/services/service-automation/src/subflow-guards.ts:252, :274), 158 of 301 ms at 66 flows and 962 of 1315 ms at 132; the cold boot also registers every flow (boot cost not measured). carrier: #34305 (named there as the quadratic term)",
"Cold-boot rehydrate runs a full ql.syncSchemas() per ledger entry (packages/cloud-connection/src/marketplace-install-local-plugin.ts:1758): K installed packages mean K full passes at boot. Reading only, NOT MEASURED. carrier: #34305 (stage 1 names it)",
"flowVersionHistory gains one entry per flow per hot install (measured 3 to 7 over five installs on showcase_task_assigned_notify); getFlowVersionHistory has no reader on origin/main 01598d93, so no public door shows it: observation. carrier: #34305 (side effect)",
"metadata:reloaded roster grows per AppPlugin: the authored-translation sync and the dev hot-reload seeder register once per AppPlugin, 12 handlers at 4x against 6 at 1x; cost 2-3 ms in total. carrier: none, noted only"
],
"deviations": "The order told this dev to file the one card through scripts/pm/issue-create.mjs. os-dev.md's default (findings go to the seat, which files them) yields to the order here; nothing else was filed. No empty-branch push: the claim's branch exists only for a committed pin. The closure build used OS_SKIP_DTS=1 (runtime probe only, no .d.ts readers).",
"head_sha": "01598d936f47378c02354a9c20cb08f0346a8c2c (origin/main; nothing committed)",
"measurement_comment": 6907995538,
"card_filed": 34305
}
The measurement is done (6907995538), so area S6 closes this card as completed. One hot install-local of a small package on the showcase costs a median of 844 ms. Nearly all of it is two full schema-sync passes over every storage object plus a full flow re-sync. The cost scales with the deployment, not the package: 1728 ms at 2x and about 4.6 s at 4x. The flow pass is quadratic through rejudgeSubflowCallers. A package-scoped re-sync pays, so the proposal is filed as #34305, with the M3 cases (a package extending another's object, a flow bound to another package's object) as acceptance. No code changed here, and no PR was opened. Dev report: 6908013296.
Activity
objectstack-fleet commentedon Nov 15, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: first touch →
domain:server·lease:A5· p2 · 2026-11-15T12:50Z⛔ Not a claim.
Every hot install re-syncs the whole deployment (123 object schemas and 33 flows on the showcase). Measure the cost and file what to narrow. Performance, so p2; it belongs with epic #33631 (SQL performance). A5 (install-local).
objectstack-fleet commentedon Nov 16, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3
Claim: server area-lease mode (#33751 §2), area S6 lease A5, dispatched by seat
domain:server#5area thread · executed by anos-devsub-agent (mode:subagent) · posted at 2026-11-16T04:14ZSession:
session_01QsR2jUZKdq3PK2Sab53cT3Account:
zhuangjianguoBranch:
claude/area-A5b-33835(only if a measurement pin is committed)Worktree:
objectstack-issue-33835Domain:
domain:serverSeat:
domain:server#5File surface: measurement only. Throwaway probes (never committed) on a booted showcase and on a larger synthetic deployment; the deliverable is a measurement comment on this card plus filed cards for what pays. No product code in this claim (stop on breach; explain in the report)
Container & model:
S,mode:subagent,model: default (no path-derived mandate),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
objectstack cloud-connection install-local + metadata reload: each hot install re-syncs every object schema and every flow of the deployment (123 / 33 on the showcase, 828-1033 ms idle) | the cold boot path | every hot install on a deployment, scaling with deployment sizeThread-read: 6894583833
Premise: to measure (card numbers from PR #33772 on an idle box)
Route: the card's: measure where one hot install's time goes (schema sync, flow re-sync, registry rebuild, announcements) and how it scales with deployment size vs package size; if a package-scoped re-sync is safe, propose it in a filed card with the cases it must cover (a package extending another's object, a flow bound to another package's object); otherwise close with the measurement.
Serial constraints cleared: #33922 (S3) edits
marketplace-install-local-plugin.ts; this claim edits nothing.Pre-claim lane: server because
packages/cloud-connection/src/marketplace-install-local-plugin.ts(triage: A5 install-local)Pre-claim deps: none open.
Prior rulings read: triage 6894583833 (epic #33631); PR #33772 (moved installs out of the test clock). docs/adr grep re-sync / hot install → none against narrowing. No ⛔ conflict.
Generated by Claude Code
objectstack-fleet commentedon Nov 16, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3
Measurement: where one hot install-local goes, and how it scales (M1-M3)
Posted 2026-11-16T05:14Z. Tree: objectstack
origin/main01598d9. Instrument: a throwaway in-process probe, never committed and deleted afterwards. It booted the showcase through the dogfoodbootShowcase(sqlite-wasm in memory, the harness default) withMarketplaceInstallLocalPlugin. After boot it wrapped the real methods on the code path withperformance.now()timers: themanifestservice'sregister, the engine'ssyncSchemas, eachmetadata:reloadedhandler, the ObjectQL and automation plugin methods those handlers call, the driver'ssyncSchema, andAutomationEngine.registerFlowwith its steps. Each run is onePOST /marketplace/install-localof a fresh small inline package (one object, agent, skill and tool, the shape PR #33772 measured). Box: a shared 4-core, 15 GB container; every run held the verify lock, which excludes other locked runs only. These are shared-box figures, not idle-box ones. load1 is printed per group.M1: one hot install on the showcase (120 storage objects, 33 flows), 5 runs, load1 4.7-4.9
manifest.register, registry rebuild)ql.syncSchemas(): schema sync of ALL objects, pass 1syncSchemacalls, logs nothing on successmetadata:reloaded(6 handlers)syncRegisteredSchemas, ALL objects, pass 2Schema sync complete {"synced":N}lineregisterReloadedArtifact0 ms: the install payload carries nometadataresyncFlowsFromProtocol, ALL flowsRe-synced 33 flow(s); protocol read 1-3 msSo: schema sync of all objects is 671 ms of 844 (79 %), and it runs twice, once at step 4b and again in the reload hook, over the same object set. Flow re-sync is 105 ms (12 %). Registry rebuild and announcements are about 20 ms together. What scales with the package is about 25 ms.
M2: the same install on bigger deployments (synthetic
AppPluginunits of 123 objects and 33 record-triggered flows each)rejudgeSubflowCallersPackage-size control on the 1x showcase: one 30-object, 10-flow package installed five times in a row cost 1011, 1191, 1328, 1634 and 2103 ms. Over those installs the deployment grew from 152 to 272 objects and from 43 to 83 flows. The package stayed the same; its own share stayed at register 26-32 ms.
Fit. The cost scales with the deployment, not the package.
rejudgeSubflowCallers: eachregisterFlowscans every flow for packaged and transitive callers (subflow-guards.ts:252,:274). That is 52 % of the flow pass at 66 flows and 73 % at 132.ObjectQLPluginOptions.startupTimeout's doc says the SQL driver has no batch schema sync, so each pass there costs one round-trip per object.M3: what decides "re-sync everything", and what a package-scoped re-sync must still cover
The decision points (
origin/main01598d9):packages/cloud-connection/src/marketplace-install-local-plugin.ts:3224: step 4b callsql.syncSchemas()unconditionally. It walksthis._registry.getAllStorageObjects()(packages/objectql/src/engine-compatibility-api.ts:127).marketplace-install-local-plugin.ts:3281:announceHotInstall(6887; trigger at 6896) firesmetadata:reloadedwithchanged: ['app/ID']. Neither heavy consumer readschanged:packages/objectql/src/plugin.ts:1414: hook, thensyncRegisteredSchemasat 1462 (body at 2746, every registered object);packages/services/service-automation/src/plugin.ts:2827: hook, thenresyncFlowsFromProtocol(6078), which reads every flow throughgetMetaItemsForExecutionand re-registers each one (6087).marketplace-install-local-plugin.ts:1758. K installed packages mean K full passes at boot. Reading only, NOT MEASURED.packages/plugins/plugin-security/src/security-plugin-start-hooks.ts:484-490).A scoped re-sync must still cover these cases, from the reading:
unknown fieldverdicts).objectql:schema-syncedstill firing.metadata, publish-drafts, a per-item publish.Verdict
A package-scoped re-sync pays. Threshold used: a narrowing pays when it removes at least 30 % of a showcase hot install's wall and removes a term that grows with the deployment.
changed, with the cases above as acceptance. It removes the remaining deployment terms: about 52 % of the showcase wall and 62 % at 4x, including the quadratic flow pass. It makeschangedload-bearing for a shared event, so triage may route it through a decision first.Filed as #34305, with these numbers and the cases as its acceptance. This card can close on that filing.
Noted, not filed:
flowVersionHistorygains one entry per flow per hot install: one showcase flow's history grew from 3 to 7 over five installs.getFlowVersionHistoryhas no reader on main, so it is carried in install-local: a hot install re-syncs only what it changed (its objects, the objects it extends, the flows bound to them), not the whole deployment twice #34305 as a side effect only.metadata:reloadedroster grows perAppPlugin: the authored-translation sync and the dev hot-reload seeder register once perAppPlugin, 12 handlers at 4x against 6 at 1x. They cost 2-3 ms in total.Raw per-run readings
1x small, totals ms: 946, 860, 786, 844, 804. 4b: 425, 376, 340, 340, 325. Reload pass: 331, 342, 318, 327, 346. Flows: 116, 105, 94, 137, 79.
1x big, the same 30-object package five times, totals ms: 1011, 1191, 1328, 1634, 2103. Storage objects after: 154, 184, 214, 244, 274. Re-synced flows: 43, 53, 63, 73, 83.
2x small, totals ms: 1891, 1728, 1642, 1716, 1750.
registerFlowx66 per install: 266-315 ms.rejudgeSubflowCallers: 135-167 ms. Canonicalize: 28-35 ms.4x small, boot A, totals ms: 4693, 4683, 4491, 4744, 4346.
4x small, boot B, totals ms: 4655, 4667, 4476, 4353, 4574.
registerFlowx132: 1223-1312 ms.rejudgeSubflowCallers: 919-991 ms. Canonicalize: 53-64 ms. Activate: 39-60 ms.Boot wall of the probe stacks: 6.4 s (1x), 7.5 s (2x), 9.9-10.4 s (4x).
Generated by Claude Code
objectstack-fleet commentedon Nov 16, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3
os-dev-report
{ "issue": 33835, "status": "done", "branch": "claude/area-A5b-33835 (created locally by the worktree, never pushed: no measurement pin was committed, so the claim's branch condition did not arise)", "pr": null, "session": "session_01QsR2jUZKdq3PK2Sab53cT3", "premise_still_valid": true, "summary": "Measurement card, no product code. The card's premise holds: one hot install-local of a small package on the showcase costs 844 ms median (786-946, load1 4.7) against the card's 828-1033 idle. The time is two FULL schema-sync passes over every storage object (step 4b ql.syncSchemas 340 ms plus the metadata:reloaded hook's syncRegisteredSchemas 331 ms, 2 x 120 driver calls) and a full flow re-sync (105 ms for 33 flows). Registry rebuild, announcements and side effects come to about 25 ms. Cost scales with the deployment, not the package: 1728 ms at 2x and 4574-4683 ms at 4x (489 objects, 132 flows). The schema passes are near-linear (2.8-3.4 ms per object per pass). The flow pass is quadratic (about 0.072 n^2 ms), driven by rejudgeSubflowCallers (962 of 1315 ms at 132 flows). Measurement comment 6907995538 on #33835. Proposal card #34305 filed through issue-create, with the M3 cases as acceptance: stage 1 scopes step 4b (safe, about 40 %); stage 2 scopes the reload consumers on `changed`. #33835 can close on that filing.", "tests": "Throwaway in-process probe packages/qa/dogfood/test/zz-probe-33835.dogfood.test.ts, never committed and deleted (git status --porcelain empty, git diff HEAD empty, 0 commits ahead of origin/main 01598d93). Closure build: os-verify-lock `pnpm --workspace-concurrency=2 --filter '@objectstack/dogfood^...' build` with OS_SKIP_DTS=1: VERDICT command-exit 0, held 72s. Probe runs, each `pnpm --filter @objectstack/dogfood exec vitest run --maxWorkers=1 test/zz-probe-33835.dogfood.test.ts` under the lock: scale 1 (5 small, 5 big) VERDICT command-exit 0, held 42s; scale 4 first attempt VERDICT command-exit 1 (my synthetic stack lacked requires automation/triggers: StackTriggerCapabilityRequiredError, probe fixed), rerun VERDICT command-exit 0, held 74s; scale 2 (with flow-engine timers) VERDICT command-exit 0, held 41s; scale 4 again (with flow-engine timers) VERDICT command-exit 0, held 59s. Two earlier acquisitions answered VERDICT queue-timeout (exit 99) and were re-queued under the same slot. Every install answered 200. No ablation: no tested behaviour changed.", "gates": "None run locally: the diff is empty (no file changed, nothing committed or pushed), so dispatch-gates --commands has no change set to derive from and no CI check-runs exist. NOT MEASURED: every gate family, reason: no diff.", "dogfood_battery": "n/a: no PR, no `!` title, no narrowing arm", "mcp_calls": "0", "api_writes": "3, all through the fleet-write relay as objectstack-fleet[bot]: issue_create objectstack-ai/objectstack#34305 (run 43808820002, read back identical); POST comment on #33835 = 6907995538 (run 43808960834, read back identical); POST comment on #33835 = this os-dev-report. No git push. GitHub reads were REST GETs via gh api (issue, comments, triage comment 6894583833, PR #33772).", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "Quadratic flow re-sync: rejudgeSubflowCallers scans every flow per registerFlow (packages/services/service-automation/src/subflow-guards.ts:252, :274), 158 of 301 ms at 66 flows and 962 of 1315 ms at 132; the cold boot also registers every flow (boot cost not measured). carrier: #34305 (named there as the quadratic term)", "Cold-boot rehydrate runs a full ql.syncSchemas() per ledger entry (packages/cloud-connection/src/marketplace-install-local-plugin.ts:1758): K installed packages mean K full passes at boot. Reading only, NOT MEASURED. carrier: #34305 (stage 1 names it)", "flowVersionHistory gains one entry per flow per hot install (measured 3 to 7 over five installs on showcase_task_assigned_notify); getFlowVersionHistory has no reader on origin/main 01598d93, so no public door shows it: observation. carrier: #34305 (side effect)", "metadata:reloaded roster grows per AppPlugin: the authored-translation sync and the dev hot-reload seeder register once per AppPlugin, 12 handlers at 4x against 6 at 1x; cost 2-3 ms in total. carrier: none, noted only" ], "deviations": "The order told this dev to file the one card through scripts/pm/issue-create.mjs. os-dev.md's default (findings go to the seat, which files them) yields to the order here; nothing else was filed. No empty-branch push: the claim's branch exists only for a committed pin. The closure build used OS_SKIP_DTS=1 (runtime probe only, no .d.ts readers).", "head_sha": "01598d936f47378c02354a9c20cb08f0346a8c2c (origin/main; nothing committed)", "measurement_comment": 6907995538, "card_filed": 34305 }objectstack-fleet commentedon Nov 16, 2026
domain:server#5 · zhuangjianguo · session_01QsR2jUZKdq3PK2Sab53cT3
Close · #33835 · 2026-11-16T05:18Z
The measurement is done (6907995538), so area S6 closes this card as completed. One hot install-local of a small package on the showcase costs a median of 844 ms. Nearly all of it is two full schema-sync passes over every storage object plus a full flow re-sync. The cost scales with the deployment, not the package: 1728 ms at 2x and about 4.6 s at 4x. The flow pass is quadratic through
rejudgeSubflowCallers. A package-scoped re-sync pays, so the proposal is filed as #34305, with the M3 cases (a package extending another's object, a flow bound to another package's object) as acceptance. No code changed here, and no PR was opened. Dev report: 6908013296.Generated by Claude Code