You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yuluo-yx (via GitHub)" <gi...@apache.org> on 2026/08/28 17:01:24 UTC

[I] fix(ai): terminate stalled CLI availability probes [rocketmq-dashboard]

yuluo-yx opened a new issue, #2712:
URL: https://github.com/apache/rocketmq-dashboard/issues/2712

   ## Problem
   
   The CLI provider availability probe returns `false` after its five-second timeout but leaves the spawned `command -v` process alive. The same leak can occur when the waiting thread is interrupted.
   
   ## Expected behavior
   
   Terminate an unfinished probe and preserve the caller's interrupt status.
   
   ## Proposed scope
   
   Add lifecycle cleanup to the availability probe and focused tests for timeout and interruption.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] fix(ai): terminate stalled CLI availability probes [rocketmq-dashboard]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #2712:
URL: https://github.com/apache/rocketmq-dashboard/issues/2712#issuecomment-5455406973

   **Issue Evaluation**
   
   Category:  | Status: **Confirmed**
   
   The issue describes a legitimate resource leak: the CLI availability probe spawns a  subprocess but does not terminate it when the five-second timeout fires or when the waiting thread is interrupted. This can accumulate zombie processes over time.
   
   **Root Cause:** Missing process lifecycle cleanup in the availability probe — no  /  on timeout or interrupt paths.
   **Impact:** AI/CLI provider module; leaked processes under sustained probe timeouts.
   **Severity:** Medium — resource leak that compounds over time but does not cause immediate data loss.
   
   The proposed scope (lifecycle cleanup + timeout/interruption tests) is well-scoped and appropriate.
   
   An automated fix proposal can be generated. Reply  to proceed with PR generation.
   
   ---
   *Automated evaluation by RockteMQ-AI*


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] fix(ai): terminate stalled CLI availability probes [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins commented on issue #2712:
URL: https://github.com/apache/rocketmq-dashboard/issues/2712#issuecomment-5506318640

   Resolved by #2850 (merged into rocketmq-studio as 833e4c2e).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] fix(ai): terminate stalled CLI availability probes [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed issue #2712: fix(ai): terminate stalled CLI availability probes
URL: https://github.com/apache/rocketmq-dashboard/issues/2712


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org