-
Notifications
You must be signed in to change notification settings - Fork 26
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
feat: migrate metadata decoding to protobuf #67
Conversation
999b648
to
f04a0b7
Compare
Are they disabled? It doesn't look like it. Did you revert a change, and forget to update the description? I just ran the tests locally and got this panic:
|
They are currently disabled (see https://github.com/elastic/apm-data/pull/67/files#diff-ce8c691488600b0f16281dec1b98c19dabd7edaa32cdc19df046a5829d23d9c4R93). I tried to fix them but found myself rewriting a large portion of the tests.
check notes That's... not supposed to happen. I'll look into it |
It seems to be a data race -- try running with |
We were previously using a struct so this wasn't obvious. Now that we are passing a pointer we can't share the modelpb.APMEvent because the readMetadata is called before cloning the base event. The data race only happens in the test because of how it's written. Production code (APM Server) is not sharing APMEvents.
Should be fixed! |
@kruskall can you please add Just having a look at the skipped reflection code now. |
This should be the last big PR related to protobuf.
Migrate metadata decoding to protobuf and update the code.
Fix a big in rum decoding setting the wrong timestamp
Disable reflection tests again, they are currently broken. (we really should move away from this)
Related to #52