Skip to content

procedures: Add CLI Activity Tracker configuration documentation - #3180

Draft
tolusha wants to merge 1 commit into
mainfrom
docs/configuring-cli-activity-tracker
Draft

procedures: Add CLI Activity Tracker configuration documentation#3180
tolusha wants to merge 1 commit into
mainfrom
docs/configuring-cli-activity-tracker

Conversation

@tolusha

@tolusha tolusha commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

What does this pull request change?

Adds a new administration guide article documenting how to configure the CLI Activity Tracker at the cluster level via the CheCluster custom resource. The CLI Activity Tracker monitors running CLI processes in workspace containers and prevents workspace idling while those processes are active.

The new article covers:

  • Enabling the CLI Activity Tracker via spec.devEnvironments.cliActivityTracker
  • Configuring optional timing parameters (secondsOfCheckPeriod, secondsOfActivityWindow, secondsOfGracePeriod, secondsOfMaxProcessAge)
  • Disabling the feature

Also updates the existing end-user guide article ("Prevent workspace idling for long-running commands") to cross-reference the new admin-level configuration.

Source PR: eclipse-che/che-operator#2170
Related: eclipse-che/che-machine-exec#376

What issues does this pull request fix or reference?

Specify the version of the product this pull request applies to

next

Pull Request checklist

The author and the reviewers validate the content of this pull request with the following checklist, in addition to the automated tests.

  • Any procedure:
    • Successfully tested.
  • Any page or link rename:
    • The page contains a redirection for the previous URL.
    • Propagate the URL change in:
  • Builds on Eclipse Che hosted by Red Hat.
  • the Validate language on files added or modified step reports no vale warnings.

Add a new administration guide article for configuring the CLI Activity
Tracker at the cluster level via CheCluster CR. Update the existing
end-user guide article to cross-reference the new admin configuration.

Related: eclipse-che/che-operator#2170

Signed-off-by: che-ai-assistant <che-ai-assistant@noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

Click here to review and test in web IDE: Contribute

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

🎊 Navigate the preview: https://6a746c6ac16a1e98554db1bb--eclipse-che-docs-pr.netlify.app 🎊

@tolusha
tolusha requested a review from vrubezhny August 6, 2026 12:14

@vrubezhny vrubezhny left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

User's .noidle configuration changes and a breaking change on enablement are missing. See inline.

PS: All the said is true if next is for 3.31 (7.122/7.123) release.

The CLI Watcher periodically checks for running processes that match the commands you specify. When it detects an active watched command, it resets the workspace idle timer. This configuration works entirely in user space and does not require administrator privileges.
The CLI Activity Tracker periodically checks for running processes that match the commands you specify. When it detects an active watched command, it resets the workspace idle timer. This configuration works entirely in user space and does not require administrator privileges.

NOTE: An administrator can enable and configure the CLI Activity Tracker at the cluster level. See xref:administration-guide:configuring-cli-activity-tracker.adoc[].

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This change is not really enough. The following information with a .noidle config example, the description for the properties, etc. doesn't reflect the breaking change we've added: the use of enabled: true in .noidle is deprecated, so users won't be able to enable/disable the CLI Activity Tracker - the only admins can enable or disable it.
Also the timing values that users can configure in .noidle config now are limited with the ones configured by the ones set by admins, f.i. if admins sets checkPeriodSeconds: 60 ([seconds] in spec or in custom user settings ConfigMap) and, at the same time, user tries setting the same parameter to 120 seconds - the user's value won't be accepted and the admin's one will be effective. User can make these values to be more strict, but never relax them.

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