- MCP
- show on this site's /mcp
- CLI
- abso show 275 --json
- JSON
- /christopher/abso-core/versions/275?format=json
Definition code: setDefinitionCodeInMemory for tests (abso's kept-reader test puts a 100 KB file through scratch, as before the 4 MB limit), and 274's test formatted as Biome wants (274's check failed on it).
of shared·capacity··Not checked
Version 274 · Files at version 275
2 files, 16 lines added, 7 removed.
--- a/worker/project/definition-code.ts
+++ b/worker/project/definition-code.ts
@@ -9,12 +9,24 @@
1111
13+
15+ * Tests only: the in-memory limit for every later call, so a small file takes the scratch path (abso's kept-reader
23+
17− inMemory = DEFINITION_CODE_IN_MEMORY,
--- a/worker/project/test/definition-code.test.ts
+++ b/worker/project/test/definition-code.test.ts
@@ -44,8 +44,8 @@
47− assert.deepEqual(code.slice(0, 4), expected.slice(0, 4));
48− for (let i = code.length - 1; i >= 0; i--) assert.equal(code[i], expected[i]);
@@ -56,9 +56,6 @@
59− assert.throws(
60− () => withDefinitionCode(view, view.buildLines("f.ts"), () => [], 65536),
61− /injected storage failure/,
62− );
59+ assert.throws(() => withDefinitionCode(view, view.buildLines("f.ts"), () => [], 65536), /injected storage failure/);