-
Notifications
You must be signed in to change notification settings - Fork 95
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(segments): deploy support for segments
API
#1660
base: main
Are you sure you want to change the base?
Conversation
E2E Test Results 4 files - 1 272 suites - 132 33s ⏱️ - 1h 12m 2s For more details on these failures, see this check. Results for commit 4c12790. ± Comparison against base commit 74698e1. This pull request removes 644 and adds 1 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Unit Test Results1 985 tests +13 1 984 ✅ +13 54s ⏱️ ±0s Results for commit 2d7baa2. ± Comparison against base commit 5beebaf. This pull request removes 4 and adds 17 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
05a94e6
to
a3f5d09
Compare
45559e8
to
fbece18
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.
Please double check your go-import-sort settings :)
ae789f7
to
c1acc5b
Compare
…in delete_test.go
c1acc5b
to
25a2958
Compare
err := delete.Configs(context.TODO(), client.ClientSet{SegmentClient: &c}, given) | ||
assert.NoError(t, err) | ||
assert.True(t, c.called, "delete should have been called") | ||
//DummyClient returns unimplemented error on every execution of any method |
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 think we need to update this too:
//DummyClient returns unimplemented error on every execution of any method | |
// fakeClient returns unimplemented error on every execution of any method |
pkg/delete/delete_test.go
Outdated
|
||
err := delete.All(context.TODO(), client.ClientSet{SegmentClient: &c}, api.APIs{}) | ||
assert.NoError(t, err) | ||
assert.True(t, c.called, "delete should have been called") | ||
//Dummy client returns unimplemented error on every execution of any method |
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.
//Dummy client returns unimplemented error on every execution of any method | |
// fakeClient returns unimplemented error on every execution of any method |
Quality Gate passedIssues Measures |
|
||
id, err := deployWithOriginObjectId(ctx, client, c, requestPayload) | ||
if err != nil { | ||
return entities.ResolvedEntity{}, fmt.Errorf("failed to deploy segment with externalId: %s : %w", externalId, err) |
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.
Is this error message correct? Or should it reference originObjectId?
What this PR does / Why we need it:
This PR adds support for the
segments
API in monaco.Special notes for your reviewer:
Follow-up is planned to move the logic of adding
uid
andowner
to the lib.Does this PR introduce a user-facing change?