Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
Split Open Knowledge vitest cells for an 8-minute cache-miss target (PRD-9548) (#6920)
Andrew Mikofalvy748af47192c1
diff --git a/package.json b/package.jsonindex 6474f1636..c830210ca 100644--- a/package.json+++ b/package.json@@ -39,7 +39,7 @@"lint:oxlint": "oxlint --max-warnings 0 .","format": "pnpm run lint:biome --write --unsafe","check": "pnpm run lint && pnpm exec turbo run build typecheck test test:uncached",- "check:full:parallel": "pnpm run check:drift:guards && pnpm run check:server-test-inputs && pnpm run lint && pnpm run check:doc-links && vitest run --config vitest.scripts.config.ts && turbo run build typecheck check:dts test test:uncached test:dom test:integration:shard1 test:integration:shard2 test:integration:shard3 test:conversion test:perf:regression:unit test:health:unit test:health test:e2e test:perf test:a11y --concurrency=100% --output-logs=errors-only",+ "check:full:parallel": "pnpm run check:drift:guards && pnpm run check:server-test-inputs && pnpm run lint && pnpm run check:doc-links && vitest run --config vitest.scripts.config.ts && turbo run build typecheck check:dts test test:uncached test:dom test:integration:shard1 test:integration:shard2 test:integration:shard3 test:integration:shard4 test:integration:shard5 test:integration:shard6 test:conversion test:perf:regression:unit test:health:unit test:health test:e2e test:perf test:a11y --concurrency=100% --output-logs=errors-only","tier1": "pnpm run check","tier2": "pnpm run tier1 && turbo run test:perf:regression:unit test:health:unit test:health test:e2e","tier3": "STRESS_FIDELITY=1 pnpm run tier2",diff --git a/packages/app/package.json b/packages/app/package.jsonindex dd7b9da35..84b8ccecc 100644--- a/packages/app/package.json+++ b/packages/app/package.json@@ -29,9 +29,12 @@"test:node": "vitest run --config vitest.node.config.ts","check": "node scripts/compile-i18n-catalogs.ts && tsc --noEmit && biome check . && pnpm run test && pnpm run test:dom && pnpm run test:integration && pnpm run test:conversion && pnpm -w run test:uncached","test:integration": "vitest run --config vitest.integration.config.ts",- "test:integration:shard1": "vitest run --config vitest.integration.config.ts --shard=1/3",- "test:integration:shard2": "vitest run --config vitest.integration.config.ts --shard=2/3",- "test:integration:shard3": "vitest run --config vitest.integration.config.ts --shard=3/3",+ "test:integration:shard1": "vitest run --config vitest.integration.config.ts --shard=1/6",+ "test:integration:shard2": "vitest run --config vitest.integration.config.ts --shard=2/6",+ "test:integration:shard3": "vitest run --config vitest.integration.config.ts --shard=3/6",+ "test:integration:shard4": "vitest run --config vitest.integration.config.ts --shard=4/6",+ "test:integration:shard5": "vitest run --config vitest.integration.config.ts --shard=5/6",+ "test:integration:shard6": "vitest run --config vitest.integration.config.ts --shard=6/6","test:worker-lifetime": "vitest run --config vitest.worker-lifetime.config.ts","test:perf:sessions": "vitest run --config vitest.config.ts tests/integration/per-session-um-perf.test.ts --testTimeout 60000","test:conversion": "vitest run --config vitest.config.ts tests/conversion/",diff --git a/packages/server/package.json b/packages/server/package.jsonindex 38d9ac5f8..3e8b0028e 100644--- a/packages/server/package.json+++ b/packages/server/package.json@@ -75,6 +75,9 @@"build:skill-bundles": "node --import tsx scripts/build-skill-bundles.ts","typecheck": "pnpm run typecheck:bash && pnpm run typecheck:test-helper-callers && tsc","test": "vitest run",+ "test:shard1": "vitest run --shard=1/3",+ "test:shard2": "vitest run --shard=2/3",+ "test:shard3": "vitest run --shard=3/3","test:network": "vitest run --config vitest.network.config.ts","test:mcp-inspector": "vitest run --config vitest.mcp-inspector.config.ts","measure:generated-index-sweep": "node --import tsx --conditions=development measure-generated-index-sweep.ts",diff --git a/turbo.json b/turbo.jsonindex 939cc9d75..02c855168 100644--- a/turbo.json+++ b/turbo.json@@ -142,6 +142,54 @@],"outputs": ["test-results/vitest-test.json", "test-results/vitest-test.provenance.json"]},+ "@inkeep/open-knowledge-server#test:shard1": {+ "dependsOn": ["^build"],+ "cache": true,+ "inputs": [+ "$TURBO_DEFAULT$",+ "!CHANGELOG.md",+ "!README.md",+ "../../test-support/*.ts",+ "../../test-support/test-only-source-file.mjs",+ "../app/src/editor/observers.ts"+ ],+ "outputs": [+ "test-results/vitest-test-shard1.json",+ "test-results/vitest-test-shard1.provenance.json"+ ]+ },+ "@inkeep/open-knowledge-server#test:shard2": {+ "dependsOn": ["^build"],+ "cache": true,+ "inputs": [+ "$TURBO_DEFAULT$",+ "!CHANGELOG.md",+ "!README.md",+ "../../test-support/*.ts",+ "../../test-support/test-only-source-file.mjs",+ "../app/src/editor/observers.ts"+ ],+ "outputs": [+ "test-results/vitest-test-shard2.json",+ "test-results/vitest-test-shard2.provenance.json"+ ]+ },+ "@inkeep/open-knowledge-server#test:shard3": {+ "dependsOn": ["^build"],+ "cache": true,+ "inputs": [+ "$TURBO_DEFAULT$",+ "!CHANGELOG.md",+ "!README.md",+ "../../test-support/*.ts",+ "../../test-support/test-only-source-file.mjs",+ "../app/src/editor/observers.ts"+ ],+ "outputs": [+ "test-results/vitest-test-shard3.json",+ "test-results/vitest-test-shard3.provenance.json"+ ]+ },"@inkeep/open-knowledge#test": {"dependsOn": ["^build", "build"],"cache": true,@@ -286,6 +334,57 @@"test-results/vitest-test-integration-shard3.provenance.json"]},+ "test:integration:shard4": {+ "dependsOn": ["^build"],+ "cache": true,+ "inputs": [+ "$TURBO_DEFAULT$",+ "$TURBO_ROOT$/test-support/**",+ "../server/src/**/*.ts",+ "../core/src/**/*.ts",+ "$TURBO_ROOT$/lint-plugins/no-comments/**",+ "$TURBO_ROOT$/packages/cli/src/**",+ "$TURBO_ROOT$/packages/cli/package.json"+ ],+ "outputs": [+ "test-results/vitest-test-integration-shard4.json",+ "test-results/vitest-test-integration-shard4.provenance.json"+ ]+ },+ "test:integration:shard5": {+ "dependsOn": ["^build"],+ "cache": true,+ "inputs": [+ "$TURBO_DEFAULT$",+ "$TURBO_ROOT$/test-support/**",+ "../server/src/**/*.ts",+ "../core/src/**/*.ts",+ "$TURBO_ROOT$/lint-plugins/no-comments/**",+ "$TURBO_ROOT$/packages/cli/src/**",+ "$TURBO_ROOT$/packages/cli/package.json"+ ],+ "outputs": [+ "test-results/vitest-test-integration-shard5.json",+ "test-results/vitest-test-integration-shard5.provenance.json"+ ]+ },+ "test:integration:shard6": {+ "dependsOn": ["^build"],+ "cache": true,+ "inputs": [+ "$TURBO_DEFAULT$",+ "$TURBO_ROOT$/test-support/**",+ "../server/src/**/*.ts",+ "../core/src/**/*.ts",+ "$TURBO_ROOT$/lint-plugins/no-comments/**",+ "$TURBO_ROOT$/packages/cli/src/**",+ "$TURBO_ROOT$/packages/cli/package.json"+ ],+ "outputs": [+ "test-results/vitest-test-integration-shard6.json",+ "test-results/vitest-test-integration-shard6.provenance.json"+ ]+ },"test:conversion": {"dependsOn": ["^build"],"cache": true,