Record package version size#1603
Conversation
|
@AgentGoose32 thanks for digging into all these prs, but you're not really considering how big the data set is and how much of a performance hit some of these prs will produce by making the database tables bigger or by adding lots more http requests to background jobs. |
|
Thanks, fair point. I pushed a follow-up that removes the I'll keep that constraint in mind on the other PRs too: avoid widening hot tables unnecessarily and avoid extra per-version/package network calls in background jobs unless there's a clear batching/caching path. |
Refs #28
Adds first-class
sizestorage for package versions.Changes:
versions.sizebigint column and indexsizeduring version sync when ecosystem version metadata already exposessizeorcrate_sizeVersion.sortable_columnsValidation:
ruby -c app/models/package.rbruby -c app/models/version.rbruby -c db/migrate/20260429080312_add_size_to_versions.rbgit diff --checkNotes:
Could not find 'bundler' (4.0.10).