Skip to content

[WIP] Process queue refactoring for better process management (#45)#46

Draft
coisa wants to merge 10 commits intomainfrom
feature/process-queue-refactoring
Draft

[WIP] Process queue refactoring for better process management (#45)#46
coisa wants to merge 10 commits intomainfrom
feature/process-queue-refactoring

Conversation

@coisa
Copy link
Copy Markdown
Contributor

@coisa coisa commented Apr 15, 2026

Summary

  • Added ProcessBuilder and ProcessQueue classes for managing subprocess execution
  • Refactored CodeStyleCommand to use the new ProcessQueue for better process management
  • Added comprehensive tests for ProcessBuilder and ProcessQueue

Changes

  • New ProcessBuilder class for building subprocess commands with fluent API
  • New ProcessQueue class for executing queued processes sequentially with detached and blocking support
  • New ProcessBuilderInterface and ProcessQueueInterface for testability
  • Refactored CodeStyleCommand to use ProcessQueue instead of inline Process handling
  • Added tests for new Process classes

Testing

  • All 269 tests pass
  • Code coverage: 86.15% lines, 80.33% methods
  • Code style: clean (ECS + PHP CS Fixer applied)

Closes #45

@github-actions github-actions bot added the enhancement New feature or request label Apr 15, 2026
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.

[Process] Refactor process management with queued runners and dependency injection

1 participant