Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.41k stars 1.99k forks source link

Activity Log: Differentiate between WP-CLI used by Support or Users via SSH #91261

Open ash1eygrace opened 4 months ago

ash1eygrace commented 4 months ago

What

WordPress.com recently introduced SSH access, allowing users to make changes to their site via SSH WP-CLI. However, changes made by Support and changes made by users are logged identically. Clearly differentiating between users and HEs is critical.

Why

Differentiating between changes made by Happiness Engineers and users is crucial to avoid confusion. Clear logs will help identify the source of changes, improving support efficiency and user transparency.

How

Instead of displaying "Jetpack" for all WP-CLI changes as it is now:

image

the log should differentiate based on the origin of the command. For example:

image

It's essential that they are labeled as two separate entities, regardless of the specific labels used.

ash1eygrace commented 4 months ago

Came up here: p9F6qB-fji-p2

ash1eygrace commented 4 months ago

interaction: 8203239-zd-a8c

github-actions[bot] commented 4 months ago

Support References

This comment is automatically generated. Please do not edit it.

JoshuaGoode commented 4 months ago

Similar, https://github.com/Automattic/jpop-issues/issues/1767

mrfoxtalbot commented 4 months ago

Echoing this comment, the issue is on Yamato's radar already. https://github.com/Automattic/jpop-issues/issues/1767#issuecomment-2092097046