GitHub Build Docs Action leaves Artifacts Indefinitely

Bug #1991444 reported by Jason Stephenson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned

Bug Description

Master and rel_3_9 appear to be affected by this.

The GitHub action for build_docs creates artifacts and never removes them. It should set a retention-days value:

https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts

I noticed it with a clone of the Evergreen repository on GitHub when I received an email that I had used the limit of free storage space. I disabled all of the actions via the GitHub GUI and then deleted all of the artifacts from the build_docs workflow.

Since the build_docs artifacts take up about 60 MB and the free accounts have a limit of 500 MB, I recommend a retention_days setting of no more that 2 days.

summary: - GitHub Build Docs Actions leaves Artifacts Indefinitely
+ GitHub Build Docs Action leaves Artifacts Indefinitely
Revision history for this message
Jason Stephenson (jstephenson) wrote :
tags: added: pullrequest
Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thanks, Jason. Pushed to rel_3_9 and master.

Changed in evergreen:
status: New → Fix Committed
importance: Undecided → Medium
milestone: none → 3.9.1
Revision history for this message
Jason Stephenson (jstephenson) wrote :

Thanks, Jane, for pushing this.

I just want to add that I found where one can set the retention interval for artifacts on GitHub:

It's under the "Artifact and Log Retention" heading of the "General actions permissions" view of the organization's settings.

Basically:

1. Go to your organization's page on GitHub.
2. Click Settings.
3. Click to expand Actions.
4. Click General
5 Look for the Artifact and Log Retention setting on the right side.

tags: added: signedoff
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.