github-action-wpe-site-deploy icon indicating copy to clipboard operation
github-action-wpe-site-deploy copied to clipboard

github action attempts push when Site Restore is happening

Open agustinv opened this issue 11 months ago • 0 comments

Describe the bug There is currently no safeguards to prevent github action from attempting to push changes to host that is concurrently being restored / pushed from other action eg Dashboard site push.

The consequence is that both fail and site goes.

You can call this a bug or a feature request to make github action for deploy / push to Fail with descriptive message if host is busy restoring.

To reproduce

  1. Start a Push from one site to another [Destination] ( Or a restore from backup)
  2. Initiate a githug action to [Destination] (with whatever triggers the action in your CD)
  3. Watch the github action fail
  4. Some point later will recieve notification of Step 1 failing as well

Expected behavior

Prevent (step 2) from attempting to write anything to host

Build Output & Screenshots

Optionally add the relevant build output and screenshots to help explain your problem.

Version information

  • Action version: 3.2.4
  • Git version: x.x.x
  • WordPress version: 6.7.1
  • Operating system: ubuntu-latest

Additional context

Add any other context about the problem here.

agustinv avatar Jan 31 '25 03:01 agustinv