- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Per #3331355-23: [PP-1] Change exception class Architecture → , #3331355 is itself blocked. Reflecting that here.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
📌 Refactor exception architecture Fixed is unblocked; it's being worked on 👍 Reflecting that here.
- Status changed to Active
over 1 year ago 6:28pm 28 February 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
📌 Refactor exception architecture Fixed is 99% done — the direction is locked in, and it's down to nitpicks! 🥳
This issue is actionable even before that lands:
- create a new branch/MR, against
3.0.x
(the existing one is against8.x-2.x
) - on that new branch:
curl https://git.drupalcode.org/project/automatic_updates/-/merge_requests/718.diff | git apply -3v && git commit -nam 'Issue #3331355'
- → now you can build on top of that!
- create a new branch/MR, against
- Assigned to kunal.sachdev
- @kunalsachdev opened merge request.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 1:32pm 1 March 2023 - Assigned to kunal.sachdev
- Status changed to Needs work
over 1 year ago 5:27pm 1 March 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Looks like that works! But … I don't think tests have been written yet? 🤓 Without those, I don't have that much confidence in this 😅
We'll need to simulate hard crashes in all of the different calls to
composer-stager
! - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
📌 Refactor exception architecture Fixed landed.
That means we should revert the commit that we did here that added an in-progress version of that 😊
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 8:38am 3 March 2023 - Assigned to kunal.sachdev
- Status changed to Needs work
over 1 year ago 2:29pm 8 March 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Tests exist now, but some things are not yet clear to me 😅
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 8:49am 10 March 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
I asked for one more clarifying comment, but … this is dealing with a part of the codebase that I'm not familiar enough with. Leaving to Ted or Adam to review!
- 🇺🇸United States phenaproxima Massachusetts
I made a few changes here:
- I'm not super comfortable with very large
try
blocks. If a lot is happening in there, it becomes a lot muddier to understand when we expect exceptions to maybe happen, and why. So I tried to focus that scope down with an anonymous helper function. - This pattern of catching a throwable and then re-throwing it is used frequently in Stage, so I decided to make a helper method for it. That way, we don't have to remember to always pass the previous throwable to the re-thrown exception.
- In this case, I think
instanceof
is more readable thanin_array()
.
- I'm not super comfortable with very large
- Assigned to kunal.sachdev
- Status changed to Needs work
over 1 year ago 1:50pm 13 March 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
I think @phenaproxima meant to mark this on Friday.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 12:54pm 14 March 2023 - Assigned to phenaproxima
- Issue was unassigned.
- Status changed to Needs work
over 1 year ago 1:18pm 15 March 2023 - 🇺🇸United States phenaproxima Massachusetts
A few minor things, and then a couple of blocking questions.
- Status changed to Needs review
over 1 year ago 2:44pm 15 March 2023 - 🇺🇸United States phenaproxima Massachusetts
No nits found, but the blocking logic issue is still not clear to me. If someone can explain it to me (or just show me what I'm missing), and maybe add a comment, I'd be happy to RTBC and commit this.
- Status changed to Needs work
over 1 year ago 12:42pm 17 March 2023 - 🇺🇸United States phenaproxima Massachusetts
A few minor things, and then I think this is good to go. It makes a lot more sense!
- Assigned to tedbow
- Status changed to RTBC
over 1 year ago 2:40pm 17 March 2023 - 🇺🇸United States phenaproxima Massachusetts
Fixed the nitpicks. I think this looks good; asking @tedbow for final review.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Exciting to see this one land — this definitely helps make Package Manager more robust! 🚀
Found a few nits, but keeping RTBC because they're minor remarks.
- Status changed to Needs work
over 1 year ago 3:02pm 17 March 2023 - Status changed to RTBC
over 1 year ago 4:00pm 17 March 2023 -
phenaproxima →
committed cd248f77 on 3.0.x authored by
kunal.sachdev →
Issue #3277034 by kunal.sachdev, phenaproxima, tedbow, Wim Leers:...
-
phenaproxima →
committed cd248f77 on 3.0.x authored by
kunal.sachdev →
- Status changed to Fixed
over 1 year ago 5:22pm 17 March 2023 Automatically closed - issue fixed for 2 weeks with no activity.