More intuitive calls to BotLock
#77
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: modulatingforce/forcebot_rs#77
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
At the moment, there are areas that call
botlock
in a way that isn't very intuitive to custom developers . At the moment, custom developers aren't necessarily asked todrop()
locks/guards, even though they are implicitly dropped at the end of a blockhttps://git.flake.sh/modulatingforce/forcebot_rs/src/branch/master/src/custom/experimental/experiment001.rs#L182-L196
One way we could make this more intuitive is just have some both method or something at
ExecBodyParams
that will return the lock directlyI think I played around with the ideas before briefly but ran into issues. I'm sure some variation of this is possible though
I thought harus idea was to put this whole block of replying to someone into a method for params. Just returning the lock won't really make it easier to use.
Actually that would make it more intuitive yes. And easy to implement
@mzntori So maybe say in reply can be called from params /
ExecBodyParams
, and remove the bot from that flow ? Yeh I like this as long as the custom developer can access the bot for less commonly accessed methods etc