Skip to content

Commit 0fba995

Browse files
committed
test(runtime): pay the metadata module load during collection in the host store pin
Claude-Session: https://claude.ai/code/session_01L9qibvSvYrx9SiZMbSoehj Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 83af516 commit 0fba995

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/runtime/src/package-state-host-store.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ import { join } from 'node:path';
2828
import { ObjectKernel, type Plugin, type PluginContext } from '@objectstack/core';
2929
import { ObjectQLPlugin } from '@objectstack/objectql';
3030
import { resolveThrownHttpError } from '@objectstack/types';
31+
// Paid during collection, not inside a case's clock: `AppPlugin` loads it lazily.
32+
import '@objectstack/metadata';
3133

3234
import { AppPlugin } from './app-plugin.js';
3335
import { HttpDispatcher } from './http-dispatcher.js';

0 commit comments

Comments
 (0)