canonical / cos-configuration-k8s-operator

https://charmhub.io/cos-configuration-k8s
Apache License 2.0
4 stars 7 forks source link

Reschedule the update-libs workflow #90

Closed sed-i closed 7 months ago

sed-i commented 7 months ago

Issue

An "(Unknown event)" is being triggered by an "(Unnamed workflow)". https://github.com/canonical/cos-configuration-k8s-operator/actions

This happens every 4 hours as a shadow of another workflow: https://github.com/canonical/cos-configuration-k8s-operator/actions/workflows/update-libs.yaml

This happens because the last person to "schedule" was @rbarry82 and is no longer part of the org.

When the last user to commit to the cron schedule of a workflow is removed from the organization, the scheduled workflow will be disabled. If a user with write permissions to the repository makes a commit that changes the cron schedule, the scheduled workflow will be re-activated. (ref)

Solution

Reschedule the workflow by an "actor" that is part of the org. "Rescheduling" means changing the cron directive.

High load times include the start of every hour. If the load is sufficiently high enough, some queued jobs may be dropped. To decrease the chance of delay, schedule your workflow to run at a different time of the hour.