fix: persist local session identity on the writable session volume
This commit is contained in:
@@ -17,6 +17,11 @@ test("consumer bundle pins every service and carries all source bind resources",
|
||||
assert.equal(compose.services["catalog-migrate"].image, images.core);
|
||||
assert.equal(compose.services["workspace-maintenance"].image, images.core);
|
||||
assert.equal(compose.services["embedding-model-init"].image, images.embedding);
|
||||
// Both session commands and maintenance must retain local identity under a
|
||||
// writable shared volume when the installer maps the operator's Unix UID.
|
||||
assert.equal(compose.services.core.environment.THT_HOME, "/data/sessions/.thothii");
|
||||
assert.equal(compose.services["workspace-maintenance"].environment.THT_HOME,
|
||||
compose.services.core.environment.THT_HOME);
|
||||
for (const service of Object.values(compose.services)) {
|
||||
assert.equal(service.build, undefined);
|
||||
assert.equal(service.pull_policy, undefined);
|
||||
|
||||
Reference in New Issue
Block a user