-
Notifications
You must be signed in to change notification settings - Fork 115
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
go/worker/executor: Propose a new batch if there are message results #3771
Conversation
969ea21
to
a230542
Compare
Codecov Report
@@ Coverage Diff @@
## master #3771 +/- ##
==========================================
+ Coverage 67.32% 67.42% +0.10%
==========================================
Files 402 401 -1
Lines 40560 40638 +78
==========================================
+ Hits 27305 27401 +96
+ Misses 9410 9387 -23
- Partials 3845 3850 +5
Continue to review full report at Codecov.
|
b7383e0
to
d850b84
Compare
1162c6f
to
80ce959
Compare
459bdf3
to
6324652
Compare
71f3ca4
to
20b756a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, node tests seem to hang in WorkerImplementationTests
, specifically in:
oasis-core/go/worker/compute/executor/tests/tester.go
Lines 39 to 40 in 20b756a
// Wait for worker to start and register. | |
<-worker.Initialized() |
dfeceba
to
8f8d2a3
Compare
It was due to |
@@ -77,6 +79,13 @@ type Runtime interface { | |||
// WatchRegistryDescriptor subscribes to registry descriptor updates. | |||
WatchRegistryDescriptor() (<-chan *registry.Runtime, pubsub.ClosableSubscription, error) | |||
|
|||
// ActiveDescriptor waits for runtime to be initialized and then returns |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a comment here (and below) saying that this may block until the next epoch transition.
ec567cb
to
4b84c14
Compare
4b84c14
to
ef709e4
Compare
Runtime registry now includes methods returning the currently active runtime descriptor. Active descriptor is the runtime descriptor valid for the current epoch.
ef709e4
to
0e5e5bb
Compare
Fixes: #3645