Skip to content

Feat/introduce a run method - #19

Merged
dpanta94 merged 24 commits into
mainfrom
feat/introduce-a-run-method
Dec 17, 2025
Merged

Feat/introduce a run method#19
dpanta94 merged 24 commits into
mainfrom
feat/introduce-a-run-method

Conversation

@dpanta94

@dpanta94 dpanta94 commented Dec 16, 2025

Copy link
Copy Markdown
Member

Summary

Introduces a run method. Enabling shepherd to execute a task synchronously using Action Scheduler.
It basically re-uses the same method that AS calls itself when you click on an action Run from the admin list table.

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📚 Documentation update
  • ⚡ Performance improvement
  • ♻️ Code refactoring
  • 🧪 Test improvements
  • 🔧 Chore (build process, dependencies, etc.)

Related Issues

Closes #

Pre-Submission Checklist

Code Quality

  • PHPStan analysis passes: composer test:analysis
  • PHP compatibility check passes: composer compatibility
  • Coding standards pass: vendor/bin/phpcs
  • All tests pass: slic run wpunit && slic run integration
  • No debug code (var_dump, error_log, etc.) left in production code
  • No commented-out code unless specifically needed for reference
  • Documentation updated for any new features or changed behavior
  • New tests have been added for new functionality
  • All existing tests continue to pass

📖 Read the full contributing guidelines: CONTRIBUTING.md

@dpanta94 dpanta94 self-assigned this Dec 16, 2025
@dpanta94 dpanta94 added the enhancement New feature or request label Dec 16, 2025
@dpanta94
dpanta94 requested a review from lucatume December 16, 2025 17:57
@dpanta94
dpanta94 requested a review from estevao90 December 16, 2025 17:58

@lucatume lucatume 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.

Minor stuff, good work here.

Comment thread .github/workflows/update_as.yml Outdated
Comment thread src/Regulator.php Outdated
Comment thread src/Regulator.php
Comment thread src/Regulator.php Outdated

@estevao90 estevao90 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good job!

Comment thread .github/workflows/update_as.yml Outdated
Comment thread src/Regulator.php
Comment thread src/Regulator.php Outdated
@dpanta94
dpanta94 requested a review from lucatume December 17, 2025 15:19
@dpanta94
dpanta94 merged commit aadb440 into main Dec 17, 2025
11 checks passed
@dpanta94
dpanta94 deleted the feat/introduce-a-run-method branch January 5, 2026 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants