test: finish moving the root suites to the community edition (P1.5, P1.3b)

- The workspace isolation scenarios store memories through the memory
  store and check that one workspace's search never returns another's.
- The Ollama manifest test covers the Linux x64 and arm64 artifacts added
  for P1.3b; an unsupported platform still resolves to nothing.
- The root run leaves out the tests that only exercise excluded packages
  (the hook packages and the memory MCP server); they go with those
  packages in P2.2.
This commit is contained in:
shumeiko.it
2026-10-24 17:53:16 +02:00
parent 2a7f129df6
commit 64580b4551
3 changed files with 54 additions and 110 deletions

View File

@@ -231,6 +231,26 @@ describe('managed Ollama supply-chain manifest', () => {
targetSha256: '14462bd438815eb2c1d4c61224744637131ab744e858a2e2562e7fc7fc2c4f7d',
targetSizeBytes: 145_790_989,
},
{
platform: 'linux',
arch: 'x64',
filename: 'ollama-linux-amd64.tar.zst',
executableName: 'ollama',
rollbackSha256: '56362d7609dfa9e35aaebb7c9cab25605d8f0528ec3d5d585dc83d6642002bab',
rollbackSizeBytes: 1_436_128_693,
targetSha256: '2597d74fbe654ef6a37db56f771cf37d4a85c6bde4018127874e3927d3113800',
targetSizeBytes: 1_421_853_873,
},
{
platform: 'linux',
arch: 'arm64',
filename: 'ollama-linux-arm64.tar.zst',
executableName: 'ollama',
rollbackSha256: '2c1fbc47a5351c74f5400d7e4b1104bb470291af5d2f425c37c151487a477ad6',
rollbackSizeBytes: 1_556_234_636,
targetSha256: '61af0def977ffc9e76cc961f9505d621805653c63f444796de2f77b4eaaa7047',
targetSizeBytes: 1_542_500_407,
},
] as const;
expect(OLLAMA_RUNTIME_ARTIFACTS).toHaveLength(supportedTargets.length * 2);
expect(new Set(OLLAMA_RUNTIME_ARTIFACTS.map(
@@ -262,7 +282,7 @@ describe('managed Ollama supply-chain manifest', () => {
sizeBytes: supported.targetSizeBytes,
});
}
expect(resolveOllamaRuntimeArtifact('linux', 'x64')).toBeNull();
expect(resolveOllamaRuntimeArtifact('freebsd', 'x64')).toBeNull();
});
it('binds the managed daemon to loopback and isolates its model store', () => {