You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Refactor and clean up the createStagingDeployIssue code #9999
The code for creating staging deploy issue is very hard to follow and leads to bugs when new features are added or code is changed as engineers have tough time following the code.
Also sometimes we can manually move PRs to be internalQA after being added to the checklist - try to check if the PRs in main section are indeed internal or not before adding them in - do not rely on previous checklist in terms of this.
Why is this important?
Intoruduced more bugs in the issues which slows down deploy and takes more time to fix.
Solution
We should do:
clean up and refactor the code/flow so it is easier to follow
make sure to add more comments which will clearly indicate what are the formats/structures of the arrays/objects and in general comments explaining the flow
Find a nicer way to get the URL from the internal QA section than this
Also sometimes we can manually move PRs to be internalQA after being added to the checklist - try to check if the PRs in main section are indeed internal or not before adding them in - do not rely on previous checklist in terms of this.
Lets also update naming to make sure it is not outdated:
replace StagingDeployCash with DeployChecklist, and LockCashDeploys with LockDeploys
Overall I think we may have lost the context for this issue and the problem is unclear. I think we should refine the problem statement or close this out.
@roryabraham I think the general goal was to mrefactor the entire code to me more accessible to unfamiliar developers. A bit vague goal I know.
However, coming back to what you mentioned before offshore, about reworking the deploy process, is there anything you planned for the deploy checklist and how we create it? then we might just close this out and focus on this later
I didn't really have anything major planned for the checklist other than removing some outdated naming (i.e: replace StagingDeployCash with DeployChecklist, and LockCashDeploys with LockDeploys)
Alright, I think from the bugZero perspective, we can close this one out. The issue got created when we were trying to add a new feature to the checklist and it revealed how easy it is to miss something in the complicated code. However, we havent had issues with the checklist for a long time or needs to change it so I think we could close this now and if there would be any new bigger changes required for the checklist in future, the refactoring should take place along with it.
Activity
mountiny commentedon Aug 15, 2022
Low priority for now
mountiny commentedon Sep 14, 2022
Focusing on API refactors and n7
mountiny commentedon Oct 17, 2022
Still in my backlog, I will let this once to the pool if anyone is interested
roryabraham commentedon Oct 17, 2022
Overall I think we may have lost the context for this issue and the problem is unclear. I think we should refine the problem statement or close this out.
mountiny commentedon Oct 18, 2022
@roryabraham I think the general goal was to mrefactor the entire code to me more accessible to unfamiliar developers. A bit vague goal I know.
However, coming back to what you mentioned before offshore, about reworking the deploy process, is there anything you planned for the deploy checklist and how we create it? then we might just close this out and focus on this later
1 remaining item
melvin-bot commentedon Oct 18, 2022
Triggered auto assignment to @puneetlath (
AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.roryabraham commentedon Oct 18, 2022
I didn't really have anything major planned for the checklist other than removing some outdated naming (i.e: replace
StagingDeployCashwithDeployChecklist, andLockCashDeployswithLockDeploys)mountiny commentedon Oct 19, 2022
Alright, I think from the bugZero perspective, we can close this one out. The issue got created when we were trying to add a new feature to the checklist and it revealed how easy it is to miss something in the complicated code. However, we havent had issues with the checklist for a long time or needs to change it so I think we could close this now and if there would be any new bigger changes required for the checklist in future, the refactoring should take place along with it.
Let me know if you disagree.
puneetlath commentedon Oct 19, 2022
Sounds good to me.