upload-artifact icon indicating copy to clipboard operation
upload-artifact copied to clipboard

Why am I still getting "You've used 100% of included services for GitHub Storage (GitHub Actions and Packages)" after deleting all Artifacts?

Open Smponias opened this issue 5 years ago • 92 comments

Update:

The guys on GitHub told me that I have to write the support and I did so. The solution was that I had to set a spending limit. After setting my spending limit to 1$ everything works fine.

They told me that this is an estimation not the real data. I still think this a bug or at least pretty bad Usability but the solution worked for me.

After setting the spending limit GitHub told me that I am using 0,00GB of Storage so the delete actions actually worked. (I didn't have to pay anything)

So it is still a bug or really bad usability.

Describe the bug I have deleted all my artifacts and GitHub still keeps telling me: You've used 100% of included services for GitHub Storage (GitHub Actions and Packages)

Additional context

  • I have tried two actions to delete all my artifacts:
    • https://github.com/Spendesk/purge-artifacts-action
    • https://github.com/marketplace/actions/remove-artifacts
  • I have deleted all my old workflow run

But GitHub keeps telling me:

You've used 100% of included services for GitHub Storage (GitHub Actions and Packages)

Bildschirmfoto 2021-01-04 um 20 41 53

Update 1: I ran both jobs again (14 hours later) but they can't find any artifact and the status didn't update.

I have no idea what to do and I think it's a bug.

Smponias avatar Jan 04 '21 19:01 Smponias

Edit: My original comment stated that both logs and artifacts are billed for and part of GitHub storage but that is not the case. Only artifacts get billed and consume storage. Things like logs (and now job summaries), do not count towards storage. There was never a point in time where logs were billed and counted towards GitHub storage.

This original problem than had to be caused by artifacts (or pages). There can be delays within the storage/billing system though. If you delete a large artifact after hitting 100% and than try to upload another one it may take sometime due different background jobs/processes to process and catch up and for the storage to be "cleared". These delays can last sometimes 1-2 hours which is normal

Sorry for the confusion folks 😞

konradpabjan avatar Jan 05 '21 11:01 konradpabjan

@konradpabjan I ran into this problem too. I had tried deleting the actions, manually deleting the artifacts and even delete the repos, but the problem still remains. A google of You've used 100% of included servcies for GitHub Storage shows a lot of stuffs, so I guess many a person ecounter this problem.

eeff avatar Apr 06 '22 04:04 eeff

@konradpabjan I ran into this problem too. I had tried deleting the actions, manually deleting the artifacts and even delete the repos, but the problem still remains. A google of You've used 100% of included servcies for GitHub Storage shows a lot of stuffs, so I guess many a person ecounter this problem.

Steps by @konradpabjan helped me. Just wait a bit and the limit error will disappear.

MikeK93 avatar Apr 07 '22 20:04 MikeK93

How much time it will take to remove this error after deleting all the artifacts.

changeblogger avatar Oct 01 '22 11:10 changeblogger

I think this is intentional in order to get you to upgrade. Same reason they don't have a setting for automatically deleting old artifacts when over quota - like a size-based retention policy. It would be too convenient and easy to keep your storage under quota, and so less people would upgrade.

knightofiam avatar Nov 27 '22 06:11 knightofiam

If anyone else has this problem, you might want to wait for the next day. In my case, yesterday I deleted some artifacts and logs, and it still showed 100% of usage. Today, when I check again it is almost on 0%. I wouldn't be surprised if I could have used the storage again yesterday. Maybe it is just the graphic that isn't 100% accurate immediately after you delete the artifacts.

AlonsoM45 avatar Jan 13 '23 12:01 AlonsoM45

FYI, the comment I made earlier was partially incorrect https://github.com/actions/upload-artifact/issues/161#issuecomment-754581738

Logs (and job summaries now) do not count towards GitHub storage so they do not eat into any quota or limits. Apologies folks for any confusion this might have caused 😞 And to be clear there was never any point in time when logs did count towards GitHub storage. Only artifacts and pages.

If there are problems, as a few other folks have pointed out, I recommend waiting a couple of hours potentially after deleting artifacts. There can be delays in terms of "clearing up" the old storage before it is free again. Just inherit latencies due to different background jobs and processes that run in our billing system. It usually takes 1-2 hours for things to catch up though this could potentially be more.

After an artifact is deleted, don't expect the storage to immediately become available. This is probably where most of the confusion stems from.

konradpabjan avatar Jan 30 '23 16:01 konradpabjan

image

I'm having this issue also. It is saying like I spent 2.4GB in ONE DAY for this month (since today is 5th March), when I was not even on my computer, lmao.

What is artifacts? I don't even know what that is. Is that the files I upload to repositories? I don't have heavy files, so I don't know why I'm getting this warning, lol.

And how I even used more than the limit? wtf?

What should I do? Wait a couple of days?

Thank you.

--- Edited (5th April 2023) ---

Received it again after a month. And I still don't use anything of that, not even know wtf is that.

image

--- Edited (5th May 2023) ---

Received it again after another month. And I still don't use anything of that, not even know wtf is that.

image

A curious thing that I noticed, is that in my personal subscription receipt it shows 0.0GB of 2.0GB used of storage for actions and packages.

image

--- Edited (31th May 2023) ---

Received it again after another month. And I still don't use anything of that, not even know wtf is that.

image

Riverlance avatar Mar 05 '23 13:03 Riverlance

Yes, I am getting the same and have deleted everything that I am able to but I still get the notification every month on the 1st day of the month.

ozzyknox avatar Aug 03 '23 15:08 ozzyknox

what is the solution for this?

ghost avatar Aug 04 '23 00:08 ghost

Same problem here, all artifact are gone, but still hit the artifact quota

I went from 2,58gb of use, to today without any artifact to 20gb Oo

Nackophilz avatar Aug 06 '23 07:08 Nackophilz

We are seeing similar issues where after deleting archives and waiting a few days the billing page doesn't reflect the change.

Reading this it seems the storage calculation is cumulative: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#sample-storage-cost-calculation.

But on this page it states if you remove archives it will reclaim storage: https://docs.github.com/en/actions/managing-workflow-runs/removing-workflow-artifacts

image

mikemike396 avatar Aug 06 '23 13:08 mikemike396

I suggest using Sonartype Nexus or Apache Archiva. It's easy to set up and cheaper.

robin-rpr avatar Aug 06 '23 23:08 robin-rpr

We are in 2023, and this issue still exists!

No matter if you are on a "Team" plan or not or if you keep deleting artifacts every day, this number seems to add up, so then you are forced to keep increasing the spending limits!

prazian avatar Aug 07 '23 04:08 prazian

I have deleted all my artifacts and even after 3 days, it shows 100% GitHub storage used. Looks like a clear strategy from Github to force us to pay.

juzer-hakimji avatar Aug 07 '23 13:08 juzer-hakimji

GitHub support replied to the ticket I opened. Seems to be an issue on their side.

image

mikemike396 avatar Aug 07 '23 16:08 mikemike396

Same issue here. Latest answer from Github Support after I told them today was a waste of time:

I have asked if we can get the ______ account added to a workaround on our end that should allow this to continue without a spending limit. I will follow up when I hear back.

stell avatar Aug 07 '23 18:08 stell

Also hit this issue over the weekend preventing running new builds that produce artifacts. Created a bunch of scripts to blindly purge existing artifacts and packages, since there is no easy or intuitive way to find out what is actually using the space. After all of the blind purging I am still unable to get past the over limit issue.

Definitely a lot of increased traffic to this issue the last couple days but since this issue is closed, if anyone has a link to a more current issue tracking this I would greatly appreciate a link.

Matthewsre avatar Aug 07 '23 18:08 Matthewsre

I'm facing the same problem and it's been a major roadblock in my deployment process. I even used this guide - https://www.meziantou.net/deleting-github-actions-artifacts-using-the-github-rest-api.htm - to delete all my artifacts, but despite that, the utilization hasn't decreased.

I am unable to deploy because of this.

martingagne avatar Aug 07 '23 18:08 martingagne

@konradpabjan ,

With the recent uptick in activity for this issue (I'm assuming this is because this shows up when searching for solutions to a current problem). Would you be able to point us to the best place to track progress on the related issue bringing us all here?

Matthewsre avatar Aug 07 '23 19:08 Matthewsre