Skip to content

fix(api-public): bound migration listing transactions and skip unreadable rows - #6027

Merged
MasterPtato merged 1 commit into
2.xfrom
v2-migration-listing-bounds
Nov 24, 2026
Merged

MasterPtato merged 1 commit into
2.xfrom
v2-migration-listing-bounds

Conversation

@MasterPtato

Copy link
Copy Markdown
Contributor
  • 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

@RivetAgent

RivetAgent commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Changes look good: no high-confidence bugs or applicable CLAUDE.md violations found.

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 gh is unauthenticated.

Copy prompt to fix all
Fix all actionable findings in the latest Ironworks code review on PR rivet-dev/rivet#6027. Inspect every referenced location, address each finding without changing unrelated behavior, run the relevant tests, and summarize what changed.

@MasterPtato
MasterPtato force-pushed the v2-migration-listing-bounds branch from e485764 to cddca13 Compare November 24, 2026 20:30
@github-actions

Copy link
Copy Markdown
Contributor

📟 Pip-Boy · cddca13

📦 Packages

Skipped: this PR doesn't change any published package.

🧹 Rust dependencies · cargo deny + cargo shear

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 cddca13ed48437f1c798b9c2c8b1e64d0c6d4f4b

Add --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.

@MasterPtato
MasterPtato merged commit d946232 into 2.x Nov 24, 2026
12 of 13 checks passed
@MasterPtato
MasterPtato deleted the v2-migration-listing-bounds branch November 24, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants