-
Notifications
You must be signed in to change notification settings - Fork 465
split actor targets in bazel #5419
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
base: main
Are you sure you want to change the base?
Conversation
CodSpeed Performance ReportMerging #5419 will not alter performanceComparing Summary
Footnotes
|
2b66215 to
2273770
Compare
2273770 to
e98117a
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.
LGTM otherwise
| hdrs = ["capnp-mock.h"], | ||
| visibility = ["//visibility:public"], | ||
| deps = [ | ||
| "@capnp-cpp//src/capnp:capnp-rpc", |
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.
hmm, none of the headers of the capnp-rpc are being used by capnp-mock, but some capnp bazel targets are pretty peculiar (getting link errors based on functions being declared in one target but defined in another one, long story that is out of scope here), so if there's a different reason to include this here go ahead.
| implementation_deps = [ | ||
| ":io-gate", | ||
| "//src/workerd/jsg:exception", | ||
| "//src/workerd/util:autogate", |
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.
nit: "//src/workerd/util:sentry" should also be here
| deps = [ | ||
| ":actor-storage_capnp", | ||
| "//src/workerd/jsg:exception", | ||
| "@capnp-cpp//src/capnp:capnp-rpc", |
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.
nit: capnp-rpc should not be needed here, we don't include any capnp headers in actor-cache.h
| ], | ||
| }), | ||
| implementation_deps = [ | ||
| ":actor-storage", |
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.
nit: Line is not needed, actor-storage is only referenced from actor-cache
Resolves a todo