canonical / cos-configuration-k8s-operator

This charmed operator for Kubernetes enables you to provide configurations to various components of the Canonical Observability Stack (COS) bundle.
https://charmhub.io/cos-configuration-k8s
Apache License 2.0
4 stars 5 forks source link

Reschedule the update-libs workflow #90

Closed sed-i closed 3 months ago

sed-i commented 3 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.