Skip to content
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(perf): org browser retrieve perf enhancements #2756

Merged
merged 4 commits into from
Nov 25, 2020

Conversation

rcoringrato-sfdc
Copy link
Contributor

What does this PR do?

  • Utilize source deploy/retrieve library for Org Browser retrieve operations

What issues does this PR fix or reference?

@W-8242567@

@rcoringrato-sfdc rcoringrato-sfdc requested a review from a team as a code owner November 23, 2020 20:10
@codecov
Copy link

codecov bot commented Nov 23, 2020

Codecov Report

Merging #2756 (a6ab1f1) into develop (182e4e9) will increase coverage by 0.23%.
The diff coverage is 75.38%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2756      +/-   ##
===========================================
+ Coverage    76.02%   76.25%   +0.23%     
===========================================
  Files          271      271              
  Lines        10235    10273      +38     
  Branches      1166     1176      +10     
===========================================
+ Hits          7781     7834      +53     
+ Misses        2128     2105      -23     
- Partials       326      334       +8     
Impacted Files Coverage Δ
...cedx-vscode-core/src/commands/baseDeployCommand.ts 52.50% <33.33%> (+0.64%) ⬆️
...e-core/src/commands/forceSourceDeploySourcePath.ts 60.00% <37.50%> (+11.61%) ⬆️
...core/src/commands/forceSourceRetrieveSourcePath.ts 60.93% <66.66%> (+5.38%) ⬆️
...scode-core/src/commands/util/parameterGatherers.ts 83.20% <75.00%> (-0.77%) ⬇️
...ceSourceRetrieveMetadata/forceSourceRetrieveCmp.ts 71.87% <83.33%> (+8.23%) ⬆️
...scode-core/src/commands/util/betaDeployRetrieve.ts 100.00% <100.00%> (+4.34%) ⬆️
...ore/src/commands/util/libraryDeployResultParser.ts 93.02% <0.00%> (+4.65%) ⬆️
...forcedx-vscode-core/src/diagnostics/diagnostics.ts 50.00% <0.00%> (+6.45%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 182e4e9...a6ab1f1. Read the comment docs.

@@ -132,16 +140,92 @@ export class ForceSourceRetrieveExecutor extends SfdxCommandletExecutor<
}
}
}
export class LibraryRetrieveSourcePathExecutor extends LibraryCommandletExecutor<
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a test to cover this new code ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lcampos No, I'll add test cases for it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, everything else looks good btw

await this.openResources(this.findResources(components[0], compSet));
}

return result.success;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to output the result table to the channelService?

@brpowell
Copy link
Contributor

Looks good aside from the one comment I had about the channel service. I discovered a conversion bug that's part of the library through these changes and filed an issue with it.

@rcoringrato-sfdc rcoringrato-sfdc merged commit 75a5a05 into develop Nov 25, 2020
@rcoringrato-sfdc rcoringrato-sfdc deleted the rc/org-browser-sdr branch November 25, 2020 03:56
sfsholden pushed a commit that referenced this pull request Dec 3, 2020
* feat(perf): org browser retrieve perf enhancements

* chore: removed unnecessary import

* chore: added tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants