-
Notifications
You must be signed in to change notification settings - Fork 185
feat: proactive connect #818
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
Conversation
Codecov Report
@@ Coverage Diff @@
## 3.x #818 +/- ##
==========================================
+ Coverage 78.94% 79.01% +0.06%
==========================================
Files 104 89 -15
Lines 1211 1215 +4
Branches 234 239 +5
==========================================
+ Hits 956 960 +4
Misses 255 255
... and 16 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
423546d
to
1c3f294
Compare
1c3f294
to
82ad1a3
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.
Just a couple of questions, otherwise looks good
file: string, | ||
): Promise<ImportFileResponse> { | ||
const itemsForm = new FormData(); | ||
itemsForm.setBoundary(this.FORM_BOUNDARY); |
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 there not a library that can handle creating multipart form bodies?
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 lib does, but it creates a different form on each instance. We set the form boundary here for testing purposes. I went through several libs to parse multi-parts, and they were all crap except for the one we are using. However that one needs the boundary explicitly set.
Adding in proactive connect
Description
Motivation and Context
Testing Details
Example Output or Screenshots (if appropriate)
Types of changes
Checklist