Skip to content

feat: Surface patch file size in shorebird_code_push package #3321

@tomarra

Description

@tomarra

Description

This is a tracking issue from a customer email.

We have a requirement to obtain the patch download size (in bytes/KB/MB) once the download is completed, so that we can report this data to our internal logging system.

We do have a few ways to get this information currently:

  • At patch creation time, size of each patch (by platform) is listed in the CLI
  • In the Web Console you can see the size of each patch by hovering over the CPU architecture for each patch

But this information is currently not available on device which is typically where analytics/logging is happening.

Requirements

  • The changes for this are reflected in the shorebird_code_push package
  • The user has the ability to get the size of the patch that was downloaded
  • The user has the ability to get the size of the inflated patch on disk

Additional Context

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions