Skip to content

Feature/increase coverage and refactor#62

Merged
erseco merged 26 commits intomainfrom
feature/increase-coverage-and-refactor
Nov 30, 2025
Merged

Feature/increase coverage and refactor#62
erseco merged 26 commits intomainfrom
feature/increase-coverage-and-refactor

Conversation

@erseco
Copy link
Copy Markdown
Collaborator

@erseco erseco commented Nov 30, 2025

This pull request makes significant improvements to the CI workflow and testing setup, focusing on optimizing job structure, improving caching, and speeding up test execution. The changes also update dependencies and Makefile commands to support parallel test runs and better integration with code coverage tools.

CI Workflow Optimization and Test Improvements:

Workflow Structure & Performance

  • Refactored .github/workflows/ci.yml to split CI into four distinct jobs: blueprint/setup, lint/static analysis, unit tests, and E2E tests. This enables faster feedback and parallel execution, and adds concurrency control to cancel redundant runs on the same branch. [1] [2] [3] [4]

Caching & Dependency Management

  • Improved caching for Composer, npm, wp-env, and Playwright binaries in CI jobs to reduce redundant downloads and speed up builds.

Test Execution & Coverage

  • Switched Makefile's test-coverage target to use paratest for parallelized PHPUnit runs, significantly speeding up code coverage generation. Also clarified the need for Xdebug in the help output and ensured correct exit codes are propagated. [1] [2]
  • Updated E2E test commands to support sharding, allowing Playwright E2E tests to run in parallel across multiple CI nodes for faster completion. [1] [2]

Dependency Updates

  • Added brianium/paratest to composer.json to enable parallel test execution.

Other Changes

Codebase Cleanup

  • Removed the unused and unreferenced includes/ajax/class-documentate-ajax-handlers.php file.

Documentation

  • Updated documentation in includes/class-documentate-demo-data.php to clarify demo data setup.

@erseco erseco self-assigned this Nov 30, 2025
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Comment thread includes/documents/class-documents-field-validator.php Fixed
Comment thread includes/documents/class-documents-field-validator.php Fixed
Comment thread includes/documents/class-documents-field-validator.php Fixed
Comment thread includes/documents/class-documents-field-validator.php Fixed
Comment thread includes/documents/class-documents-field-validator.php Fixed
Comment thread includes/documents/class-documents-meta-handler.php Fixed
Comment thread includes/documents/class-documents-revision-handler.php Fixed
Comment thread includes/documents/class-documents-revision-handler.php Fixed
@erseco erseco merged commit 760442d into main Nov 30, 2025
4 checks passed
@erseco erseco deleted the feature/increase-coverage-and-refactor branch November 30, 2025 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants