Fixed
Project:
Commerce Core
Version:
3.3.14
Component:
Product
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2026 at 12:08 UTC
Updated:
6 Nov 2026 at 16:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
jonathan1055 commentedSome test classes do not have any class docblock at all. This would normally get reported by PHPCS but I see that you have excluded that rule in the project's customs phpcs.xml so that explains why the PHPCS job ends green in your regular pipeline. Removing that exclusion shows that the block is indeed missing in many files.
Comment #4
jonathan1055 commentedThe problem does not happen in 'current' Drupal 11 but it does fail in 'Previous Minor' Drupal 10 as we see in this pipeline
Comment #5
jonathan1055 commentedI temporarily added a matrix on @group and this seemed to speed up the pipeline. It also helps to isolate a test failure, if one group failed.

The pipeline is https://git.drupalcode.org/issue/commerce-3635503/-/pipelines/1032406
Let me know if you think this is useful and I will keep it in the MR
I presume there was a good reason for excluding the phpcs rule, so I will revert that change here.
Comment #7
jsacksick commentedThanks for the report! !780 mixes several changes together (CI matrix, phpcs, group renames), so I opened a smaller MR with just the fix:
@group commercetoProductVariationExportTest.commerce_cart,commerce_order,commerce_price,commerce_store), so--group commerceskipped them. They now usecommerce.@group debugtags left over on test methods.Commerce uses one
commercegroup on purpose. The submodules are tested together,--group commerceruns the whole suite, and other contrib modules can include or exclude Commerce with a single name. Per-submodule groups wouldn't really help a CI matrix either:commerceis also the base module's machine name, so that group would still contain everything. In !780, almost all tests ran in thecommercejob. I think most of the speedup came from turning off the opt-in jobs and linters.If there's a way in the GitLab templates to split the suite across parallel jobs without relying on groups, I'd be happy to look at it in a follow-up issue. The
Drupal.Commenting.ClassComment.Missingphpcs exclusion is intentional, so let's keep it.Comment #10
jsacksick commentedMarking that one as fixed for now, thanks for reporting the error and working on it.
Comment #12
jonathan1055 commentedI didn't mean to make work for you :-) I was happy to revert all the other changes, once I got a response as to whether you wanted the matrix or not. Thanks for merging, and for the explanations.
I understand that you do not want a matrix, but just for clarity you said "commerce is also the base module's machine name, so that group would still contain everything". My understanding of how
run-tests.shworks is that if you specify a group, like we did in the matrix, then only that @group would be run, so the 'commerce' matrix job would only run the tests with@group commerceand not the others. I have done this in other projects, where the main group is also the module name, and you don't get everything in that main group. But this is all just for background info, given that you don't want to split by @group anyway.Yes there is. You can add
parallel: Nwhere N is the number of splits you want. The Gitlab Templates PHPunit doc has more details. I'd be happy to work on that if you would like that feature.Comment #13
jsacksick commented@jonathan1055: I wanted to add another group in addition.
So in other words, keep @commerce and add commerce_cart, commerce_payment etc. Also your MR only changed the group for ~5 payment tests right?
Comment #14
jonathan1055 commentedYes my MR was not a finished thing, I just changed the group for payments so that the failing test could be run in isolation, so as not to waste resources, by temporarily commenting out the others in the matrix. I stopped working on the MR until I got some feedback. I have closed MR780 now.