-
Notifications
You must be signed in to change notification settings - Fork 18
feat: add src id to schema def #6570
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: master
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6570 +/- ##
==========================================
- Coverage 79.46% 79.44% -0.02%
==========================================
Files 543 543
Lines 60796 60797 +1
==========================================
- Hits 48309 48298 -11
- Misses 9612 9614 +2
- Partials 2875 2885 +10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
1d810fb to
6732db0
Compare
🔒 Scanned for secrets using gitleaks 8.28.0
6732db0 to
7fdd6b0
Compare
🔒 Scanned for secrets using gitleaks 8.28.0
…er-server into feat.addSrcIdToSchemaDef 🔒 Scanned for secrets using gitleaks 8.28.0
| Schema: testdata.TrackSchema, | ||
| Hash: proto.SchemaHash(testdata.TrackSchema), | ||
| Sample: []byte("{}"), | ||
| Key: &proto.EventSchemaKey{ |
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.
Why do we need any modification here?
| Key: &proto.EventSchemaKey{ | |
| Key: &testdata.TestEventSchemaKey, |
| EventType: "track", | ||
| EventIdentifier: "event-name", | ||
| } | ||
| require.Equal(t, schemaTransformer.getSchemaKeyFromJob(testdata.TrackEvent, testdata.WriteKeyEnabled), expectedKey) |
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.
why do we need any modification here?
| require.Equal(t, schemaTransformer.getSchemaKeyFromJob(testdata.TrackEvent, testdata.WriteKeyEnabled), expectedKey) | |
| require.Equal(t, schemaTransformer.getSchemaKeyFromJob(testdata.TrackEvent, testdata.WriteKeyEnabled), &testdata.TestEventSchemaKey) |
|
This PR is considered to be stale. It has been open 20 days with no further activity thus it is going to be closed in 7 days. To avoid such a case please consider removing the stale label manually or add a comment to the PR. |
🔒 Scanned for secrets using gitleaks 8.28.0
Description
Added sourceId field to the EventSchemaMessage protobuf definition
Changes:
Linear Ticket
fixes AI-344
Security