I can NOT reproduce this with core and webform alone.
Investigating.
Tried to workaround by deleting mentioned drush.services.yml.
Also token and symfony_mailer trigger this.
Pathauto triggers the same bug:
$ drush -vvv updb
[preflight] Config paths: vendor/drush/drush/drush.yml,drush/drush.yml
[preflight] Alias paths: web/drush/sites,drush/sites
[preflight] Commandfile search paths: vendor/drush/drush/src,drush
[info] Starting bootstrap to full [0.53 sec, 10.74 MB]
[info] Drush bootstrap phase 5 [0.53 sec, 10.74 MB]
[info] Try to validate bootstrap phase 5 [0.53 sec, 10.74 MB]
[info] Try to validate bootstrap phase 5 [0.53 sec, 10.75 MB]
[info] Try to bootstrap at phase 5 [0.53 sec, 10.75 MB]
[info] Drush bootstrap phase: bootstrapDrupalRoot() [0.53 sec, 10.75 MB]
[info] Change working directory to web [0.53 sec, 10.75 MB]
[info] Initialized Drupal 10.3.0 root directory at web [0.53 sec, 10.85 MB]
[info] Try to validate bootstrap phase 5 [0.53 sec, 10.85 MB]
[info] Try to bootstrap at phase 5 [0.55 sec, 11.31 MB]
[info] Drush bootstrap phase: bootstrapDrupalSite() [0.55 sec, 11.31 MB]
[debug] Could not find a Drush config file at sites/default/drush.yml. [0.56 sec, 11.49 MB]
[info] Initialized Drupal site localhost:9999 at sites/default [0.56 sec, 11.49 MB]
[info] Try to validate bootstrap phase 5 [0.56 sec, 11.49 MB]
[info] Try to bootstrap at phase 5 [0.56 sec, 11.49 MB]
[info] Drush bootstrap phase: bootstrapDrupalConfiguration() [0.56 sec, 11.49 MB]
[info] Try to validate bootstrap phase 5 [0.6 sec, 11.69 MB]
[info] Try to bootstrap at phase 5 [0.66 sec, 12.96 MB]
[info] Drush bootstrap phase: bootstrapDrupalDatabase() [0.66 sec, 12.96 MB]
[info] Successfully connected to the Drupal database. [0.66 sec, 12.96 MB]
[info] Try to validate bootstrap phase 5 [0.66 sec, 12.96 MB]
[info] Try to bootstrap at phase 5 [0.66 sec, 12.96 MB]
[info] Drush bootstrap phase: bootstrapDrupalFull() [0.66 sec, 12.96 MB]
[debug] Start bootstrap of the Drupal Kernel. [0.66 sec, 12.96 MB]
[debug] Get container builder [0.93 sec, 15.38 MB]
[debug] Finished bootstrap of the Drupal Kernel. [2.05 sec, 43.42 MB]
[debug] Loading drupal module drush commands & etc. [2.05 sec, 43.42 MB]
[debug] Found drush.services.yml for token Drush commands [2.07 sec, 43.59 MB]
[debug] Found drush.services.yml for webform Drush commands [2.08 sec, 43.59 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeCommands [3.35 sec, 60.96 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeCommentsCommands [3.35 sec, 60.97 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeSessionsCommands [3.35 sec, 60.97 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeUserFieldsCommands [3.35 sec, 60.97 MB]
[debug] Add a commandfile class: Drush\Drupal\Commands\sql\SanitizeUserTableCommands [3.36 sec, 60.98 MB]
[debug] Add a commandfile class: Drupal\config_actions\Commands\ConfigActionsCommands [3.36 sec, 60.98 MB]
[debug] Add a commandfile class: Drupal\default_content\Commands\DefaultContentCommands [3.36 sec, 60.99 MB]
[debug] Add a commandfile class: Drupal\entity_reference_revisions\Commands\EntityReferenceRevisionsCommands [3.37 sec, 61 MB]
[debug] Add a commandfile class: Drupal\l10n_tools\Commands\L10nToolsCommands [3.39 sec, 61 MB]
[debug] Add a commandfile class: Drupal\smart_date\Commands\SmartDateDrushCommands [3.39 sec, 61.01 MB]
[debug] Add a commandfile class: Drupal\symfony_mailer\Commands\MailerCommands [3.39 sec, 61.02 MB]
[debug] Add a commandfile class: Drupal\token\Commands\TokenCommands [3.39 sec, 61.02 MB]
[debug] Add a commandfile class: Drupal\webform\Commands\WebformSubmissionCommands [3.4 sec, 61.02 MB]
[debug] Add a commandfile class: Drupal\webform\Commands\WebformLibrariesCommands [3.4 sec, 61.06 MB]
[debug] Add a commandfile class: Drupal\webform\Commands\WebformUtilityCommands [3.41 sec, 61.07 MB]
[debug] Add a commandfile class: Drupal\webform\Commands\WebformDevelCommands [3.41 sec, 61.08 MB]
[debug] Add a commandfile class: Drupal\webform\Commands\WebformSanitizeSubmissionsCommands [3.41 sec, 61.09 MB]
[debug] Add a commandfile class: Drupal\pathauto\Commands\PathautoCommands [3.41 sec, 61.09 MB]
"""
#0 web/core/lib/Drupal/Core/Cache/VariationCache.php(242): Drupal\Core\Cache\Context\CacheContextsManager->convertTokensToKeys()\n
#1 web/core/lib/Drupal/Core/Cache/VariationCache.php(173): Drupal\Core\Cache\VariationCache->createCacheIdFast()\n
#2 web/core/lib/Drupal/Core/Cache/VariationCache.php(35): Drupal\Core\Cache\VariationCache->getRedirectChain()\n
#3 web/core/lib/Drupal/Core/Session/AccessPolicyProcessor.php(85): Drupal\Core\Cache\VariationCache->get()\n
#4 web/core/lib/Drupal/Core/Session/PermissionsHashGenerator.php(126): Drupal\Core\Session\AccessPolicyProcessor->processAccessPolicies()\n
#5 web/core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php(53): Drupal\Core\Session\PermissionsHashGenerator->getCacheableMetadata()\n
#6 web/core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php(189): Drupal\Core\Cache\Context\AccountPermissionsCacheContext->getCacheableMetadata()\n
#7 web/core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php(115): Drupal\Core\Cache\Context\CacheContextsManager->optimizeTokens()\n
#8 web/core/lib/Drupal/Core/Cache/VariationCache.php(219): Drupal\Core\Cache\Context\CacheContextsManager->convertTokensToKeys()\n
#9 web/core/lib/Drupal/Core/Cache/VariationCache.php(57): Drupal\Core\Cache\VariationCache->createCacheId()\n
#10 web/core/lib/Drupal/Core/Session/AccessPolicyProcessor.php(137): Drupal\Core\Cache\VariationCache->set()\n
#11 web/core/lib/Drupal/Core/Session/PermissionsHashGenerator.php(126): Drupal\Core\Session\AccessPolicyProcessor->processAccessPolicies()\n
#12 web/core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php(53): Drupal\Core\Session\PermissionsHashGenerator->getCacheableMetadata()\n
#13 web/core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php(189): Drupal\Core\Cache\Context\AccountPermissionsCacheContext->getCacheableMetadata()\n
#14 web/core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php(115): Drupal\Core\Cache\Context\CacheContextsManager->optimizeTokens()\n
#15 web/core/lib/Drupal/Core/Cache/VariationCache.php(219): Drupal\Core\Cache\Context\CacheContextsManager->convertTokensToKeys()\n
#16 web/core/lib/Drupal/Core/Cache/VariationCache.php(57): Drupal\Core\Cache\VariationCache->createCacheId()\n
#17 web/core/lib/Drupal/Core/Session/AccessPolicyProcessor.php(137): Drupal\Core\Cache\VariationCache->set()\n
#18 web/core/lib/Drupal/Core/Session/PermissionsHashGenerator.php(126): Drupal\Core\Session\AccessPolicyProcessor->processAccessPolicies()\n
#19 web/core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php(53): Drupal\Core\Session\PermissionsHashGenerator->getCacheableMetadata()\n
#20 web/core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php(189): Drupal\Core\Cache\Context\AccountPermissionsCacheContext->getCacheableMetadata()\n
#21 web/core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php(115): Drupal\Core\Cache\Context\CacheContextsManager->optimizeTokens()\n
#22 web/core/lib/Drupal/Core/Cache/VariationCache.php(219): Drupal\Core\Cache\Context\CacheContextsManager->convertTokensToKeys()\n
#23 web/core/lib/Drupal/Core/Cache/VariationCache.php(57): Drupal\Core\Cache\VariationCache->createCacheId()\n
#24 web/core/lib/Drupal/Core/Session/AccessPolicyProcessor.php(137): Drupal\Core\Cache\VariationCache->set()\n
#25 web/core/lib/Drupal/Core/Session/PermissionChecker.php(23): Drupal\Core\Session\AccessPolicyProcessor->processAccessPolicies()\n
#26 web/core/lib/Drupal/Core/Session/UserSession.php(129): Drupal\Core\Session\PermissionChecker->hasPermission()\n
#27 web/core/lib/Drupal/Core/Session/AccountProxy.php(121): Drupal\Core\Session\UserSession->hasPermission()\n
#28 web/core/modules/user/src/Plugin/LanguageNegotiation/LanguageNegotiationUserAdmin.php(106): Drupal\Core\Session\AccountProxy->hasPermission()\n
#29 web/core/modules/language/src/LanguageNegotiator.php(197): Drupal\user\Plugin\LanguageNegotiation\LanguageNegotiationUserAdmin->getLangcode()\n
#30 web/core/modules/language/src/LanguageNegotiator.php(137): Drupal\language\LanguageNegotiator->negotiateLanguage()\n
#31 web/core/modules/language/src/ConfigurableLanguageManager.php(218): Drupal\language\LanguageNegotiator->initializeType()\n
#32 web/core/lib/Drupal/Core/Menu/LocalActionManager.php(141): Drupal\language\ConfigurableLanguageManager->getCurrentLanguage()\n
#33 [internal function]: Drupal\Core\Menu\LocalActionManager->__construct()\n
#34 vendor/symfony/dependency-injection/ContainerBuilder.php(1140): ReflectionClass->newInstanceArgs()\n
#35 vendor/symfony/dependency-injection/ContainerBuilder.php(586): Symfony\Component\DependencyInjection\ContainerBuilder->createService()\n
#36 vendor/symfony/dependency-injection/ContainerBuilder.php(1258): Symfony\Component\DependencyInjection\ContainerBuilder->doGet()\n
#37 vendor/symfony/dependency-injection/ContainerBuilder.php(1210): Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices()\n
#38 vendor/symfony/dependency-injection/ContainerBuilder.php(1673): Symfony\Component\DependencyInjection\ContainerBuilder->doResolveServices()\n
#39 vendor/symfony/dependency-injection/ContainerBuilder.php(1166): Symfony\Component\DependencyInjection\ContainerBuilder->callMethod()\n
#40 vendor/symfony/dependency-injection/ContainerBuilder.php(586): Symfony\Component\DependencyInjection\ContainerBuilder->createService()\n
#41 vendor/symfony/dependency-injection/ContainerBuilder.php(531): Symfony\Component\DependencyInjection\ContainerBuilder->doGet()\n
#42 vendor/drush/drush/src/Commands/core/CacheCommands.php(62): Symfony\Component\DependencyInjection\ContainerBuilder->get()\n
#43 vendor/drush/drush/src/Runtime/ServiceManager.php(329): Drush\Commands\core\CacheCommands::create()\n
#44 vendor/drush/drush/src/Boot/DrupalBoot8.php(305): Drush\Runtime\ServiceManager->instantiateServices()\n
#45 vendor/drush/drush/src/Boot/DrupalBoot8.php(233): Drush\Boot\DrupalBoot8->addDrupalModuleDrushCommands()\n
#46 vendor/drush/drush/src/Boot/BootstrapManager.php(236): Drush\Boot\DrupalBoot8->bootstrapDrupalFull()\n
#47 vendor/drush/drush/src/Boot/BootstrapManager.php(377): Drush\Boot\BootstrapManager->doBootstrap()\n
#48 vendor/drush/drush/src/Boot/BootstrapManager.php(329): Drush\Boot\BootstrapManager->bootstrapToPhaseIndex()\n
#49 vendor/drush/drush/src/Boot/BootstrapHook.php(36): Drush\Boot\BootstrapManager->bootstrapToPhase()\n
#50 vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(44): Drush\Boot\BootstrapHook->initialize()\n
#51 vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(36): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->doInitializeHook()\n
#52 vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(29): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->callInitializeHook()\n
#53 vendor/consolidation/annotated-command/src/CommandProcessor.php(145): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->initialize()\n
#54 vendor/consolidation/annotated-command/src/AnnotatedCommand.php(376): Consolidation\AnnotatedCommand\CommandProcessor->initializeHook()\n
#55 vendor/symfony/console/Command/Command.php(292): Consolidation\AnnotatedCommand\AnnotatedCommand->initialize()\n
#56 vendor/symfony/console/Application.php(1096): Symfony\Component\Console\Command\Command->run()\n
#57 vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()\n
#58 vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun()\n
#59 vendor/drush/drush/src/Runtime/Runtime.php(110): Symfony\Component\Console\Application->run()\n
#60 vendor/drush/drush/src/Runtime/Runtime.php(40): Drush\Runtime\Runtime->doRun()\n
#61 vendor/drush/drush/drush.php(139): Drush\Runtime\Runtime->run()\n
#62 vendor/drush/drush/drush(4): require('...')\n
#63 vendor/bin/drush(119): include('...')\n
#64 {main}
"""
After hunting down the recursion set a trap:
// \Drupal\Core\Cache\Context\CacheContextsManager::convertTokensToKeys
public function convertTokensToKeys(array $context_tokens) {
static $i=0;
$i++;
if ($i > 10) {
dd((new \Exception())->getTraceAsString());
}
Yielding:
$ drush -vvv updb
[preflight] Config paths: vendor/drush/drush/drush.yml,drush/drush.yml
[preflight] Alias paths: web/drush/sites,drush/sites
[preflight] Commandfile search paths: vendor/drush/drush/src,drush
[info] Starting bootstrap to full [0.73 sec, 10.74 MB]
[info] Drush bootstrap phase 5 [0.73 sec, 10.74 MB]
[info] Try to validate bootstrap phase 5 [0.73 sec, 10.75 MB]
[info] Try to validate bootstrap phase 5 [0.73 sec, 10.75 MB]
[info] Try to bootstrap at phase 5 [0.73 sec, 10.75 MB]
[info] Drush bootstrap phase: bootstrapDrupalRoot() [0.73 sec, 10.75 MB]
[info] Change working directory to web [0.73 sec, 10.75 MB]
[info] Initialized Drupal 10.3.0 root directory at web [0.73 sec, 10.85 MB]
[info] Try to validate bootstrap phase 5 [0.73 sec, 10.85 MB]
[info] Try to bootstrap at phase 5 [0.74 sec, 11.31 MB]
[info] Drush bootstrap phase: bootstrapDrupalSite() [0.74 sec, 11.31 MB]
[debug] Could not find a Drush config file at sites/default/drush.yml. [0.74 sec, 11.49 MB]
[info] Initialized Drupal site localhost:9999 at sites/default [0.74 sec, 11.49 MB]
[info] Try to validate bootstrap phase 5 [0.74 sec, 11.49 MB]
[info] Try to bootstrap at phase 5 [0.74 sec, 11.49 MB]
[info] Drush bootstrap phase: bootstrapDrupalConfiguration() [0.74 sec, 11.49 MB]
[info] Try to validate bootstrap phase 5 [0.74 sec, 11.69 MB]
[info] Try to bootstrap at phase 5 [0.76 sec, 12.96 MB]
[info] Drush bootstrap phase: bootstrapDrupalDatabase() [0.76 sec, 12.96 MB]
[info] Successfully connected to the Drupal database. [0.76 sec, 12.96 MB]
[info] Try to validate bootstrap phase 5 [0.76 sec, 12.96 MB]
[info] Try to bootstrap at phase 5 [0.76 sec, 12.96 MB]
[info] Drush bootstrap phase: bootstrapDrupalFull() [0.76 sec, 12.96 MB]
[debug] Start bootstrap of the Drupal Kernel. [0.76 sec, 12.96 MB]
[debug] Get container builder [0.85 sec, 15.38 MB]
[debug] Finished bootstrap of the Drupal Kernel. [1.23 sec, 43.42 MB]
[debug] Loading drupal module drush commands & etc. [1.23 sec, 43.42 MB]
[debug] Found drush.services.yml for token Drush commands [1.23 sec, 43.59 MB]
[debug] Found drush.services.yml for webform Drush commands [1.23 sec, 43.59 MB]
"""
#0 web/core/lib/Drupal/Core/Cache/VariationCache.php(242): Drupal\Core\Cache\Context\CacheContextsManager->convertTokensToKeys()\n
#1 web/core/lib/Drupal/Core/Cache/VariationCache.php(173): Drupal\Core\Cache\VariationCache->createCacheIdFast()\n
#2 web/core/lib/Drupal/Core/Cache/VariationCache.php(35): Drupal\Core\Cache\VariationCache->getRedirectChain()\n
#3 web/core/lib/Drupal/Core/Session/AccessPolicyProcessor.php(85): Drupal\Core\Cache\VariationCache->get()\n
#4 web/core/lib/Drupal/Core/Session/PermissionsHashGenerator.php(126): Drupal\Core\Session\AccessPolicyProcessor->processAccessPolicies()\n
#5 web/core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php(53): Drupal\Core\Session\PermissionsHashGenerator->getCacheableMetadata()\n
#6 web/core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php(189): Drupal\Core\Cache\Context\AccountPermissionsCacheContext->getCacheableMetadata()\n
#7 web/core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php(115): Drupal\Core\Cache\Context\CacheContextsManager->optimizeTokens()\n
#8 web/core/lib/Drupal/Core/Cache/VariationCache.php(219): Drupal\Core\Cache\Context\CacheContextsManager->convertTokensToKeys()\n
#9 web/core/lib/Drupal/Core/Cache/VariationCache.php(57): Drupal\Core\Cache\VariationCache->createCacheId()\n
#10 web/core/lib/Drupal/Core/Session/AccessPolicyProcessor.php(137): Drupal\Core\Cache\VariationCache->set()\n
#11 web/core/lib/Drupal/Core/Session/PermissionsHashGenerator.php(126): Drupal\Core\Session\AccessPolicyProcessor->processAccessPolicies()\n
#12 web/core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php(53): Drupal\Core\Session\PermissionsHashGenerator->getCacheableMetadata()\n
#13 web/core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php(189): Drupal\Core\Cache\Context\AccountPermissionsCacheContext->getCacheableMetadata()\n
#14 web/core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php(115): Drupal\Core\Cache\Context\CacheContextsManager->optimizeTokens()\n
#15 web/core/lib/Drupal/Core/Cache/VariationCache.php(219): Drupal\Core\Cache\Context\CacheContextsManager->convertTokensToKeys()\n
#16 web/core/lib/Drupal/Core/Cache/VariationCache.php(57): Drupal\Core\Cache\VariationCache->createCacheId()\n
#17 web/core/lib/Drupal/Core/Session/AccessPolicyProcessor.php(137): Drupal\Core\Cache\VariationCache->set()\n
#18 web/core/lib/Drupal/Core/Session/PermissionsHashGenerator.php(126): Drupal\Core\Session\AccessPolicyProcessor->processAccessPolicies()\n
#19 web/core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php(53): Drupal\Core\Session\PermissionsHashGenerator->getCacheableMetadata()\n
#20 web/core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php(189): Drupal\Core\Cache\Context\AccountPermissionsCacheContext->getCacheableMetadata()\n
#21 web/core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php(115): Drupal\Core\Cache\Context\CacheContextsManager->optimizeTokens()\n
#22 web/core/lib/Drupal/Core/Cache/VariationCache.php(219): Drupal\Core\Cache\Context\CacheContextsManager->convertTokensToKeys()\n
#23 web/core/lib/Drupal/Core/Cache/VariationCache.php(57): Drupal\Core\Cache\VariationCache->createCacheId()\n
#24 web/core/lib/Drupal/Core/Session/AccessPolicyProcessor.php(137): Drupal\Core\Cache\VariationCache->set()\n
#25 web/core/lib/Drupal/Core/Session/PermissionChecker.php(23): Drupal\Core\Session\AccessPolicyProcessor->processAccessPolicies()\n
#26 web/core/lib/Drupal/Core/Session/UserSession.php(129): Drupal\Core\Session\PermissionChecker->hasPermission()\n
#27 web/core/lib/Drupal/Core/Session/AccountProxy.php(121): Drupal\Core\Session\UserSession->hasPermission()\n
#28 web/modules/contrib/webform/src/WebformHelpManager.php(1555): Drupal\Core\Session\AccountProxy->hasPermission()\n
#29 web/modules/contrib/webform/src/WebformHelpManager.php(146): Drupal\webform\WebformHelpManager->initHelp()\n
#30 [internal function]: Drupal\webform\WebformHelpManager->__construct()\n
#31 vendor/symfony/dependency-injection/ContainerBuilder.php(1140): ReflectionClass->newInstanceArgs()\n
#32 vendor/symfony/dependency-injection/ContainerBuilder.php(586): Symfony\Component\DependencyInjection\ContainerBuilder->createService()\n
#33 vendor/symfony/dependency-injection/ContainerBuilder.php(531): Symfony\Component\DependencyInjection\ContainerBuilder->doGet()\n
#34 vendor/drush/drush/src/Runtime/LegacyServiceInstantiator.php(288): Symfony\Component\DependencyInjection\ContainerBuilder->get()\n
#35 vendor/drush/drush/src/Runtime/LegacyServiceInstantiator.php(253): Drush\Runtime\LegacyServiceInstantiator->resolveFromContainer()\n
#36 [internal function]: Drush\Runtime\LegacyServiceInstantiator->resolveArgument()\n
#37 vendor/drush/drush/src/Runtime/LegacyServiceInstantiator.php(223): array_map()\n
#38 vendor/drush/drush/src/Runtime/LegacyServiceInstantiator.php(193): Drush\Runtime\LegacyServiceInstantiator->resolveArguments()\n
#39 vendor/drush/drush/src/Runtime/LegacyServiceInstantiator.php(174): Drush\Runtime\LegacyServiceInstantiator->instantiateObject()\n
#40 vendor/drush/drush/src/Runtime/LegacyServiceInstantiator.php(131): Drush\Runtime\LegacyServiceInstantiator->create()\n
#41 vendor/drush/drush/src/Runtime/LegacyServiceInstantiator.php(60): Drush\Runtime\LegacyServiceInstantiator->instantiateServices()\n
#42 vendor/drush/drush/src/Boot/DrupalBoot8.php(257): Drush\Runtime\LegacyServiceInstantiator->loadServiceFiles()\n
#43 vendor/drush/drush/src/Boot/DrupalBoot8.php(233): Drush\Boot\DrupalBoot8->addDrupalModuleDrushCommands()\n
#44 vendor/drush/drush/src/Boot/BootstrapManager.php(236): Drush\Boot\DrupalBoot8->bootstrapDrupalFull()\n
#45 vendor/drush/drush/src/Boot/BootstrapManager.php(377): Drush\Boot\BootstrapManager->doBootstrap()\n
#46 vendor/drush/drush/src/Boot/BootstrapManager.php(329): Drush\Boot\BootstrapManager->bootstrapToPhaseIndex()\n
#47 vendor/drush/drush/src/Boot/BootstrapHook.php(36): Drush\Boot\BootstrapManager->bootstrapToPhase()\n
#48 vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(44): Drush\Boot\BootstrapHook->initialize()\n
#49 vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(36): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->doInitializeHook()\n
#50 vendor/consolidation/annotated-command/src/Hooks/Dispatchers/InitializeHookDispatcher.php(29): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->callInitializeHook()\n
#51 vendor/consolidation/annotated-command/src/CommandProcessor.php(145): Consolidation\AnnotatedCommand\Hooks\Dispatchers\InitializeHookDispatcher->initialize()\n
#52 vendor/consolidation/annotated-command/src/AnnotatedCommand.php(376): Consolidation\AnnotatedCommand\CommandProcessor->initializeHook()\n
#53 vendor/symfony/console/Command/Command.php(292): Consolidation\AnnotatedCommand\AnnotatedCommand->initialize()\n
#54 vendor/symfony/console/Application.php(1096): Symfony\Component\Console\Command\Command->run()\n
#55 vendor/symfony/console/Application.php(324): Symfony\Component\Console\Application->doRunCommand()\n
#56 vendor/symfony/console/Application.php(175): Symfony\Component\Console\Application->doRun()\n
#57 vendor/drush/drush/src/Runtime/Runtime.php(110): Symfony\Component\Console\Application->run()\n
#58 vendor/drush/drush/src/Runtime/Runtime.php(40): Drush\Runtime\Runtime->doRun()\n
#59 vendor/drush/drush/drush.php(139): Drush\Runtime\Runtime->run()\n
#60 vendor/drush/drush/drush(4): require('...')\n
#61 vendor/bin/drush(119): include('...')\n
#62 {main}
"""
geek-merlin → created an issue.
Yop.
Yop.
Ah, i see, the testUnsupportedOperation test is still red. Know how to fix this, but this needs a thorough code comment. Freaky 3-state semantics again...
OK, tests are green, off for today.
So ignore that MR !23, it's MR !24 ftw.
Ups, merge error? The MR seems to be onto 7.x? I guess this issue was re-purposed 7 / 8. Or whatever.
- Added MR with the simplified code to review and test.
- Verified that the patch applies and fixes the issue for me.
Ran into this when a wrong translation made it into prod. Setting critical as of data loss. (If s.o. bikesheds it to major, i won't argue.)
Notes:
- Code concerning Drupal 6 i not needed anymore.
- Which obsoletes #23.
- #27 is obviously a different bug. Please file it as such.
geek-merlin → made their first commit to this issue’s fork.
geek-merlin → created an issue.
Added MR with one commit that adds a language key to the static cache.
It fixes the issue for me and proves that this low-level approach fixes the described behavioral issue.
The proper fix is of course a memory cache backend that handles invalidation too.
geek-merlin → created an issue.
And released, and off:
https://www.drupal.org/project/asset_injector/releases/8.x-2.20 →
Yes, this makes sense.
Adding attributions.
Reviewing MR...
Further analysis shows this must be tackled in this AND the other issue.
It looks like the related issue brings the fix.
geek-merlin → created an issue.
geek-merlin → created an issue.
Also adding a branch combining this with ✨ Make 'folder' option multiple RTBC . Can be ignored for the sake of this issue.
Assuming that potx is still in l.d.o legacy mode according to #3344899-3: Offering to co-maintain Translation template extractor → .
So being super conservitive about the API for now, which should also make the patch trivial to review.
Added hooks for _potx_explore_dir, _potx_process_file, potx_finish_processing, with exactly same signatures.
Which should be enough-for-everyone (tm).
Good idea, but unfortunately:
> Note: GLOB_BRACE is not available on some non GNU systems, like Solaris or Alpine Linux.
Patch applies cleanly to HEAD and does what it announces.
FTR: If this causes regressions, i guess the #states voodoo needs to care for #required too.
At least added some googlefood to find the other ;-)
Ah OK. I used profile 1.x-dev because some time ago i needed a fix from it (ftr: 8cb44eb14177607420435e15b0fd7ad8a7d6e596).
After updatung to 1.10, i can NOT reproduce the issue.
Ah, of course: It's the profile default argument that coughs, because i don't have a profile bundle (i deleted it) but need the profile module installed because i use commerce (yup, i use it without profile integration).
What an entagled spooky action on distance...
geek-merlin → created an issue.
For stores, see related issue.
Attached trivial MR fixes the issue for me.
geek-merlin → created an issue.
Looked a bit deeper into this and found that the logic of #17 is not enough in many cases.
Rolled a MR that is way more robust and fixes the issue for me. Still needs tests though.
#23: Thanks. Nothing that can be reproduced though.
It looks like the patch copied code from entity access handler to page access, which is an entity too, but needs different logic.
Ups, this was in error. Definitely related, likely not identical.
geek-merlin → created an issue.
I've been there before...
Like so.
@Anybody: There is a package for that too: https://packagist.org/packages/geeks4change/composable-inheritance
(Feel free to contact me on another channel if it's useful for you.)
This pushed trivial MR fixes the issue for me.
geek-merlin → created an issue.
@Anybody: No, that's a different party. In simple words: If you add methods to a decorating class, the next decorator can wrap and hide your methods.
I guess you want BundleClasses: https://www.drupal.org/node/3191609 →
;-)
Played this and it looks it needs much more work.
After installing with the commerce module enabled, i get:
Uncaught PHP Exception ArgumentCountError: "Too few arguments to function Drupal\views\EntityViewsData::mapSingleFieldViewsData(), 7 passed in /home/merlin/Code-Incubator/site-c4c-dev/web/modules/contrib/commerce/src/CommerceEntityViewsData.php on line 220 and exactly 8 expected" at /home/merlin/Code-Incubator/site-c4c-dev/web/core/modules/views/src/EntityViewsData.php line 483
Which is because a $data ("all views data") arg was added to mapSingleFieldViewsData method.
- 1) This is a BC break.
- 2) Looking over the code, my gut feeling is that adding this arg makes complex code even more complex and should be done differently.
Related issue was marked as dup of this.
@derek:
Great!
> timezones...
Well, as CxO my chef sometimes allows me to work US-times (west coast) ;-)
@nicrodgers: We have more problems to communicate neither too harsh nor too soft:
📌
Communicate IEF health status and call-to-action on project page
Active
Constructive help appreciated!
I can not reproduce problem a) from the code so will debug what happened in that project. ANd write a failing test.
Reviewed the code and found an issue.
This is a UI change, so needs a ChangeRecord.
Back to fixed.
Thx Derek for the review!
After thoroughly reviewing derek's profile and issue acitity, i see many points for an no points against him being capable and a win for maintainership. Waited some time for other opinions, but none.
So finally: Welcome on board, derek! And the obligatory: With great power comes great responsibility!
Feel free to PM me about stuff here. Also see
📌
Add @dcam as issue gardener
Fixed
.
Do you like to schedule a telcon / vcon to sync expectations?
Let's sync expectations on how to preceed.
Done.
Daring to broaden the issue scope.
@bojanz: Yes, this feels so true. DO you have ideas how the situation can get better?
geek-merlin → created an issue.
geek-merlin → created an issue.
geek-merlin → created an issue.
geek-merlin → created an issue.
geek-merlin → created an issue.
@nicrodgers Thanks for bringing this up!
Short: Thanks a lot, i'm totally buying the first sentence as way better, and have updated the project page accordingly.
Long story: I disagrree with the reasoning, as it is neither inclusive nor respectful nor good friendlyness to NOT talk about problems, wrong actions, or with-great-power-comes-great-responsibility (maybe you can hear it from calin).
That said, the project page is totally the wrong place for that.
Thx a lot!
Thx a lot, this makes a lot of sense.
But code is overly complex. Please use the more idiomatic !empty($form_values['delete'])
According to
#3407407-6: Clarify how to site-upgrade IEF 2.x => 1.x|3.x →
: "Please don't drop D9".
I checked the core usage statistics and yes, there are still many installations on d9, more than i'd have guessed.
Also, dropping D9 currently does not bring us much imho.
I don't see problems with php8.1 though. Even my super conservative centos hosters support it.
Comment
#3407407-8: Clarify how to site-upgrade IEF 2.x => 1.x|3.x →
also states this.
And php8.1 hels us clean up code.
Updating IS accordingly and setting NW.
IEF 2.x got some commits that should not have gotten in, this is one of them. Please update to IEF 3.x.
Updated that issue with guidance for this regression not to happen again.
Closing this as the revert is in 3.x.
#14:
> still like this a lot. Revisiting this after quite some time, my gut feeling is that this must not re-purpose hook_entity_prepare_form, but invent an IEF version of it.
Comment #3364996-15: Parent form entity builders run on IEF resulting in fatal errors → of that issue elaboratest that brilliantly.
Updating title accordingly.
@jonathanshaw
I don't grok it fully but maybe you can describe the exact steps that uncover the problem you describe, the chances that your objection gets into the tests drastically increase.