refactor: remove additional dead exports and unused actions

Remove buildFontUrl, measureText, uncached, invalidateCache, fetchJsonWithFlareSolver, upsertPermission, deletePermission, bulkImportPermissions, clearAllPermissions, bulkDeletePermissions, bulkDeletePhotos, userReplyTicket, closeTicketByUser. Update staff-smoke-contract test for bulkDeletePhotos removal.
This commit is contained in:
openhands
2026-08-07 19:19:05 +02:00
parent 24bf8eabb9
commit 6a67fb6e83
10 changed files with 3 additions and 187 deletions
-12
View File
@@ -47,15 +47,3 @@ export async function cached<T>(
return data;
}
/** Invalidate a single cache key across Redis + memory (call after writes). */
export async function uncached(key: string): Promise<void> {
memory.delete(key);
if (redis && redis.status !== "end") {
try {
await redis.del(key);
} catch {
/* non-critical */
}
}
}