BuildSize icon indicating copy to clipboard operation
BuildSize copied to clipboard

Collect build size changes for an entire workflow?

Open hawkrives opened this issue 6 years ago • 0 comments

Thanks for making this! It's quite nice.

I've got a feature request that I took a stab at working on, but I'm not familiar enough with Circle's API to do what I'm trying to do.

Here's an example issue from one of my projects: https://github.com/StoDevX/AAO-React-Native/pull/2271#issuecomment-360997420

I have a number of jobs in a CircleCI "workflow", four of which store artifacts. BuildSize currently updates the comment after each "build" completes, but it only only checks the artifacts for that build event, so when the workflow has completed only a single job's worth of sizes are reported.

Would it be possible to only report the build sizes when the entire workflow has completed? Or to progressively update the comment as the jobs complete, perhaps, instead of marking the other files [deleted]? (I'm not sure how you'd manage to actually handle deleted files; perhaps tagging each file by the job that inserts it?)

hawkrives avatar Jan 27 '18 17:01 hawkrives