- Issue created by @tedbow
- 🇮🇳India omkar.podey
omkar.podey → made their first commit to this issue’s fork.
- 🇮🇳India omkar.podey
Isn't this very similar to
\Drupal\Tests\automatic_updates\Functional\UpdateFailedTest
- @omkarpodey opened merge request.
- 🇺🇸United States tedbow Ithaca, NY, USA
re #3 fixed the summary
yes it is similar but in
\Drupal\Tests\automatic_updates\Functional\UpdateFailedTest
the failure happen in the Composer Stager "Commit" stage. So therefore have to assume the active codebase has a problem because there was problem copying from the stage to the active directory. That is why we create the failure marker fail.In this proposed test the exception should be come from
NoOpStager::setException
(fixed in summary). In that case the active code base is unchanged so there is no need for the failure marker file. - last update
over 1 year ago Custom Commands Failed 22:51 20:56 Running- Assigned to tedbow
- Status changed to Needs work
over 1 year ago 6:21pm 19 April 2023 - Open on Drupal.org →Core: 10.1.x + Environment: PHP 8.1 & MySQL 8last update
over 1 year ago Not currently mergeable. - Assigned to omkar.podey
- Open on Drupal.org →Core: 10.1.x + Environment: PHP 8.1 & MySQL 8last update
over 1 year ago Not currently mergeable. - last update
over 1 year ago 705 pass, 3 fail - last update
over 1 year ago 706 pass, 3 fail - last update
over 1 year ago 720 pass - last update
over 1 year ago 746 pass - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 8:17am 21 April 2023 - Assigned to yash.rode
- Assigned to omkar.podey
- Status changed to Needs work
over 1 year ago 9:46am 21 April 2023 - 🇮🇳India yash.rode pune
There are just 2 small nits other than that the test looks clear to me!
- last update
over 1 year ago 746 pass - last update
over 1 year ago 746 pass - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 10:16am 21 April 2023 - Assigned to yash.rode
- Issue was unassigned.
- Status changed to RTBC
over 1 year ago 11:28am 21 April 2023 - Assigned to omkar.podey
- Status changed to Needs work
over 1 year ago 11:37am 21 April 2023 - 🇺🇸United States phenaproxima Massachusetts
At a glance, I don't think this is complete.
For one thing, we also need coverage of what happens when the Beginner and Committer services throw. We don't necessarily need to do that with a data provider, if it's easier; we could have separate test methods for those. But the Beginner, the Stager, and the Committer are the three Composer-centric services we call during the update, and we need to know how we handle an exception from each of them.
- 🇺🇸United States phenaproxima Massachusetts
Having said all that, I do see that the issue summary didn't mention the Beginner and Committer. In my view, that's an oversight.
I'll add that.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
+1 for that. The current state of the MR looks great already though! 👍
- last update
over 1 year ago 771 pass - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 12:48pm 5 May 2023 - Assigned to omkar.podey
- Status changed to Needs work
over 1 year ago 2:49pm 5 May 2023 - 🇺🇸United States phenaproxima Massachusetts
I think this looks very promising. It could use some cleanup and explanation in certain areas, though...
- last update
over 1 year ago 771 pass - last update
over 1 year ago 771 pass - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 12:25pm 8 May 2023 - Assigned to wim leers
- last update
over 1 year ago 792 pass - Issue was unassigned.
- Status changed to RTBC
over 1 year ago 2:53pm 11 May 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Nits fixed.
Note that for the one question I had, which @omkar.podey redirected to @tedbow, I figured out the answer.
I think the changes in that hunk look good. But they're not strictly necessary: tests pass without any of the changes to
BatchProcessor
. So I leave it to @tedbow and @phenaproxima to decide whether to merge this with or without that hunk. - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Related: IMHO 📌 Failure marker message does not contain exception message + backtrace if available Fixed should be required to update the test coverage this introduces to prove that the appropriate stack traces are displayed if and only if
error_level == verbose
. - Assigned to tedbow
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Finally, based on @tedbow's comment at https://git.drupalcode.org/project/automatic_updates/-/merge_requests/83... and him having written the code that I observed in #26 to not be required for the tests to pass … makes me think it should be @tedbow who first confirms the RTBC and then @phenaproxima to do a final pass before committing it.
- 🇺🇸United States phenaproxima Massachusetts
This looks really good. A few easy suggestions to increase clarity, though...
- Status changed to Needs review
over 1 year ago 3:34pm 11 May 2023 - 🇺🇸United States phenaproxima Massachusetts
Actually, reassigning to @tedbow for review, as per #28.
- Assigned to omkar.podey
- Status changed to Needs work
over 1 year ago 12:32pm 15 May 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
- last update
over 1 year ago 792 pass - Assigned to tedbow
- Status changed to Needs review
over 1 year ago 11:00am 16 May 2023 - last update
over 1 year ago 792 pass - Assigned to omkar.podey
- Status changed to Needs work
over 1 year ago 2:45pm 16 May 2023 - 🇺🇸United States tedbow Ithaca, NY, USA
Just 2 small suggestions otherwise I think this looks good.
- last update
over 1 year ago 792 pass - last update
over 1 year ago 792 pass - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 1:21pm 17 May 2023 - Status changed to Needs work
over 1 year ago 5:35pm 17 May 2023 - 🇺🇸United States phenaproxima Massachusetts
I found three nitpicks and one request for a comment to prevent confusion later. But otherwise, I agree with Ted, this is pretty much RTBC.
- last update
over 1 year ago 792 pass - Status changed to Needs review
over 1 year ago 10:42am 18 May 2023 - Status changed to Needs work
over 1 year ago 11:38am 18 May 2023 - 🇺🇸United States phenaproxima Massachusetts
Still needs a comment to prevent confusion about the second StageFixtureManipulator call.
- last update
over 1 year ago 792 pass - last update
over 1 year ago 792 pass - Status changed to Needs review
over 1 year ago 1:14pm 18 May 2023 - Assigned to omkar.podey
- Status changed to Needs work
over 1 year ago 2:14pm 22 May 2023 - 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
One very last thing: a single missing comment! 😄
- Open on Drupal.org →Core: 10.1.x + Environment: PHP 8.1 & MySQL 8last update
over 1 year ago Waiting for branch to pass - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 12:44pm 23 May 2023 - Status changed to RTBC
over 1 year ago 1:08pm 23 May 2023 - 🇺🇸United States phenaproxima Massachusetts
I like it!
Once we have the build test failure resolved, this is good to go, in my opinion.
- last update
over 1 year ago 792 pass - last update
over 1 year ago 792 pass - last update
over 1 year ago 792 pass -
phenaproxima →
committed 4c3fc538 on 3.0.x authored by
omkar.podey →
Issue #3354099 by omkar.podey, phenaproxima, tedbow, Wim Leers, yash....
-
phenaproxima →
committed 4c3fc538 on 3.0.x authored by
omkar.podey →
- Status changed to Fixed
over 1 year ago 5:03pm 23 May 2023 Automatically closed - issue fixed for 2 weeks with no activity.