refactor: remove activity service filesystem fallback (#1191)

This commit is contained in:
Brad Groux 2026-08-23 15:28:38 -05:00 committed by GitHub
parent 542d6dd760
commit 91623dba84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 14 deletions

View file

@ -1,13 +1,7 @@
{
"schemaVersion": 1,
"maximumEntries": 53,
"maximumEntries": 52,
"entries": [
{
"path": "server/src/services/activity-service.ts",
"category": "authoritative-persistence",
"owner": "#1186",
"rationale": "Coordination-state storage migration is tracked in issue #1186."
},
{
"path": "server/src/services/agent-health-service.ts",
"category": "authoritative-persistence",

View file

@ -1,4 +1,3 @@
import { mkdir } from 'fs/promises';
import { join } from 'path';
import { getDataDir } from '../utils/paths.js';
import type { ActivityRepository } from '../storage/interfaces.js';
@ -95,11 +94,6 @@ export class ActivityService {
}
}
private async ensureDir() {
const dir = getDataDir();
await mkdir(dir, { recursive: true });
}
/**
* Load all activities from storage (already sorted newest-first).
*/
@ -250,7 +244,6 @@ export class ActivityService {
return;
}
await this.ensureDir();
// Fallback: no-op
}