- TruncateService as global Effect service on ManagedRuntime with FileSystem for cleanup (readDirectory + remove) - Hourly cleanup via Effect.forkScoped + Schedule.spaced - Split into truncate-service.ts (Effect) + truncation.ts (facade) to avoid circular import with runtime.ts - Shared TRUNCATION_DIR constant in truncation-dir.ts - Delete Scheduler module (no remaining consumers) - Remove Truncate.init() from bootstrap (cleanup starts automatically when runtime is created) |
||
|---|---|---|
| .. | ||
| bin | ||
| migration | ||
| script | ||
| src | ||
| test | ||
| .gitignore | ||
| AGENTS.md | ||
| BUN_SHELL_MIGRATION_PLAN.md | ||
| bunfig.toml | ||
| Dockerfile | ||
| drizzle.config.ts | ||
| package.json | ||
| parsers-config.ts | ||
| README.md | ||
| sst-env.d.ts | ||
| tsconfig.json | ||