Problem/Motivation
Providing a class to discover recipes only in the intended folders will ensure contrib modules or project browser (if/when it moves to core) won't have to reinvent the discovery process.
Proposed resolution
The discovery object is a generator that yields Recipe objects as discovered.
By default, the generator searches only core/recipes and wherever Composer has installed drupal-recipe packages.
Several use cases for this:
- Project Browser would benefit from a standard mechanism for recipe discovery. It currently rolls its own.
- Drupal CMS could use it to discover optional add-on recipes to present to users in the installer. Currently it just uses a hard-coded list. It could also use it to scan for site templates, which are recipes.
- Running automated tests on recipes with dependencies on other (contrib) recipes in GitLab CI environments (https://www.drupal.org/comment/16297663#comment-16297663)
- Continuing with Drupal's long tradition of extensible functionality allowing contributors to discover recipes for purposes not yet fully determined but may someday drive new innovation.
Remaining tasks
Update change record, focusing on the change and the impact.
Review change record
Release notes snippet
Module developers can now discover recipes on the file system using the new recipe Finder. By default, it searches the Composer-configured recipe installation directory and Drupal core's recipes directory. Discovery locations and filtering can be customized when needed.
| Comment | File | Size | Author |
|---|
Issue fork drupal-3446354
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
jnicola commentedComment #3
phenaproximaPersonally, I wouldn't follow ExtensionDiscovery's API here, purely because recipes aren't extensions and shouldn't be conceptualized or treated as such. But the ability to find them (to be exposed in Project Browser or other UIs) does seem handy.
We'll need to consult carefully with @alexpott on this one to be sure we don't introduce regressions, because the recipe system is very sensitive to changes in discovery.
Comment #4
jnicola commentedSome of us have been talking about it at length over in slack. We're also chatting about it as a group at the Drupalcon2024 general contribution Recipes table.
The decision appears to be that a discovery class would be useful. There are restrictions around paths. This also does not exactly copy ExtensionDiscovery. It just follows the method naming conventions from there.
This currently affects nothing as far as Recipes per our local testing and none of the code already in discovery (a single method) is influenced by this addition.
The discovery class can now return an array of Recipe objects as available in core/recipes and /recipes.
This can be used by layout builder or any other future effort that should desire to acquire a list of all recipes that can be loaded as Recipe Objects, and should help prevent redundant code from coming to exist such as in a plugin in Project Browser and then onwards in other places wishing to display a list of recipes.
Comment #5
phenaproximaComment #7
jnicola commentedReady for review by others.
Comment #8
phenaproximaThis is very similar to what
RecipeDiscoveryused to do, but was reverted.We probably want to adjust this slightly. If I understand the design intention correctly, there are only two places that it should look -- the arbitrary
$paththat's passed to the constructor, andcore/recipes. That's it. In other words, it should not be hard-coded to look in/recipes.Which is what it already does in HEAD, to be clear -- but what we need here is an additional method that shows all recipes in those two paths. So really we just want to expose everything it can find, given a certain $path; we don't want to actually scan a specific, constant list of directories for recipes.
Comment #9
phenaproximaComment #10
jnicola commentedSo I don't think the $path to constructor idea is wise, but left it since it's not my work.
If anything, that should be removed.
Otherwise, people can specify any path they want to search... which is exactly what you specified we don't want to be doing.
Also, ExtensionDiscovery is explicit about paths, it's not unreasonable to be explicit here.
I can alter the constructor and chase down all code using this as is, but I chose to alter as little other code as possible.
I think a follow up issue to tackle that would be reasonable to keep this issue scope to just the ability to get a scan of all discoveries in the directories Recipes currently intends to restrict users to.
Comment #13
phenaproximaA few small points, but in general this makes sense to me!
It will, however, need explicit test coverage.
Comment #14
alexpottI've opened #3447210: Move RecipeDiscovery into RecipeConfigurator to remove the existing RecipeDiscovery. I'm not sure we need this work yet in core but at least there will less confusion about the purpose of the class that was called RecipeDiscovery.
Comment #15
jnicola commented@alexpott I believe the linked Project Browser work will need it as it needs a way to display all the available local recipes.
We also developed a recipe_ui module at Drupalcon that will also need to discover recipes. The intention was to put it in core, but since the Project Browser push is the main focus, it would be a contrib module... if we even push out what we built at all.
In general though being able to discover recipes seems like a useful chunk of functionality for folks so as everyone isn't reinventing the wheel.
Comment #16
jnicola commentedMoving to the new recipe component!
Comment #17
jnicola commentedComment #18
jnicola commentedComment #19
thejimbirch commented"resolved all threads" - is this ready for "Needs review"?
Comment #20
jnicola commented@thejimbirch it's sort of ready!
Since I resolved everything, RecipeDiscovery was moved to RecipeConfigurator (see https://www.drupal.org/project/drupal/issues/3447210) so I had to redo the work on RecipeDiscovery. So I redid the work, added some functionality based on some suggestions from @phenaproxima and had pinged them for a code review. I'd love for you to take a gander at it as well!
I also need to add tests. Writing those would be the goal early this week, but I am having trouble getting DDev to run phpunit tests. I couldn't even get ddev to spin up Drupal 11 without some notable deviation from the main Ddev directions, so I'm sure the problem lies somewhere in thee.
If anyone reading this has availability to pair through writing Phpunit tests with me, I'd be forever grateful!
Comment #21
quietone commentedComment #22
jnicola commentedComment #23
quietone commentedChanges are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies.
Comment #24
jnicola commentedAh okay, got it!
I've got time at work and am going to try and get some tests for the updated recipe discovery class in the MR and then see about getting this out.
Comment #25
jnicola commentedThis has been updated and now has tests that check the RecipeDiscovery class works as expected.
Wouldn't mind some additional review from folks.
Comment #26
jnicola commentedComment #29
smustgrave commentedAny recommended way to test this one?
Comment #30
jnicola commentedOne simple idea how to test: You could write a custom controller that calls RecipeDiscovery and gets all of the recipes from core and outputs them in a nice list, or a table, or whatever makes you happy! If it finds all of the recipes as expected, that's good! If you want to see actual output, do a list output of each recipe returned to you!
You can also test this works by attempting to load the test recipes. where it will load all but one that shouldn't load because it throws an exception.
Would love it if some more folks got interested. I'm still flummoxed that a standardized way for folks to discover Recipes is an uphill battle with outright disinterest. It's open source, give people the tools and let it grow!
Comment #31
phenaproximaWell, to be clear...the way to "discover" recipes is, at least for now, going to be Project Browser, which implemented its own mechanism.
Having said that, a core mechanism would be preferable. I could see a use case where you might have several distinct "cookbooks" in a given code base, and having the ability to browse each of them using a standard class supplied by core might be beneficial. Project Browser would certainly leverage a core recipe finder if one existed.
@jnicola and I had extensively negotiated the parameters of this feature, and agreed that this MR would respect an intentional limitation of the recipe system, which is that recipes can only be scanned for in two places at once: an arbitrary directory (normally wherever Composer is configured to install packages of type
drupal-recipe, which in most sites is probably/path/to/project/recipesor/path/to/project/webroot/recipes), and the core recipes directory.So this MR, and the class in it, could maybe be more precisely named; "RecipeDiscovery" is strongly reminiscent of ExtensionDiscovery, and seems to imply that it will find recipes anywhere in the code base, which is not the case. We can bikeshed the naming later. As it is, I'll review this with the naming set aside.
Comment #32
phenaproximaI took a look through this and I think it's a good start but needs to be greatly simplified in some spots, and hardened in others. But hey - there's test coverage, and that's great!
I would strongly recommend looking at what Project Browser did, and borrowing heavily from there.
Comment #33
jnicola commentedWell, a few things to that end.
Yes, Project Browser is the way folks will likely find recipes. That said, as with most things in Drupal, the "next big thing" historically comes and goes, but it's the base concept that remains. That's the beauty of it all being so extensible, and has allowed Drupal to have reinvented many aspect of module management, config management, content creation, layout management. From panels, to beans, to features... can we say someone won't come along with something better than Project Browser in the future? I don't think staying true to Drupal's history we can.
Respecting the desire though to give Project Browser it's fair shake, while also recognizing extensibility is the ladder that got us all on this roof... I kept RecipeDiscovery built in such a way that while it heavily favors the two directories you suggest we try and focus RecipeDiscovery down to... it can be used to discover recipes in other locations.
So if install profiles ever make a comeback and ship with Recipes, or hey maybe the next big "starshot" will have it's own directory... whatever the next big thing is, this can accomadate for it, but favors core, just like ModuleDiscovery.
Ultimately, I think this threads the needle of being as true to the original ModuleDiscovery object as possible, while navigating the current desired direction of Drupal.
As for needing more work, could you please be specific so as this can meaningfully stay moving? Just saying "Do better, see this" leaves this perpetually in limbo. Plus, I did review your project browser and did borrow from some of it.
Comment #34
phenaproximaI didn't want to give the impression that I have a problem with the way this code has been designed. I agree with the design - it favors finding recipes in core, as well as an arbitrary place that has a sane default value. That is what we had agreed on.
I'm asking for changes in certain specific places - the way the code is now is doing a number of questionable things (the logging, for example; the reliance on scanning for paths instead of just using Recipe objects is also a bit of a head-scratcher). The design is sound; it's the implementation needs some streamlining, fine-tuning, and clean-up.
The naming probably also needs some work to conceptually separate it from modules and other types of extensions, but that's a separate conversation, and it's easy to resolve once a name as been chosen. Naming is hard, and the recipe system is experimental, so we could kick that can down the road somewhat.
And I did leave a detailed review - those comments should have loaded. They're in GitLab, on the MR, as is standard practice.
Comment #35
jnicola commentedAh, I am not seeing them for some reason. I'll go look again and see what I can address from them, thanks for your time as always!
Comment #36
phenaproximaComment #37
phenaproximaComment #38
phenaproximaComment #39
phenaproximaI think this pretty much covers it. This will need review/RTBC from someone else; @jnicola and I both worked heavily on this patch.
Comment #40
thejimbirch commentedLooks good. Marking as RTBC, thanks!
Comment #41
alexpottI don't think we should be adding user and system to recipes. Adding required modules to this feels really odd. Can't we just install the modules in the kernel test and be done?
Comment #43
phenaproximaRe #41: in that case, we will need a blocking issue to fix the validation, which currently disregards already-installed modules when considering the config entity prefixes listed in the actions section of recipe.yml.
This is a pre-existing bug; the addition of System and User to current core recipes was a workaround.
Comment #44
phenaproximaOpened #3477329: Recipe validation should always treat required modules as installed as a blocker.
Comment #45
phenaproximaBlocker was committed!
Comment #46
b_sharpe commentedExtremely small fix, otherwise looks good to go
Comment #47
smustgrave commentedAppears to have a test failure.
Some may be solved by a rebase since the MR is 156 commits back.
But this one caught my eye Drupal\FunctionalTests\Core\Recipe\RecipeCommandTest::testExceptionOnRollback if caused by the change to core/tests/fixtures/recipes/config_rollback_exception/recipe.yml
Comment #48
mxr576I believe there's a third use case that may be relevant: running automated tests on recipes with dependencies on other (contrib) recipes in GitLab CI environments. The main roadblock we encountered in #3546508: Add recipes path handling is how Recipe Installer currently discovers recipes in the filesystem.
Question: Do you think this problem relates to this issue, or should it be reported separately? Or perhaps it's not a core issue at all?
I haven't tested this patch with my POC playground alongside the GitLab changes from the other issue. From what I can tell, this issue only introduces a new API that isn't yet leveraged by the Recipe Installer ecosystem.
I have concerns about how QA environments are configured on GitLab (and also by DDEV Drupal Contrib for local development). In these setups, the component under test (module, theme, recipe, etc.) gets symlinked to a special location while residing in the site root. This setup pattern might create additional complications for recipe discovery and installation workflows.
Has anyone considered how this new API would interact with symlinked recipe scenarios common in CI/CD environments?
PS.: I assume DrupalCMS recipes never discovered this problem because they live in a monorepo and QA-d there, instead of in many-repo splits.
Suggestion: Read the thread from #3546508-29: Add recipes path handling because there was also some debate on how recipe path should identified in tests.
Comment #49
jnicola commentedI think it makes sense for testing as well as a myriad of other reasons.
That said, this was such an uphill battle all to produce a totally neutered recipe discovery class... my interest went elsewhere.
My original class was based on core module discovery, mimicking it's flexibilty and functionality allowing users to find modules in a variety of locations... but apparently that's a problem as there is a lot of push to keep recipe implementations VERY rigid and dogmatic.
What's here is basically PhenaProxima's direction, and it's not even what I think is good for Drupal anymore due to being so locked down and largely useless for contributors to discover recipes with.
I'd advocate for and participate again if we go back to the extensible direction similar to modulediscovery.
For fun, I'm going to update the issue summary to what I actually feel are useful reasons for this class instead of the compromises made along the way.
Comment #51
nedjoProject Browser's recipe discovery excludes core's
examplerecipe via the following, see relevant lines inDrupal\project_browser\Plugin\ProjectBrowserSource\Recipes:For this discovery to work for Project Browser, we could add the ability to exclude specified paths, though we probably don't want to hard-code 'example/'. Maybe an additional constructor parameter?
I don't know if this fully answers your question, but the
Symfony\Component\Finder\Finderused to discover recipes does include the line:Comment #52
nedjoFirst off, thank you jnicola, phenomproxima and others for your work here. As I dip back into Drupal recipes, I'm impressed to see what's been achieved, and this piece promises to cover a key gap.
Hey, I hear you on that. It was my first thought too. Recipes are kinda sorta similar to extensions, and we already have an API for discovering extensions. For the sake of parallelism if nothing else, shouldn't we do something similar here?
But, reading over this (long!) issue and reflecting on it, I've started to see the benefits of a limited, opinionated approach. I take to heart what phenomproxima said earlier:
Amen.
Ditto for being opinionated. We're now using Composer. It makes sense to me to base an implementation on Composer's assumption--that there's a single best way to add packages. For the rest? Symlinks should cover a lot of it. And if not? Well, recipe APIs are still experimental. If something different is indeed required, there's still time.
Caution: the rest of this comment is quasi-philosophical rambling, enter at your own risk ;)
Working here and elsewhere in Drupal, we face big challenges. On the one hand, we value parallelism. But, undeniably, many of our existing APIs are showing their age.
ExtensionDiscoveryand the accompanyingExtensionobject were introduced in 2014 and, really, haven't changed a lot. Even in 2014, extensions inherited a lot from Drupal's very early days. Way, way before a lot of what we now take for granted: Symfony, Composer, even what we get natively in current versions of PHP. Would a Drupal extension API conceived from scratch today look anything like what we have inExtensionandExtensionDiscovery? Not so much. So should we constrain something new to something so old?And, while recipes are similar to extensions in some ways, in others, as people have been pointing out, they're very different. True to their name, recipes are really just a set of instructions, not an ongoing piece of an architecture. At heart they're ephemeral--applied (potentially, reapplied), but not present on a site.
How are we going to manage the similar-but-differentness of recipes and extensions? TBD. But we're already seeing some ideas. Project Browser, in particular, has introduced a compatibility layer, a
Projectobject that can model either a recipe or an extension. Not likely something we can directly use generically in a bunch of other contexts--it's too closely tied to Project Browser's needs. But instructive nonetheless.And in a theoretical future where we reconcieve both recipes and extensions as instances of a common underlying object? Sure, the current work on recipes won't be anything close to a full solution. But will it at least provide some valuable signposts? Probably it will.
jnicola, I guess all I'm saying is, yep, it's messy. But it's where we're at. Your valuable contributions in this issue are helping move the work forward. Progress is incremental and limited. Even so, it helps open new possibilities. So thanks :)
Comment #53
nedjoUpdating summary and roughing in a release notes snippet.
This is ready for review again.
Aside from minor updates and fixes, the only significant change I've made is to add a
$pathsToExcludeparameter. The main use case is Project Browser's need to exclude core's example recipe, see comment 51.Comment #54
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #55
nedjoComment #56
thejimbirch commentedIf this were to land, it would warrant a change record. Adding the tag.
Comment #57
phenaproximaBad news...I have to kick this back because the recipe unpacker blows it up entirely. I explained more in the issue, but we need to actually read composer.json to infer the recipe directory. There is some code in Drupal CMS that we could adapt for this purpose.
Comment #58
nedjoThanks for pointing that out, code from Drupal CMS copied over to replace what we had here. I've also fixed up the test to skip an intentionally broken recipe fixture.
Ready for review again.
Comment #59
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #60
nedjoFixed a couple of remaining issues.
Comment #61
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #62
nedjoRemoved @throws PHPDoc for json_decode.
Comment #63
nedjoI've been working with the code here and finding some significant limitations.
A particular use case is filtering the discovery to return only already applied recipes. We'd regularly use a
FilterIterator, but as currently written,RecipeDiscoverydoesn't facilitate that pattern. Of course, as the API is experimental, we can't extend our class, but the more basic problem is that the::getIterator()method returns a\Traversableinstance but not an\Iterator.To address that limitation, we can instead extend Symfony's
Finderclass and move our customizations into aFilterIterator. By doing so, we get a bunch of advantages--our discovery object inherits the regular Finder methods, making it a lot more standard and robust.Assigning to myself to implement these changes.
Comment #64
nedjoI've committed a refactoring to to extend Symfony's
Finder.The main change is to move iterator logic to new
RecipeDiscoveryFilterIteratorclass extending\FilterIterator.Extending Symfony's
Finderallows us to rely on native Finder methods. Specifically, we can drop our custom$pathsToExcludeconstructor parameter and just use theFinder::notPath()method.I've also extended test coverage to cover exception thrown when no recipes directory is provided, core recipes are excluded, and no recipe install path is configured in the root
composer.jsonfile.Finally, I've done some code cleanup:
RecipeDiscoveryconstructor properties.LogicExceptionwhen an invalid combination of constructor arguments and code conditions is present.Still to do: address PHPStan error by specifying generic type in
RecipeDiscoveryFilterIteratorPHPDoc.Comment #65
nicxvan commentedWouldn't we need to do a dependency evaluation for finder?
Or is that shortcut since it is symfony?
@longwave mentioned it in another issue recently and I was concerned about performance compared with php native processes. I think that's less of an issue for this situation than for hook collection since recipes won't block the container building.
Comment #66
phenaproximaFinderis already a core dependency: https://git.drupalcode.org/project/drupal/-/blob/main/core/composer.json...Comment #67
nicxvan commentedOh, well that makes it easier here then lol!
Comment #68
phenaproximaI reviewed the MR and I think it makes sense but could be simpler and cleaner, in a couple of ways:
Finder. Instead, we should have this class implementIteratorAggregateand return a fully builtFinderinstance fromgetIterator.RecipeDiscoveryFilterIteratorclass. We should just use a custom filtering callback, which is supported byFinder::filter().So really, the only point of
RecipeDiscoveryshould be to act as a configurator for aFinderinstance, telling it what directory to search in, whether the filter callback should skip invalid recipes, etc. But it really should just be a relatively thin wrapper aroundFinder.An example of a similar pattern is
Drupal\Core\DefaultContent\Finder, which also uses a SymfonyFinderunder the hood but does not itself extend it.Comment #69
nedjoThanks @phenaproxima. I see the point, but don't immediately see how we'd do this.
We need to do two things with the
Finderresults:Recipeobject from therecipe.ymlfile contents.Currently in the
RecipeDiscoveryFilterIteratorclass extendingFilterIteratorwe're doing both. In the::current()method (inherited fromIteratorIterator), we instantiate a validRecipeor, failing that, either returnNULLor throw an exception. In the::accept()method, we intercept theNULLvalues and reject them.If we instead wrap
Finderin::getIterator(), we can easily filter outNULL(orFALSE) results via the::filter()method. What I'm not seeing is how we instantiate theRecipeobjects or return a value we'd intercept in the filter. We don't have, for example, a::current()method on theFinderobject that we could pass a closure to.Hints or suggestions?
Comment #71
phenaproximaHere -- I opened a merge request with what I had in mind. I think this is a much simpler API:
Comment #72
phenaproximaActually, now I'm thinking about it, we should not have the include_core flag in this class. It should be dumb as a doornail, and only look for recipes in one place. If you want to scan for recipes in multiple locations at once, you'd instead do something like:
EDIT: Or, better yet, we just default to searching the Composer-configured location, plus core. That's the principle of least surprise. Callers can narrow it down:
Comment #73
phenaproximaDrupal CMS could use this, actually. Our installer scans for site templates, which are recipes -- if core gave us this API, we would use it instead of our home-grown version.
Comment #74
phenaproximaComment #75
nedjoWow, thanks for giving attention to this issue, you've made a lot of great refinements here.
I don't see that this version addresses the points I raised in #63 and expanded on in #64. The two concrete use cases I mentioned there and in #51 are:
Finderto limit results to already-applied recipes.More generally, having access to the Symfony
Finder's (standard, well understood) methods would make ours a lot more flexible and powerful.Which we could do simply by making the
$finderproperty public rather than private.With that change, this would work:
Thoughts?
Comment #76
phenaproximaI thought about doing that, but initially held off because I wasn't sure why it would be needed.
But, I think you've convinced me that it'd be safe, and useful in advanced cases, to expose the underlying finder as a
public readonlyproperty. For a basic scan of recipes in common locations, just instantiating the recipe finder and iterating over it will do the trick; for extra filtering, you can configure$recipe_finder->finderbefore traversing it. I think that's fine.Comment #77
phenaproximaCool. If you're happy with this approach, then I think you could RTBC this since the v2 MR is pretty much my take on it from top to bottom. :)
Comment #78
nedjoGreat work, thoroughly refined and improved from top to bottom while retaining everything relevant the previous version did, this is ready to go :)
I've taken a pass at updating the draft release notes.
Comment #79
nedjoComment #81
phenaproximaIt occurs to me that we could extend Symfony's Finder if we want to remove the
$finder->finderindirection layer. We could still have exactly the same external API, since a generator (\Generator) is an implementation ofIterator, and therefore allowed by PHP's covariance rules.Implemented, but needs another round of review.
Comment #82
nedjoLooks great. The
::directories(),::depth(), and::name()handling is particularly nice.Updating the draft release notes again. I've left a few minor comments on the PR.
Comment #83
nedjoThe comments I left have all been resolved. Putting back to RTBC.
Comment #84
alexpottWe still need a change record on this one. Thanks @thejimbirch for requesting one :)
Comment #85
alexpottComment #86
phenaproximaThanks @nedjo!
Comment #87
alexpottCommitted and pushed 233ec1d96a1 to main. Thanks!
Unfortunately we're in commit freeze for 11.x and 12.0.x so this is going to have to wait to 12.1 for this new feature to land in core.
Comment #90
nedjoGreat, thanks!
Adding draft release notes snippet.
Comment #91
quietone commentedI don't see a review of the change record for this issue. I have updated the issue summary for that task.
The change records itself is verbose, for adding a 'simple class'. It reads like documentation that should be in the code not a change records. And sadly, I wonder if AI was used to create it.
The purpose of a change record is to announce a change and to explain the impact of the change and what action they should take.
Step 7 of Write a change record for a Drupal core issue show how concise a change record should be.
Comment #92
thejimbirch commentedComment #93
thejimbirch commentedUpdated the Release notes snippet and the change record, removing verbosity and the comparison with ExtensionDiscovery.
I tried to take the approach of here is the new capability, here are the default behaviors, and here is why you care.
Comment #94
nedjo@quietone: Thanks for the links to documentation on change records. Although I've contributed to Drupal for more than 20 years, this is actually the first time I've drafted a core change record. Thanks @thejimbirch, nice job reworking what I'd drafted.
Well, I can clear up that doubt. No, no AI was used. If it had been, I'd hope it would go without saying, I would have noted as much. As it happens, I choose to avoid AI wherever feasible.
I've been thought thorough before and even wordy, but artificial? That's a first ;)
Comment #95
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #96
alexpottThanks @thejimbirch - I've reviewed the changes and they look good - I think we can call this done.
Comment #98
quietone commented@nedjo, your welcome. Congratulations on your first core change record! They get easier to write with practice. I look forward to your next one. I am pleased you did not take offense at my suggestion that AI was used. I see too much of AI verbosity in the core queue that I made an assumption. I'll take more care in the future.
Cheers
Comment #99
nedjo@quietone Thanks! Indeed, sorting the human from the machine is already a daily challenge. Your perceptive and thoughtful work throughout core issue queues does not go unnoticed.