Repository navigation
fix(server): stop syncing the SQLite WAL on every commit - #1722
Merged
Merged
Conversation
Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes
donjor
added a commit
that referenced
this pull request
Oct 13, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 13, 2026
…ses (#1724) ## Problem No fork release has published since 2026-10-11 22:26 UTC. Upstream re-pointed its moving `android-nightly` tag, and plain `git fetch --tags` refuses to overwrite a tag: ```text ! [rejected] android-nightly -> android-nightly (would clobber existing tag) ``` That fetch fails in release preflight and in the upstream sync mirror, so neither has run since. #1721, #1722, and #1723 have no build. ## Change - **Release preflight:** `git fetch --tags --force` - **Sync mirror fetch:** `git fetch --tags --force` - **Sync mirror push:** `push --tags --force` - **Local `fork:sync`:** same fetch flag - **Doc:** `fork-sync.md` fetch row Fork tags never share a name with an upstream tag, so forcing only moves upstream-owned tags. The `main` push stays unforced. ## Scope and approval The maintainer asked to land #1723 and stage its nightly; this unblocks that release. ## Verification - **Repro:** plain fetch rejected, exit 1 - **Fix:** forced fetch updates the tag, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a release run on this head Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: fork-meta Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 15, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 15, 2026
…ses (#1724) ## Problem No fork release has published since 2026-10-11 22:26 UTC. Upstream re-pointed its moving `android-nightly` tag, and plain `git fetch --tags` refuses to overwrite a tag: ```text ! [rejected] android-nightly -> android-nightly (would clobber existing tag) ``` That fetch fails in release preflight and in the upstream sync mirror, so neither has run since. #1721, #1722, and #1723 have no build. ## Change - **Release preflight:** `git fetch --tags --force` - **Sync mirror fetch:** `git fetch --tags --force` - **Sync mirror push:** `push --tags --force` - **Local `fork:sync`:** same fetch flag - **Doc:** `fork-sync.md` fetch row Fork tags never share a name with an upstream tag, so forcing only moves upstream-owned tags. The `main` push stays unforced. ## Scope and approval The maintainer asked to land #1723 and stage its nightly; this unblocks that release. ## Verification - **Repro:** plain fetch rejected, exit 1 - **Fix:** forced fetch updates the tag, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a release run on this head Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: fork-meta Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 16, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 16, 2026
…ses (#1724) ## Problem No fork release has published since 2026-10-11 22:26 UTC. Upstream re-pointed its moving `android-nightly` tag, and plain `git fetch --tags` refuses to overwrite a tag: ```text ! [rejected] android-nightly -> android-nightly (would clobber existing tag) ``` That fetch fails in release preflight and in the upstream sync mirror, so neither has run since. #1721, #1722, and #1723 have no build. ## Change - **Release preflight:** `git fetch --tags --force` - **Sync mirror fetch:** `git fetch --tags --force` - **Sync mirror push:** `push --tags --force` - **Local `fork:sync`:** same fetch flag - **Doc:** `fork-sync.md` fetch row Fork tags never share a name with an upstream tag, so forcing only moves upstream-owned tags. The `main` push stays unforced. ## Scope and approval The maintainer asked to land #1723 and stage its nightly; this unblocks that release. ## Verification - **Repro:** plain fetch rejected, exit 1 - **Fix:** forced fetch updates the tag, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a release run on this head Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: fork-meta Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 16, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 16, 2026
…ses (#1724) ## Problem No fork release has published since 2026-10-11 22:26 UTC. Upstream re-pointed its moving `android-nightly` tag, and plain `git fetch --tags` refuses to overwrite a tag: ```text ! [rejected] android-nightly -> android-nightly (would clobber existing tag) ``` That fetch fails in release preflight and in the upstream sync mirror, so neither has run since. #1721, #1722, and #1723 have no build. ## Change - **Release preflight:** `git fetch --tags --force` - **Sync mirror fetch:** `git fetch --tags --force` - **Sync mirror push:** `push --tags --force` - **Local `fork:sync`:** same fetch flag - **Doc:** `fork-sync.md` fetch row Fork tags never share a name with an upstream tag, so forcing only moves upstream-owned tags. The `main` push stays unforced. ## Scope and approval The maintainer asked to land #1723 and stage its nightly; this unblocks that release. ## Verification - **Repro:** plain fetch rejected, exit 1 - **Fix:** forced fetch updates the tag, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a release run on this head Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: fork-meta Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 18, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 18, 2026
…ses (#1724) ## Problem No fork release has published since 2026-10-11 22:26 UTC. Upstream re-pointed its moving `android-nightly` tag, and plain `git fetch --tags` refuses to overwrite a tag: ```text ! [rejected] android-nightly -> android-nightly (would clobber existing tag) ``` That fetch fails in release preflight and in the upstream sync mirror, so neither has run since. #1721, #1722, and #1723 have no build. ## Change - **Release preflight:** `git fetch --tags --force` - **Sync mirror fetch:** `git fetch --tags --force` - **Sync mirror push:** `push --tags --force` - **Local `fork:sync`:** same fetch flag - **Doc:** `fork-sync.md` fetch row Fork tags never share a name with an upstream tag, so forcing only moves upstream-owned tags. The `main` push stays unforced. ## Scope and approval The maintainer asked to land #1723 and stage its nightly; this unblocks that release. ## Verification - **Repro:** plain fetch rejected, exit 1 - **Fix:** forced fetch updates the tag, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a release run on this head Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: fork-meta Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 19, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 20, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 20, 2026
…ses (#1724) ## Problem No fork release has published since 2026-10-11 22:26 UTC. Upstream re-pointed its moving `android-nightly` tag, and plain `git fetch --tags` refuses to overwrite a tag: ```text ! [rejected] android-nightly -> android-nightly (would clobber existing tag) ``` That fetch fails in release preflight and in the upstream sync mirror, so neither has run since. #1721, #1722, and #1723 have no build. ## Change - **Release preflight:** `git fetch --tags --force` - **Sync mirror fetch:** `git fetch --tags --force` - **Sync mirror push:** `push --tags --force` - **Local `fork:sync`:** same fetch flag - **Doc:** `fork-sync.md` fetch row Fork tags never share a name with an upstream tag, so forcing only moves upstream-owned tags. The `main` push stays unforced. ## Scope and approval The maintainer asked to land #1723 and stage its nightly; this unblocks that release. ## Verification - **Repro:** plain fetch rejected, exit 1 - **Fix:** forced fetch updates the tag, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a release run on this head Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: fork-meta Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 21, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 21, 2026
…ses (#1724) ## Problem No fork release has published since 2026-10-11 22:26 UTC. Upstream re-pointed its moving `android-nightly` tag, and plain `git fetch --tags` refuses to overwrite a tag: ```text ! [rejected] android-nightly -> android-nightly (would clobber existing tag) ``` That fetch fails in release preflight and in the upstream sync mirror, so neither has run since. #1721, #1722, and #1723 have no build. ## Change - **Release preflight:** `git fetch --tags --force` - **Sync mirror fetch:** `git fetch --tags --force` - **Sync mirror push:** `push --tags --force` - **Local `fork:sync`:** same fetch flag - **Doc:** `fork-sync.md` fetch row Fork tags never share a name with an upstream tag, so forcing only moves upstream-owned tags. The `main` push stays unforced. ## Scope and approval The maintainer asked to land #1723 and stage its nightly; this unblocks that release. ## Verification - **Repro:** plain fetch rejected, exit 1 - **Fix:** forced fetch updates the tag, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a release run on this head Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: fork-meta Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 21, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 21, 2026
…ses (#1724) ## Problem No fork release has published since 2026-10-11 22:26 UTC. Upstream re-pointed its moving `android-nightly` tag, and plain `git fetch --tags` refuses to overwrite a tag: ```text ! [rejected] android-nightly -> android-nightly (would clobber existing tag) ``` That fetch fails in release preflight and in the upstream sync mirror, so neither has run since. #1721, #1722, and #1723 have no build. ## Change - **Release preflight:** `git fetch --tags --force` - **Sync mirror fetch:** `git fetch --tags --force` - **Sync mirror push:** `push --tags --force` - **Local `fork:sync`:** same fetch flag - **Doc:** `fork-sync.md` fetch row Fork tags never share a name with an upstream tag, so forcing only moves upstream-owned tags. The `main` push stays unforced. ## Scope and approval The maintainer asked to land #1723 and stage its nightly; this unblocks that release. ## Verification - **Repro:** plain fetch rejected, exit 1 - **Fix:** forced fetch updates the tag, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a release run on this head Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: fork-meta Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 21, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 21, 2026
…ses (#1724) ## Problem No fork release has published since 2026-10-11 22:26 UTC. Upstream re-pointed its moving `android-nightly` tag, and plain `git fetch --tags` refuses to overwrite a tag: ```text ! [rejected] android-nightly -> android-nightly (would clobber existing tag) ``` That fetch fails in release preflight and in the upstream sync mirror, so neither has run since. #1721, #1722, and #1723 have no build. ## Change - **Release preflight:** `git fetch --tags --force` - **Sync mirror fetch:** `git fetch --tags --force` - **Sync mirror push:** `push --tags --force` - **Local `fork:sync`:** same fetch flag - **Doc:** `fork-sync.md` fetch row Fork tags never share a name with an upstream tag, so forcing only moves upstream-owned tags. The `main` push stays unforced. ## Scope and approval The maintainer asked to land #1723 and stage its nightly; this unblocks that release. ## Verification - **Repro:** plain fetch rejected, exit 1 - **Fix:** forced fetch updates the tag, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a release run on this head Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: fork-meta Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 22, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 22, 2026
…ses (#1724) ## Problem No fork release has published since 2026-10-11 22:26 UTC. Upstream re-pointed its moving `android-nightly` tag, and plain `git fetch --tags` refuses to overwrite a tag: ```text ! [rejected] android-nightly -> android-nightly (would clobber existing tag) ``` That fetch fails in release preflight and in the upstream sync mirror, so neither has run since. #1721, #1722, and #1723 have no build. ## Change - **Release preflight:** `git fetch --tags --force` - **Sync mirror fetch:** `git fetch --tags --force` - **Sync mirror push:** `push --tags --force` - **Local `fork:sync`:** same fetch flag - **Doc:** `fork-sync.md` fetch row Fork tags never share a name with an upstream tag, so forcing only moves upstream-owned tags. The `main` push stays unforced. ## Scope and approval The maintainer asked to land #1723 and stage its nightly; this unblocks that release. ## Verification - **Repro:** plain fetch rejected, exit 1 - **Fix:** forced fetch updates the tag, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a release run on this head Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: fork-meta Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 22, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 22, 2026
…ses (#1724) ## Problem No fork release has published since 2026-10-11 22:26 UTC. Upstream re-pointed its moving `android-nightly` tag, and plain `git fetch --tags` refuses to overwrite a tag: ```text ! [rejected] android-nightly -> android-nightly (would clobber existing tag) ``` That fetch fails in release preflight and in the upstream sync mirror, so neither has run since. #1721, #1722, and #1723 have no build. ## Change - **Release preflight:** `git fetch --tags --force` - **Sync mirror fetch:** `git fetch --tags --force` - **Sync mirror push:** `push --tags --force` - **Local `fork:sync`:** same fetch flag - **Doc:** `fork-sync.md` fetch row Fork tags never share a name with an upstream tag, so forcing only moves upstream-owned tags. The `main` push stays unforced. ## Scope and approval The maintainer asked to land #1723 and stage its nightly; this unblocks that release. ## Verification - **Repro:** plain fetch rejected, exit 1 - **Fix:** forced fetch updates the tag, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a release run on this head Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: fork-meta Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 23, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 23, 2026
…ses (#1724) ## Problem No fork release has published since 2026-10-11 22:26 UTC. Upstream re-pointed its moving `android-nightly` tag, and plain `git fetch --tags` refuses to overwrite a tag: ```text ! [rejected] android-nightly -> android-nightly (would clobber existing tag) ``` That fetch fails in release preflight and in the upstream sync mirror, so neither has run since. #1721, #1722, and #1723 have no build. ## Change - **Release preflight:** `git fetch --tags --force` - **Sync mirror fetch:** `git fetch --tags --force` - **Sync mirror push:** `push --tags --force` - **Local `fork:sync`:** same fetch flag - **Doc:** `fork-sync.md` fetch row Fork tags never share a name with an upstream tag, so forcing only moves upstream-owned tags. The `main` push stays unforced. ## Scope and approval The maintainer asked to land #1723 and stage its nightly; this unblocks that release. ## Verification - **Repro:** plain fetch rejected, exit 1 - **Fix:** forced fetch updates the tag, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a release run on this head Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: fork-meta Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 24, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 24, 2026
…ses (#1724) ## Problem No fork release has published since 2026-10-11 22:26 UTC. Upstream re-pointed its moving `android-nightly` tag, and plain `git fetch --tags` refuses to overwrite a tag: ```text ! [rejected] android-nightly -> android-nightly (would clobber existing tag) ``` That fetch fails in release preflight and in the upstream sync mirror, so neither has run since. #1721, #1722, and #1723 have no build. ## Change - **Release preflight:** `git fetch --tags --force` - **Sync mirror fetch:** `git fetch --tags --force` - **Sync mirror push:** `push --tags --force` - **Local `fork:sync`:** same fetch flag - **Doc:** `fork-sync.md` fetch row Fork tags never share a name with an upstream tag, so forcing only moves upstream-owned tags. The `main` push stays unforced. ## Scope and approval The maintainer asked to land #1723 and stage its nightly; this unblocks that release. ## Verification - **Repro:** plain fetch rejected, exit 1 - **Fix:** forced fetch updates the tag, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a release run on this head Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: fork-meta Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 27, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
donjor
added a commit
that referenced
this pull request
Oct 27, 2026
…ses (#1724) ## Problem No fork release has published since 2026-10-11 22:26 UTC. Upstream re-pointed its moving `android-nightly` tag, and plain `git fetch --tags` refuses to overwrite a tag: ```text ! [rejected] android-nightly -> android-nightly (would clobber existing tag) ``` That fetch fails in release preflight and in the upstream sync mirror, so neither has run since. #1721, #1722, and #1723 have no build. ## Change - **Release preflight:** `git fetch --tags --force` - **Sync mirror fetch:** `git fetch --tags --force` - **Sync mirror push:** `push --tags --force` - **Local `fork:sync`:** same fetch flag - **Doc:** `fork-sync.md` fetch row Fork tags never share a name with an upstream tag, so forcing only moves upstream-owned tags. The `main` push stays unforced. ## Scope and approval The maintainer asked to land #1723 and stage its nightly; this unblocks that release. ## Verification - **Repro:** plain fetch rejected, exit 1 - **Fix:** forced fetch updates the tag, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a release run on this head Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: fork-meta Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
rsi-software-agent Bot
pushed a commit
that referenced
this pull request
Oct 27, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
rsi-software-agent Bot
pushed a commit
that referenced
this pull request
Oct 27, 2026
…ses (#1724) ## Problem No fork release has published since 2026-10-11 22:26 UTC. Upstream re-pointed its moving `android-nightly` tag, and plain `git fetch --tags` refuses to overwrite a tag: ```text ! [rejected] android-nightly -> android-nightly (would clobber existing tag) ``` That fetch fails in release preflight and in the upstream sync mirror, so neither has run since. #1721, #1722, and #1723 have no build. ## Change - **Release preflight:** `git fetch --tags --force` - **Sync mirror fetch:** `git fetch --tags --force` - **Sync mirror push:** `push --tags --force` - **Local `fork:sync`:** same fetch flag - **Doc:** `fork-sync.md` fetch row Fork tags never share a name with an upstream tag, so forcing only moves upstream-owned tags. The `main` push stays unforced. ## Scope and approval The maintainer asked to land #1723 and stage its nightly; this unblocks that release. ## Verification - **Repro:** plain fetch rejected, exit 1 - **Fix:** forced fetch updates the tag, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a release run on this head Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: fork-meta Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
rsi-software-agent Bot
pushed a commit
that referenced
this pull request
Oct 28, 2026
## Problem SQLite runs at its default `synchronous = FULL`, so every commit waits for an fsync. The one connection commits on the main thread, so a slow disk freezes the whole server. On `ugrindtime`, disk writes waited about 224 ms each, and clients dropped for 2 minutes. Upstream tracks the same stall as `pingdotgg#15707`, with no fix pull request yet. ## Change - **Setting:** `PRAGMA synchronous = NORMAL` - **New file:** `SqliteSynchronous.fork.ts` - **Hook:** one line in `Sqlite.ts` - **WAL sync:** at checkpoints, not per commit ### Durability - **Power loss:** can drop the last commits - **Consistency:** the database stays intact - **App crash:** loses nothing ### Live measurements - **Commits:** about 7.7 per second - **Syncs per commit:** 1 before, 0 after - **Checkpoints:** about 1 every 6 s ### Not changed A larger `wal_autocheckpoint` saved only 11% of bytes in a 3-minute replay of live WAL pages. It was left out. ## Scope and approval Refs #1720. The maintainer chose this fix after the stall analysis. ## Verification - **New test:** WAL mode with `synchronous` 1 - **Mutation check:** fails with 2 without the hook - **Persistence tests:** 4 of 4 pass - **Typecheck:** `apps/server`, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a live server on this build Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: upstream-fixes Fork-Tier: bugfix Fork-Upstreamable: yes Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
rsi-software-agent Bot
pushed a commit
that referenced
this pull request
Oct 28, 2026
…ses (#1724) ## Problem No fork release has published since 2026-10-11 22:26 UTC. Upstream re-pointed its moving `android-nightly` tag, and plain `git fetch --tags` refuses to overwrite a tag: ```text ! [rejected] android-nightly -> android-nightly (would clobber existing tag) ``` That fetch fails in release preflight and in the upstream sync mirror, so neither has run since. #1721, #1722, and #1723 have no build. ## Change - **Release preflight:** `git fetch --tags --force` - **Sync mirror fetch:** `git fetch --tags --force` - **Sync mirror push:** `push --tags --force` - **Local `fork:sync`:** same fetch flag - **Doc:** `fork-sync.md` fetch row Fork tags never share a name with an upstream tag, so forcing only moves upstream-owned tags. The `main` push stays unforced. ## Scope and approval The maintainer asked to land #1723 and stage its nightly; this unblocks that release. ## Verification - **Repro:** plain fetch rejected, exit 1 - **Fix:** forced fetch updates the tag, exit 0 - **Fork CI:** `vp run fork:ci`, exit 0 - **Not checked:** a release run on this head Claude Code, claude-opus-5-5. ## Fork trailers Fork-Domain: fork-meta Fork-Tier: bugfix Fork-Upstreamable: no Co-authored-by: donjor <38745786+donjor@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
SQLite runs at its default
synchronous = FULL, so every commit waits for an fsync.The one connection commits on the main thread, so a slow disk freezes the whole server.
On
ugrindtime, disk writes waited about 224 ms each, and clients dropped for 2 minutes.Upstream tracks the same stall as
pingdotgg/t3code#15707, with no fix pull request yet.Change
PRAGMA synchronous = NORMALSqliteSynchronous.fork.tsSqlite.tsDurability
Live measurements
Not changed
A larger
wal_autocheckpointsaved only 11% of bytes in a 3-minute replay of live WAL pages.It was left out.
Scope and approval
Refs #1720.
The maintainer chose this fix after the stall analysis.
Verification
synchronous1apps/server, exit 0vp run fork:ci, exit 0Claude Code, claude-opus-5-5.
Fork trailers
Fork-Domain: upstream-fixes
Fork-Tier: bugfix
Fork-Upstreamable: yes