Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(web): preview worktree storage before saving cleanup rules #12604

Closedtris203(GitHub profile, opens in a new tab)wants to merge 18 commits intomain fromrefs/pull/12604/headopened View on GitHub

Showing 59 changed files with 4 additions and 1 deletion (loading 56).

x
0 of 59 viewed, 59 left
1 addition and 1 deletionapps/server/integration/OrchestrationEngineHarness.integration.tsModified
View file
@@ -384,7 +384,7 @@
const orchestrationReactorLayer = OrchestrationReactorLive.pipe(
Layer.provideMerge(
- Layer.succeed(StorageCleanup.StorageCleanup, {
+ Layer.mock(StorageCleanup.StorageCleanup)({
start: () => Effect.void,
drain: Effect.void,
}),
2 additions and 0 deletionsapps/server/src/auth/RpcAuthorization.tsModified
View file
@@ -54,6 +54,8 @@
[WS_METHODS.serverCommitDesktopUpdate]: AuthOrchestrationOperateScope,
[WS_METHODS.serverUpsertKeybinding]: AuthOrchestrationOperateScope,
[WS_METHODS.serverRemoveKeybinding]: AuthOrchestrationOperateScope,
+ [WS_METHODS.serverPreviewStorageCleanup]: AuthOrchestrationReadScope,
+ [WS_METHODS.subscribeStorageCleanup]: AuthOrchestrationReadScope,
[WS_METHODS.serverGetSettings]: AuthOrchestrationReadScope,
[WS_METHODS.serverUpdateSettings]: AuthOrchestrationOperateScope,
[WS_METHODS.serverDiscoverSourceControl]: AuthOrchestrationReadScope,
1 addition and 0 deletionsapps/server/src/environment/ServerEnvironment.tsModified
View file
@@ -225,6 +225,7 @@
threadSettlement: true,
threadAutoSettlement: true,
storageCleanup: true,