[PR #2275] [MERGED] Live stream command support #3867

Closed
opened 2026-03-14 07:43:09 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amidaware/tacticalrmm/pull/2275
Author: @fahadkhan-fk
Created: 8/13/2025
Status: Merged
Merged: 11/28/2025
Merged by: @wh1te909

Base: developHead: feature-cmd-stream


📝 Commits (10+)

  • 0746f73 feat: add live stream commands support
  • 00fb8b6 feat: update reload_nats function
  • 36d2578 feat: add cmd_id with each stream msg
  • 69bdef3 feat: add audit log support
  • 70cb35e feat: use channel_name as key
  • 79845e9 feat: remove agent subscribe for cmdoutput subject
  • 34d7ab2 feat: remove stream buffer to collect output
  • 42b0805 fix: include history ID in streaming command payload for result tracking
  • 4d38c91 style: reformat code using black
  • 15f2309 refactor: use async ORM for AgentHistory and AuditLog in CommandStreamConsumer

📊 Changes

5 files changed (+696 additions, -5 deletions)

View changed files

📝 api/tacticalrmm/agents/consumers.py (+187 -2)
📝 api/tacticalrmm/agents/models.py (+116 -0)
api/tacticalrmm/agents/tests/test_consumers.py (+383 -0)
📝 api/tacticalrmm/tacticalrmm/urls.py (+3 -1)
📝 api/tacticalrmm/tacticalrmm/utils.py (+7 -2)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amidaware/tacticalrmm/pull/2275 **Author:** [@fahadkhan-fk](https://github.com/fahadkhan-fk) **Created:** 8/13/2025 **Status:** ✅ Merged **Merged:** 11/28/2025 **Merged by:** [@wh1te909](https://github.com/wh1te909) **Base:** `develop` ← **Head:** `feature-cmd-stream` --- ### 📝 Commits (10+) - [`0746f73`](https://github.com/amidaware/tacticalrmm/commit/0746f734beaf8b0fed30e6573459d03485317615) feat: add live stream commands support - [`00fb8b6`](https://github.com/amidaware/tacticalrmm/commit/00fb8b6d7397723d4bc764440e6d1f05651340cb) feat: update reload_nats function - [`36d2578`](https://github.com/amidaware/tacticalrmm/commit/36d2578d7c98978f78f3c0333ad0d5b4e6f8f46a) feat: add cmd_id with each stream msg - [`69bdef3`](https://github.com/amidaware/tacticalrmm/commit/69bdef3f26a83598dbe995f61ffbfe8fcbea3023) feat: add audit log support - [`70cb35e`](https://github.com/amidaware/tacticalrmm/commit/70cb35e993028758fca40418d57a0cd884a84653) feat: use channel_name as key - [`79845e9`](https://github.com/amidaware/tacticalrmm/commit/79845e96817d622746a727818ee84ab47969f792) feat: remove agent subscribe for cmdoutput subject - [`34d7ab2`](https://github.com/amidaware/tacticalrmm/commit/34d7ab28a2a7b94bba3b787c12f5a7216a1d8ba2) feat: remove stream buffer to collect output - [`42b0805`](https://github.com/amidaware/tacticalrmm/commit/42b0805bc55e85ab5a20c201596ed079f205a0ac) fix: include history ID in streaming command payload for result tracking - [`4d38c91`](https://github.com/amidaware/tacticalrmm/commit/4d38c91f087635f9bfab40079be16ce12306f451) style: reformat code using black - [`15f2309`](https://github.com/amidaware/tacticalrmm/commit/15f2309d4e6a0dfb9b5f656adac6a93e41b10a90) refactor: use async ORM for AgentHistory and AuditLog in CommandStreamConsumer ### 📊 Changes **5 files changed** (+696 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `api/tacticalrmm/agents/consumers.py` (+187 -2) 📝 `api/tacticalrmm/agents/models.py` (+116 -0) ➕ `api/tacticalrmm/agents/tests/test_consumers.py` (+383 -0) 📝 `api/tacticalrmm/tacticalrmm/urls.py` (+3 -1) 📝 `api/tacticalrmm/tacticalrmm/utils.py` (+7 -2) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 07:43:09 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#3867
No description provided.