{"version":"2.1.242","anchor":"repo-size-for-upload-is-now-measured-by-live-objects-not-pac","canonical_anchor":"repo-size-for-upload-is-now-measured-by-live-objects-not-pac","heading":"Repo size for upload is now measured by live objects, not pack files on disk","tier":"notice","area":"Cloud Sessions","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242\/e\/repo-size-for-upload-is-now-measured-by-live-objects-not-pac","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242","markdown":"### Repo size for upload is now measured by live objects, not pack files on disk\n\nRepos with lots of dead history are no longer squashed or rejected based on pack file size.\n\n**What**\n\nRepos with large amounts of dead history in their pack files were being downgraded to a squashed snapshot or rejected as too big. The uploader now measures the bytes actually reachable from your branches and picks the bundle size tier from that.\n\n**Details**\n\n- Reads `count-objects -v` first; if packs look far larger than the cap, runs a time-boxed `rev-list --disk-usage --objects --missing=allow-any --all`.\n- Skipped for partial clones, detected by sniffing `extensions.partialclone` and `remote.*.promisor` \/ `partialclonefilter`.\n- Runs on the hardened upload path; no flag to set.\n\n**Evidence**\n\n`--missing=allow-any`\n\n- Area: Cloud Sessions\n- Names: `--disk-usage`, `--objects`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5"}