-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/stop can start again #69
Comments
the specification seems pretty straight forward |
/start |
Tip
|
i have noticed that only 1 plugin works in the kernel at the time, my pricing plugin doesnt work when i add this start stop plugin to the .ubiquity-os config, the kernel only forwards the payload to one plugin for some reason |
this may already be implemented |
/stop |
/start |
! ishowvel you were previously unassigned from this task. You cannot be reassigned. |
@gentlementlegen might you know why the kernel is only forwarding payload to the first plugin found in any repo containing the ubiquity-os config like found here
|
the kernel doesnt even know if these plugins exist |
My best guess is that you have a formatting problem in your yml config. Sometimes it's difficult to get the indentations perfectly. |
It is trying to forward it but what it received is not a valid command like |
Shouldn't it receive the valid commands for this plugin ie /start, /stop |
In the configuration file you gave, you chained plugins so it won't. You need to change it to something like plugins:
- uses:
- plugin: http://127.0.0.1:4000
with:
labels:
time:
- "Time: <15 Minutes"
- "Time: <1 Hour"
- "Time: <2 Hours"
- "Time: <4 Hours"
- "Time: <1 Day"
- "Time: <1 Week"
- "Time: <2 Weeks"
- "Time: <1 Month"
priority:
- "Priority: 1 (Normal)"
- "Priority: 2 (Medium)"
- "Priority: 3 (High)"
- "Priority: 4 (Urgent)"
- "Priority: 5 (Emergency)"
basePriceMultiplier: 2
publicAccessControl:
setLabel: true
fundExternalClosedIssue: false
- uses:
- plugin: ishowvel/daemon-disqualifier:compute.yml@testing
with:
disqualification: "2 minutes"
warning: "1 minutes"
watch:
optOut:
- "repoName"
- "repoName2"
eventWhitelist:
- "review_requested"
- "ready_for_review"
- "commented"
- "committed"
- uses:
- plugin: http://localhost:4001 # or the URL where the plugin is hosted
name: start-stop
id: start-stop-command
with:
reviewDelayTolerance: "3 Days"
taskStaleTimeoutDuration: "30 Days"
maxConcurrentTasks: # Default concurrent task limits per role.
member: 5
contributor: 3
startRequiresWallet: true # default is true
emptyWalletText: "Please set your wallet address with the /wallet command first and try again."
rolesWithReviewAuthority: ["MEMBER", "OWNER"]
so every plugin is called individually. |
@0x4007 can i be assigned to this |
@ishowvel the deadline is at Thu, Oct 31, 7:54 PM UTC |
A new workroom has been created for this task. Join chat |
@0x4007 i cant seem to recreate the issue |
Show me the conversation/QA on GitHub so I have context on your problem |
ishowvel-org/.ubiquity-os#4 |
It looks like it works. @gentlementlegen rfc |
It should not, otherwise it means that users can also assign themselves again after disqualification. |
if thats the case i dont see how this issue should even be worked on, i think this should be closed as not planned |
/stop |
/start |
Could not reproduce the issue in the local environment.
|
The This is still relevant since this line is in the codebase:
|
It is the literal ID of the User entity which belongs to the app. Not the
|
/stop |
/start |
! ariesgun you were previously unassigned from this task. You cannot be reassigned. |
Cannot assign the issue to me anymore.
Not sure if this is what is used in the code, but shouldn't it be
|
Yeah sorry you are correct it's probably better to use |
I see.. so for this issue, is it possible to verify if the
the most probable root cause is the |
The cause is likely because we have two bots and so we have two That is just an assumption obviously but to answer the question: TypeBox verifies that the env vars are defined. Whether they reflect our actual bot is another question, we opt'd for the ID over the username a while back although if there is no other clean solution it'll have to do. |
I think it is safe to assume that a bot un-assign action is from our bot, and would cover both cases. |
If it is agreed to do it this way, (check name for |
@ariesgun Sounds to me like it was implied so yeah go ahead with that solution. I can't assign you but you can link the PR and you'll be assigned when someone else sees this |
@ariesgun i think you should check for the user type to be a bot instead. |
! This task does not reflect a business priority at the moment. You may start tasks with one of the following labels: Priority: 3 (High), Priority: 4 (Urgent), Priority: 5 (Emergency) |
@0x4007 , is it possible to start this task? |
! This task does not reflect a business priority at the moment. You may start tasks with one of the following labels: Priority: 3 (High), Priority: 4 (Urgent), Priority: 5 (Emergency) |
example
ubiquity/ts-template#61 (comment)
Calling stop should not penalize. If they called stop they should be able to reassign in the future becauss its not a disqualification.
The text was updated successfully, but these errors were encountered: