dxatscale / sfpowerscripts

A build system for modular development in Salesforce
https://dxatscale.io
MIT License
213 stars 98 forks source link

Honor waitTime for Deploy commands #1443

Closed brandonmikeska closed 1 year ago

brandonmikeska commented 1 year ago

Summary generated by Reviewpad on 24 Nov 23 18:59 UTC

This pull request includes several patches:

  1. Patch 1/4 fixes an issue with multiple workItem filters by spreading out the filters before pushing them. This patch affects the ReleaseImpl.ts file in the packages/sfpowerscripts-cli/src/impl/release directory.

  2. Patch 2/4 applies a codefactor suggestion by fixing an issue in the ReleaseImpl.ts file. It changes workitemFilters to releaseDefinition?.changelog?.workItemFilters.

  3. Patch 3/4 also fixes an issue in the ReleaseImpl.ts file. It adds an additional check to only push workItemFilters if they exist in releaseDefinition.changelog.

  4. Patch 4/4 modifies the DeploySourceToOrgImpl.ts file in the packages/core/src/deployers directory. It changes the deployment result timeout to honor the user's input for the wait time instead of hardcoding it.

Please review these patches and provide any necessary feedback.

Checklist

All items have to be completed before a PR is merged

reviewpad[bot] commented 1 year ago

Reviewpad Report

:bangbang: Errors

spread out the filters before pushing' (801656d2abcc479b548da2ec98f8aa4738222c54)

Instead of hardcoding the deployment result timeout - honor the user's input.' (23d978403eb28dc52cae42d0bdc864bfb198ee53)

:warning: Warnings

brandonmikeska commented 1 year ago

@azlam-abdulsalam this should fix #1440

codecov[bot] commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (bac4fa3) 46.83% compared to head (993a069) 46.83%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1443 +/- ## ======================================= Coverage 46.83% 46.83% ======================================= Files 70 70 Lines 2667 2667 Branches 300 300 ======================================= Hits 1249 1249 Misses 1416 1416 Partials 2 2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.