Skip to content

Conversation

@fredrikekelund
Copy link
Contributor

@fredrikekelund fredrikekelund commented Nov 26, 2025

Related issues

Proposed Changes

This PR adds a studio site status command that outputs an extensive list of details related to a Studio site:

  • Site URL
  • Auto Login URL (if the site is running)
  • Site Path
  • Status (online/offline)
  • PHP Version
  • WP Version
  • Admin Username
  • Admin Password

Testing Instructions

  1. Run npm run cli:build
  2. Run node dist/cli/main.js site status --path PATH_TO_SITE (where PATH_TO_SITE is the path to a Studio site)
  3. Ensure that the output is good
  4. Run node dist/cli/main.js site start --path PATH_TO_SITE
  5. Run node dist/cli/main.js site status --path PATH_TO_SITE
  6. Ensure that the site status is reflected in the CLI output

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

@fredrikekelund fredrikekelund requested review from a team, bcotrim and youknowriad November 26, 2025 08:36
@fredrikekelund fredrikekelund self-assigned this Nov 26, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 26, 2025

📊 Performance Test Results

Comparing 1cdcb85 vs trunk

site-editor

Metric trunk 1cdcb85 Diff Change
load 15204.00 ms 11109.00 ms -4095.00 ms 🟢 -26.9%

site-startup

Metric trunk 1cdcb85 Diff Change
siteCreation 27382.00 ms 24473.00 ms -2909.00 ms 🟢 -10.6%
siteStartup 9996.00 ms 10045.00 ms +49.00 ms 🔴 0.5%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change

Copy link
Contributor

@bcotrim bcotrim left a comment

Choose a reason for hiding this comment

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

LGTM and works as described 👍
Approving to unblock after unit tests are fixed

Image

Base automatically changed from f26d/cli-site-list-command to trunk November 27, 2025 15:28
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.

3 participants