[Unimportant issue] How often is the `cron` running?
strarsis opened this issue ยท 6 comments
- I've read the guidelines for Contributing to Roots Projects
- This request isn't a duplicate of an existing issue
- I've read the docs and followed them (if applicable)
- This is not a personal support request that should be posted on the Roots Discourse community
Description
WordPress 5.8.2
was just advertised in the admin backend.
But the tag isn't available in the repository yet (the tag for the previous release 5.8.1
is).
How often does the cron
run and check for new WordPress releases?
Steps to reproduce
- When a new WordPress release is advertised in the admin backend (or on WordPress website),
check the releases of this repository. The tag isn't there yet.
Expected behavior:
Smaller cron
intervals or a web hook/notification system for new official WordPress releases?
Maybe add a trigger URL so a developer can trigger it manually (with rate limiting of course).
Actual behavior:
Delay between new official WordPress release and available tag in repository.
Reproduces how often: It depends on when the new official release is published.
When the cron
happens to run right afterwards it may appear instantaneous.
Versions
(Not applicable)
It's running, just broken ๐ We think it's due to this change: https://make.wordpress.org/core/2021/11/10/default-git-branch-for-wordpress-wordpress-develop/
Turns out it has nothing to do with the above ^ and was just an issue with GitHub actions (I think). We took this chance to simplify the workflow in #31.
In case this ever happens again, we'll just manually trigger this action.
@swalkinshaw: By the way: Is there a web hook that informs about new WordPress releases?
Or some trick that listens on the WordPress SVN repositoryx?
GitHub RSS feed for releases: https://github.com/WordPress/WordPress/releases.atom
@swalkinshaw: Is this feed already used by this repository/cron
? Hadn't looked into all code yet.
You can't trigger a GitHub workflow from an RSS feed unfortunately. So this repo just has a workflow which runs every 10 minutes that checks for new tags and is idempotent
wordpress/bin/update-wp-releases.php
Lines 48 to 54 in 5eb3352