Skip to content

[CI] Schedule asset refreshes before weekly deploy - #4065

Merged
adamziel merged 2 commits into
trunkfrom
ci/weekly-refresh-before-website-deploy
Jul 15, 2026
Merged

[CI] Schedule asset refreshes before weekly deploy#4065
adamziel merged 2 commits into
trunkfrom
ci/weekly-refresh-before-website-deploy

Conversation

@adamziel

@adamziel adamziel commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

The website deploy cadence is weekly on purpose. Deploying the public app more often invalidates caches and makes Playground reload code that did not need to move.

refresh-sqlite-integration.yml was bypassing that rule. A daily SQLite refresh could commit a new ZIP and immediately dispatch deploy-website.yml. Some of those ZIP changes are just archive metadata churn, but they still produced real website deploys. refresh-php-next.yml did the same every four days.

This keeps the asset refreshes, but stops them from being deploy triggers. PHP Next now runs Tuesday at 06:00 UTC. SQLite now runs Tuesday at 09:00 UTC, which leaves two hours before the 11:00 UTC website deploy instead of racing its own 60-minute timeout. The existing website deploy picks up whatever those workflows published. Manual dispatch still works for both refresh workflows, but it refreshes assets only; it no longer deploys the website as a side effect.

Validated with:

git diff --check
ruby -e 'require "yaml"; ARGV.each { |f| YAML.load_file(f); puts "parsed #{f}" }' .github/workflows/refresh-php-next.yml .github/workflows/refresh-sqlite-integration.yml
@adamziel
adamziel requested review from a team, ashfame and Copilot July 15, 2026 17:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adjusts the PHP Next and SQLite asset refresh workflows so scheduled runs prepare assets ahead of the existing Tuesday website deploy, instead of triggering an additional deploy workflow.

Changes:

  • Move both workflows’ schedule triggers to Tuesdays (PHP Next 06:00 UTC, SQLite 10:00 UTC).
  • Remove actions: write permissions and the benc-uk/workflow-dispatch step that previously triggered deploy-website.yml.
  • Rename jobs to reflect the new behavior (build/publish/push without deploy).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/refresh-sqlite-integration.yml Reschedules refresh to Tuesdays and removes the website deploy dispatch step/permissions.
.github/workflows/refresh-php-next.yml Reschedules refresh to Tuesdays and removes the website deploy dispatch step/permissions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/refresh-sqlite-integration.yml
Comment thread .github/workflows/refresh-php-next.yml
@adamziel adamziel added [Type] Bug An existing feature does not function as intended [Type] Repo / Project Management labels Jul 15, 2026
@adamziel
adamziel merged commit 6ab7311 into trunk Jul 15, 2026
53 checks passed
@adamziel
adamziel deleted the ci/weekly-refresh-before-website-deploy branch July 15, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Bug An existing feature does not function as intended [Type] Repo / Project Management

2 participants