Skip to content

1.1.7

Choose a tag to compare

@github-actions github-actions released this 03 Apr 01:05
· 158 commits to trunk since this release
31bb139

QIT CLI 1.1.7 Release Notes

New Features

Configurable HTTP timeout for environments

Control nginx and PHP-FPM timeouts with a new --timeout flag:

qit env:up --timeout=2 --xdebug    # Fast 504 for xdebug+Playwright debugging
qit env:up --timeout=30             # Custom timeout in seconds

Default remains 600s. Also configurable via qit.json:

{
  "environments": {
    "default": {
      "timeout": 2
    }
  }
}

When using xdebug with Playwright MCP for PHP debugging, setting --timeout=2 causes nginx to return 504 after 2 seconds instead of holding the connection for 60s while PHP-FPM is paused at a breakpoint. The xdebug session on port 9003 stays alive and inspectable.

Developer config commands

New config:set and config:get commands (dev-mode only) for managing QIT configuration values.

Bug Fixes

  • Fixed wporg version-specific download URL: when requesting a specific plugin/theme version (e.g., --woo=9.0.0 or --plugin=akismet:5.6), the download URL now correctly points to the requested version instead of always downloading the latest.
  • Fixed RemoteTestPrecedenceTest::test_zip_upload_option_for_remote_test path bug.
  • Fixed test_additional_plugins_conversion assertion to match actual CLI behavior.
  • Fixed undefined array key warning in test_cli_slug_wins_and_emits_warning.

Improvements

Test fixture system

Integration tests no longer download real plugin/theme zips from WordPress.org or make live API calls during left-side tests. A fixture system serves committed local responses:

  • Pre-approved plugin/theme zips (real root-level files, ~1KB-500KB each)
  • Cached WordPress.org API responses as JSON fixtures
  • Request logging (QIT_REQUEST_LOG) for auditing network activity during tests
  • Fixture mode persisted via QIT Config — no fragile env var propagation

The fixture guard fails loudly if a test attempts a download or API call without a fixture, preventing silent network regressions.

Support and Feedback

If you have any questions, encounter issues, or have suggestions, please visit our GitHub Issues Page.

What's Changed

  • Add --timeout option to env:up by @Luc45 in #435
  • Update activation snapshots by @Luc45 in #436
  • Fix wporg version-specific download URL + test fixtures by @Luc45 in #437

Full Changelog: 1.1.6...1.1.7