Notification around artifact completion and expiration

Description

Some jobs can take a long time to run and create artifacts that are subject to the expiration policy of the GitLab instance they are on. It has now occurred twice in a row that a pipeline is created with package building jobs that take considerable amounts of time, (follow the trail from omnibus-gitlab!2122 (comment 52061785) ) but

  • do not alert me when the job completes, and
  • do not alert me when the artifact that was created is about to be expired.

The consequence of the above is that I keep running the pipeline and will eventually have the opportunity to review the artifact when the stars align in terms of my availability, the job completing, and the artifact not expiring.

In other issues, notably https://gitlab.com/gitlab-org/gitlab-ce/issues/18351, https://gitlab.com/gitlab-org/gitlab-ce/issues/19208, and https://gitlab.com/gitlab-org/gitlab-ce/issues/24692, there is discussion around artifact expiration policy and admin controls, but I haven't seen the specific feature request for user notifications around artifacts yet. Perhaps the feature already exists, or the feature proposal exists, apologies if that is the case.

Proposal

Send an email notification upon successful job completion in a pipeline; along with a warning of when the artifacts are set to expire.

Links / references

Assignee Loading
Time tracking Loading