Repository navigation
fix(api-public): bound migration listing transactions and skip unreadable rows - #6027
Conversation
MasterPtato
commented
Nov 24, 2026
- Split the migration candidates and parked listings into an index scan and separate detail reads, each in its own transaction that ends early before the transaction time limit and resumes where it stopped
- Skip and log index entries whose keys fail to unpack, and candidates whose facts fail to read, instead of failing the whole page
- Accept any key in the parked subspace as a listing cursor, so a page that ends on a skipped entry still resumes
|
Changes look good: no high-confidence bugs or applicable No Blocking, Should-fix, or Nit findings. Reviewed the supplied diff and surrounding transaction/pagination code. Tests were not run; GitHub status and prior comments could not be checked because Copy prompt to fix all |
e485764 to
cddca13
Compare
📟 Pip-Boy ·
|
| check | new in this PR | fixed | existing on base |
|---|---|---|---|
| advisories | ✅ 0 | 0 | 47 |
| licenses | ✅ 0 | 0 | 0 |
| sources | ✅ 0 | 0 | 0 |
| bans | ✅ 0 | 0 | 0 |
| unused | ✅ 0 | 0 | 292 |
🦀 Binaries · publish Dockerfiles, --release
Base: main@3ddc9ef, the newest main commit with native builds before the merge base. Size changes merged to main since then show up here too.
| artifact | npm @latest |
base | this PR | Δ vs base |
|---|---|---|---|---|
engine linux-x64-musl |
65.7 MB | 93.9 MB | 95.1 MB | +1.2 MB (+1.3%) |
rivetkit-napi linux-x64-gnu |
26.3 MB | 44.1 MB | 44.1 MB | +46.9 KB (+0.1%) |
⏱ Timing
| job | wall time | slowest step |
|---|---|---|
zizmor |
10s | checkout · 3s |
changes |
19s | checkout · 14s |
hygiene |
52s | checkout · 14s |
native · rivetkit-napi · linux-x64-gnu |
5m14s | Build with the publish Dockerfile · 4m57s |
native · engine · linux-x64-musl |
13m59s | Build with the publish Dockerfile · 13m40s |
⏭ self-test |
— | skipped |
⏭ footprint |
— | skipped |
report |
18s | Write the comment and run summary · 6s |
🔭 Full CI trace for this commit
One OpenTelemetry trace of Rust CI, frontend, and Pip-Boy for cddca13: every job and step, with the sizes above attached. Run after CI finishes.
pnpm install --frozen-lockfile --filter 'pipboy...'
pnpm --filter pipboy pipboy trace --sha cddca13ed48437f1c798b9c2c8b1e64d0c6d4f4bAdd --otlp <url> to send it to any OTLP/HTTP collector.
Agent instruction: From a rivet-dev/rivet checkout, run the commands above, then read the trace file the last command prints. List the slowest jobs and steps and explain where CI time went.