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
Description of the issue:
When an error occurs on an Service instance, the state of the instance remains what it was, e.g. running or starting instead of being transitioned to terminated
Actual result:
[2021-09-17T13:08:41.590+0200 INFO yapapi.summary] [Job 1] Task started on provider 'EBGolem-1', task data: Service: SimpleService
[2021-09-17T13:08:41.882+0200 INFO yapapi.summary] [Job 1] Terminated agreement with EBGolem-1
[2021-09-17T13:08:43.289+0200 INFO yapapi.summary] [Job 1] Accepted invoice from 'EBGolem-1', amount: 0
instances: ['simple-service-1: starting on EBGolem-1']
Steps To Reproduce
introduce an error in the Service code, e.g.
SomeService(Service):
async def start():
pass
run a script that launches that service with Golem.run_service
observe the behavior -> the Service instance remains started despite a clear indication of termination of the activity
Expected behavior
The service should be marked terminated
The text was updated successfully, but these errors were encountered:
Description
OS: any
[ e.g. Ubuntu 18.04, Windows 10, etc ]
yapapi library version: 0.7.0dev
Description of the issue:
When an error occurs on an
Service
instance, the state of the instance remains what it was, e.g.running
orstarting
instead of being transitioned toterminated
Actual result:
Steps To Reproduce
Golem.run_service
started
despite a clear indication of termination of the activityExpected behavior
The service should be marked
terminated
The text was updated successfully, but these errors were encountered: