Improve remote runtime cache logging

This commit is contained in:
2026-05-10 22:56:29 +00:00
parent 61f6d37960
commit 7de42e10df
5 changed files with 113 additions and 12 deletions
+13
View File
@@ -3,6 +3,7 @@ import {
createRemoteEphemeralBootstrapCommand,
createRemoteEphemeralReadinessCommand,
createRemoteEphemeralRuntimeCacheCheckCommand,
createRemoteEphemeralRuntimeMarkCommand,
createRemoteBootstrapCommand,
createRemoteInstallCommand,
createRemoteServerInstallPlan,
@@ -113,4 +114,16 @@ tap.test('should render ephemeral runtime cache check command', async () => {
expect(cacheCheckCommand).toInclude('runtimeCache=hit');
});
tap.test('should render ephemeral runtime mark command', async () => {
const markCommand = createRemoteEphemeralRuntimeMarkCommand({
runtimeRoot: '/tmp/gitzone-ide-0.1.0-deadbeef',
runtimeSha256: 'deadbeef',
});
expect(markCommand).toInclude('.gitzone-runtime-sha256.tmp');
expect(markCommand).toInclude("printf '%s");
expect(markCommand).toInclude("'deadbeef'");
expect(markCommand).toInclude('runtimeCache=stored');
});
export default tap.start();