Chris Anderson

Results 128 comments of Chris Anderson

I've created a demonstration PR that shows the scope of this change: **#1159** That PR contains only the `eslint.config.mjs` changes from this PR, and running `pnpm lint` reveals **2,304 lint...

I did some noodling on the branch to understand how it's going. This PR doesn't do much, feel free to ignore it, just what I was able to get out...

## Meta-Corruption Investigation Summary ### **Root Cause Identified**: CAR File Management Race Condition **Issue**: During database attachment process, CAR files become "stale" and are removed from carLog before blocks can...

## Deadlock Investigation - Attempted Synchronization Fixes ### **Attempted Fix #1: Promise.all() on Commit Queue** ```typescript // In writeCar() - DEADLOCK 🔴 const remoteWrites = this.attached.remotes().map((r) => this.commitQueue.enqueue(async () =>...

## How to Reproduce the Race Condition with Enhanced Logging ### **Running the Test with Full Logging** ```bash # From fireproof repo root: cd /Users/jchris/code/fp/fireproof FP_DEBUG=CRDTClock,Loader,EncryptedBlockstore pnpm run test --project...

## Potential URL Routing Issue in CAR File Storage ### **Memory Gateway Logging Investigation** Running with `FP_DEBUG=MemoryGatewayMeta,MemoryGatewayCar` shows an interesting pattern that might explain the issue: #### **CAR Files Stored...

Easy to reproduce with a few seconds of app use. Something about this workload is finding an issue https://lunar-sparrow-9865.vibesdiy.app/