You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a tome is performing an IO blocking operation like: sleeping, or making a network connection it can prevent other tomes from sending output back to tavern.
This only seems to affect tomes that finish quickly (likely within the time between claim_task and report.)
"fast" Tomes that have had this issue:
Get env
Shell execute cmd: id
Process list match: *
/realm/implants/imix/src/agent.rs:78
/* * Callback once using the configured client to claim new tasks and report available output. */pubasyncfncallback(&mutself) -> Result<()>{let transport = GRPC::new(self.cfg.callback_uri.clone(),self.cfg.proxy_uri.clone())?;self.claim_tasks(transport.clone()).await?;self.report(transport.clone()).await?;Ok(())}
To Reproduce
Create an IO blocking tome:
defmain():
time.sleep(999999)
main()
Import it to tavern - I temporarily replaced realm/tavern/tomes/example/main.eldritch with the above and the start tavern.
Run a "fast" tome to make sure it works
Run the IO blocking tome
Run a "fast" tome again and see how it stays in the Queued state
Run a slow tome and see that it finishes as expceted
Expected behavior
Tomes should never interfere with each other. Even if a tome is infinitely blocking other tomes should be able to complete.
The text was updated successfully, but these errors were encountered:
Describe the bug
When a tome is performing an IO blocking operation like: sleeping, or making a network connection it can prevent other tomes from sending output back to tavern.
This only seems to affect tomes that finish quickly (likely within the time between
claim_task
andreport
.)"fast" Tomes that have had this issue:
Get env
Shell execute
cmd:id
Process list
match:*
/realm/implants/imix/src/agent.rs:78
To Reproduce
realm/tavern/tomes/example/main.eldritch
with the above and the start tavern.Queued
stateExpected behavior
Tomes should never interfere with each other. Even if a tome is infinitely blocking other tomes should be able to complete.
The text was updated successfully, but these errors were encountered: