Skip to content

Commit 1852bb8

Browse files
committed
test: the route-ledger census, module-top source loads for the converted route tests, and no tracker id in the semantic entry's guidance (#38150 PR-B1)
Claude-Session: https://claude.ai/code/session_01L9qibyHmxFV4bTFZ5BKnUz Co-authored-by: Claude <noreply@anthropic.com>
1 parent 47bb4d2 commit 1852bb8

6 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎packages/runtime/src/domains/packages-readonly-remedy-pair-route.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ import { tmpdir } from 'node:os';
3939
import { join } from 'node:path';
4040
import { SchemaRegistry } from '@objectstack/objectql';
4141
import { HttpDispatcher } from '../http-dispatcher.js';
42+
// Pay the source's dynamic `@objectstack/metadata` load during collection, never inside a clocked case.
43+
import '@objectstack/metadata';
4244

4345
/** A code-booted package (registered into `engine.manifests`), as the showcase is. */
4446
const CODE_LOADED = 'com.acme.helpdesk';

‎packages/runtime/src/domains/packages-vetted-org-source.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ import type { IHttpServer } from '@objectstack/spec/contracts';
7171
import { HttpDispatcher } from '../http-dispatcher.js';
7272
import { createDispatcherPlugin } from '../dispatcher-plugin.js';
7373
import { bindCatalogFromTables } from '../security/security-catalog.testkit.js';
74+
// Pay the source's dynamic `@objectstack/metadata` load during collection, never inside a clocked case.
75+
import '@objectstack/metadata';
7476

7577
const PREFIX = '/api/v1';
7678
const PKG = 'com.acme.crm';

‎packages/runtime/src/domains/packages-walled-write-refusal.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
import { describe, it, expect, vi } from 'vitest';
2020
import { HttpDispatcher } from '../http-dispatcher.js';
21+
// Pay the source's dynamic `@objectstack/metadata` load during collection, never inside a clocked case.
22+
import '@objectstack/metadata';
2123

2224
const PKG = 'com.example.pkg-a';
2325

‎packages/runtime/src/route-ledger.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export const NON_DISPATCH_MOUNT_PREFIXES = [
301301
/**
302302
* The ledger.
303303
*
304-
* CENSUS (generated): this list holds 158 rows.
304+
* CENSUS (generated): this list holds 157 rows.
305305
*
306306
* ⛔ THAT NUMBER IS WRITTEN BY A TOOL — never by hand.
307307
* `pnpm check:route-ledger-census` counts the rows below and fails when the two

‎packages/spec/src/migrations/entries/semantic/19.packages-adopt-orphans-door-retired.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const entry: SemanticMigration = {
2323
+ 'The old door rebound every package-less row of the environment with a bare storage update and '
2424
+ 'asked none of the save door\'s questions, so it could adopt into a package nothing installed, '
2525
+ 'adopt an object its target\'s namespace prefix refuses, and leave the runtime serving the old '
26-
+ 'address until a restart (#37468).',
26+
+ 'address until a restart.',
2727
acceptanceCriteria:
2828
'On a booted stack, POST /api/v1/packages/<an installed writable package>/adopt-orphans answers '
2929
+ '404 and every loose row stays loose; POST /api/v1/packages/<same>/move-in naming a loose flow '

‎ui/packages/app-shell/src/views/metadata-admin/PackagesPage.readOnlyActions-13157.test.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ import { MemoryRouter } from 'react-router-dom';
3030

3131
import { PackageDetailSheet, type InstalledPackageRow } from './PackagesPage';
3232
import { t } from './i18n';
33+
// Pay the source's dynamic `@objectstack/lint` load during collection, never inside a clocked case.
34+
import '@objectstack/lint';
3335

3436
const label = (key: string) => t(`engine.packages.detail.${key}`, 'en');
3537

0 commit comments

Comments
 (0)