Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Honor waitTime for Deploy commands #1443

Merged
merged 7 commits into from
Nov 24, 2023

Conversation

brandonmikeska
Copy link
Contributor

@brandonmikeska brandonmikeska commented Nov 24, 2023

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

  • Adhere to Contribution Guidelines
  • Updates to Decision Records considered?
  • Updates to documentation at DX@Scale Guide considered?
  • Tested changes?
  • Unit Tests new and existing passing locally?

@reviewpad reviewpad bot added small Pull request is small waiting-for-review labels Nov 24, 2023
Copy link

reviewpad bot commented Nov 24, 2023

Reviewpad Report

‼️ Errors

  • Unconventional commit detected: 'Fix multiple workItem filters

spread out the filters before pushing' (801656d)

  • Unconventional commit detected: 'Merge branch 'main' into main' (3f0d89f)
  • Unconventional commit detected: 'Merge branch 'main' into main' (a267459)
  • Unconventional commit detected: 'Honor deploy command waitTime

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

  • Unconventional commit detected: 'Merge branch 'dxatscale:main' into main' (993a069)
  • Unconventional title detected: 'Honor waitTime for Deploy commands' illegal 'H' character in commit message type: col=00

⚠️ Warnings

  • Please link an issue to the pull request

@brandonmikeska
Copy link
Contributor Author

@azlam-abdulsalam this should fix #1440

Copy link

codecov bot commented Nov 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

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

Additional details and impacted files
@@           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           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@azlam-abdulsalam azlam-abdulsalam left a comment

Choose a reason for hiding this comment

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

Thanks @brandonmikeska , looking good!

@azlam-abdulsalam azlam-abdulsalam merged commit 8593188 into dxatscale:main Nov 24, 2023
5 of 6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
small Pull request is small waiting-for-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants