fix(pegboard-envoy): downgrade fresh sqlite miss log#4994
fix(pegboard-envoy): downgrade fresh sqlite miss log#4994NathanFlurry wants to merge 1 commit intomainfrom
Conversation
|
🚅 Deployed to the rivet-pr-4994 environment in rivet-frontend
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Code ReviewPR: fix(pegboard-envoy): downgrade fresh sqlite miss log OverviewThis PR quiets expected log noise by demoting a specific Code QualityPositive:
Minor suggestions:
CorrectnessThe logic is sound. The three conditions together uniquely identify the bootstrap case:
Non-bootstrap Security / RiskNo security impact. Log demotion for an expected-good path; no behavior change in the response path ( SummaryClean, minimal fix with correct and conservative detection logic. Ready to merge once out of draft. |

Stack Context
This PR quiets expected SQLite bootstrap noise in pegboard-envoy logs.
Why?
Fresh actor SQLite databases do not have a Depot branch until the first commit creates one. The native VFS intentionally treats a missing page 1 read as empty-database bootstrap, so logging that exact case as an error creates false alarms while investigating real SQLite failures.
The error log remains for non-bootstrap get_pages failures, including non-page-1 reads, known-head reads, timeouts, and fence issues.