[web] extend history debugging with estimate on snapshot size (#32502)

GitOrigin-RevId: 6ee75d227c0d093e4698324f6cc018b077076730
This commit is contained in:
Jakob Ackermann
2026-03-30 08:06:09 +00:00
committed by Copybot
parent 9542334fef
commit 9f8f77e56f
10 changed files with 111 additions and 2 deletions
@@ -256,7 +256,7 @@ export class ProjectSnapshot {
/**
* Blob store that fetches blobs from the history service
*/
class SimpleBlobStore {
export class SimpleBlobStore {
private projectId: string
constructor(projectId: string) {
@@ -280,7 +280,7 @@ async function flushHistory(projectId: string) {
await postJSON(`/project/${projectId}/flush`)
}
async function fetchLatestChunk(projectId: string): Promise<Chunk> {
export async function fetchLatestChunk(projectId: string): Promise<Chunk> {
const response = await getJSON<{ chunk: RawChunk }>(
`/project/${projectId}/latest/history`
)