ModulesManager #37
No reviewers
Labels
No labels
Automated
Backlog
Post_Prototype_1.0
Bot_Code
Core
Bot_Code
Custom
CI/CD
Complexity
Advanced
Complexity
Basic
Complexity
Expert
Complexity
Intermediate
Kind/Breaking
Kind/Bug
Kind/Bug Fix
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Nix
Ownership
Collab
Ownership
Collab with Leads
Ownership
Individual Lead
Ownership
In-Review
Ownership
Needs Owner > May Delegate
Ownership
Workshop with Leads
Phase 1.0
Requirements > Drafting
Phase 1.0
Requirements > Researching
Phase 1.0
Requirements > Review & Planning
Phase 2.0
Design > Research & Analysis
Phase 3.0
Coding > Implementation
Phase 4.0
QA > Unit Testing & Design
Phase 5.0
Resolution > Completed
Phase 5.0
Resolution > Review for Completion
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#26 [CORE] ModulesManager}
modulatingforce/forcebot_rs
Reference: modulatingforce/forcebot_rs#37
Loading…
Reference in a new issue
No description provided.
Delete branch "modulesmanager"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Addressing #26
Plan of Action :
BotModules
code . In particular, where we can set thestatusdb
inBotAction
to run (e.g.,Listener
orBotCommand
)Routines
, when a module is set to Disabled, it should also Abort all running routines for the Module >> At least ensure this requirement is in the Routines issue > That will be addressed here #5 (comment)At the moment, during
ModulesManager.add_botaction()
, theBotModule
is ensured existing instatusdb
, and isEnabled(Instance)
let mut dbt = self.statusdb.write().await;
let statusvector = dbt.entry(in_module.clone()).or_insert(Vec::new());
statusvector.push(ModStatusType::Enabled(StatusLvl::Instance)); // Pushes the Module as Enabled at Instance Level
We should be handling the above elsewhere, Disabled By Default at Instance level (except for certain
Core
modules) , unless Explicitly Coded to be EnabledLULE I did not work on this for 11 hours - but testing this timer functionality - though I did a bit
Business Rules
Drafted this last night that I'm gearing my current commits on related to
ModGroup
ModGroup
Core & CustomCore
BotModules should :Custom
BotModules should :ModulesManager
methodsBeautiful looking good.
Going to monitor for a few days in case there's any additional changes I can tack on that might be related to modules
Also need to do a comments cleanup
Really want this merge ASAP before working on other functionality .
Going to Approve the Merge but keep the Branch for any potential Code Improvements while Issue #26 is still open
Ideally should delete out the Branch after the Issue is closed out
WIP: ModulesManagerto ModulesManagerNo need to keep the branch if there are no changes to add soon. Deleting the branch for now ; the issue can remain open and we can create a new PR if there are code changes that are required or need to be explored