-
Notifications
You must be signed in to change notification settings - Fork 304
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
Provide ExecutionModel enum to tail worker #2914
Conversation
|
src/workerd/api/trace.c++
Outdated
@@ -284,6 +285,10 @@ kj::StringPtr TraceItem::getOutcome() { | |||
return outcome; | |||
} | |||
|
|||
bool TraceItem::getIsActor() { |
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.
bool TraceItem::getIsActor() { | |
bool TraceItem::getIsActor() const { |
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.
I agree that we should be doing this, but this is best done as part of a separate cleanup that applies this for all functions in Trace. Let's keep this PR self-contained if possible.
src/workerd/api/trace.h
Outdated
@@ -105,6 +105,7 @@ class TraceItem final: public jsg::Object { | |||
|
|||
uint getCpuTime(); | |||
uint getWallTime(); | |||
bool getIsActor(); |
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.
bool getIsActor(); | |
bool getIsActor() const; |
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.
This'll cause a gnarly merge conflict with my initial streaming trace PR but I guess thats ok ;-) .... LGTM
Thank you! |
No description provided.