-
Notifications
You must be signed in to change notification settings - Fork 3k
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
GitUtils.getValidMergedPRs()
returns false positives when PRs are merged into feature branches
#41718
Comments
Thanks for the detailed report. It's been a while since I worked on this code, but I always use TDD in |
Probably just ignoring 404s is easier to implement. Seems fine - let's log them though. |
Not sure if I followed what you mean there. Gonna raise a PR to catch the |
This issue has not been updated in over 15 days. @marcaaron eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
GitUtils.getValidMergedPRs()
returns false positives when PRs are merged into feature branchesGitUtils.getValidMergedPRs()
returns false positives when PRs are merged into feature branches
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-07-10. 🎊 |
Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO. |
I think this is done and no payments are due, closing it out |
GitUtils.getValidMergedPRs()
returns false positives when PRs are merged into feature branchesGitUtils.getValidMergedPRs()
returns false positives when PRs are merged into feature branches
cc @roryabraham coming from https://expensify.slack.com/archives/C07J32337/p1715047410791299
Problem
When we merged a PR from Rushat it broke the
markPullRequestsAsDeployed()
part of the staging deploy.The PR in question had some commits that merged in PRs from other contributors into a feature branch e.g.
Merge pull request #12 from software-mansion-labs/travel/terms-and-conditions
.AFAICT we:
getValidMergedPRs()
hereHowever, in the case where this failed the PR doesn't exist... so we hit a 404 in the next step. I think around here:
App/.github/actions/javascript/markPullRequestsAsDeployed/markPullRequestsAsDeployed.ts
Lines 116 to 120 in 2d96b8a
Solution
RequestError
with a 404 status...?The text was updated successfully, but these errors were encountered: