- Issue created by @wim leers
- Status changed to Postponed
over 1 year ago 3:39pm 11 May 2023 - ๐บ๐ธUnited States tedbow Ithaca, NY, USA
In ๐ Add new setting for how unattended updates will be run Fixed we will probably change to only showing the cached results on the status report page. So then this would not affect the page load
Once that issue is fixed can re-open this issue to test if it is still a problem. I think it will not be and we can just close the issue.
- ๐บ๐ธUnited States tedbow Ithaca, NY, USA
actually ๐ Add new setting for how unattended updates will be run Fixed is very big so lets just do this after that issue is done.
- Status changed to Active
over 1 year ago 5:55pm 5 June 2023 - ๐ฎ๐ณIndia omkar.podey
omkar.podey โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia omkar.podey
running a kernel test gives me
total time package_manager.validator.environment_support =>>> 0.00011515617370605 total time package_manager.validator.composer =>>> 0.47905015945435 total time package_manager.validator.disk_space =>>> 0.00065398216247559 total time package_manager.validator.file_system =>>> 0.0002140998840332 total time package_manager.validator.multisite =>>> 8.9883804321289E-5 total time package_manager.validator.symlink =>>> 0.013756036758423 total time package_manager.validator.stage_not_in_active =>>> 0.00015902519226074 total time package_manager.validator.base_requirements_fulfilled =>>> 0.00034904479980469 total time package_manager.validator.pending_updates =>>> 0.17668294906616 total time package_manager.validator.lock_file =>>> 0.00026702880859375 total time package_manager.validator.allowed_scaffold_packages =>>> 0.28983497619629 total time package_manager.validator.staged_database_updates =>>> 0.00043702125549316 total time package_manager.validator.settings =>>> 9.8943710327148E-5 total time Drupal\package_manager\Validator\RsyncValidator =>>> 0.00078988075256348 total time package_manager.validator.composer_plugins =>>> 0.24100685119629 total time package_manager.validator.patches =>>> 0.4860999584198 total time package_manager.validator.php_extensions =>>> 0.00017690658569336 total time package_manager.validator.php_extensions =>>> 0.00015687942504883
the validators that stand out
- package_manager.validator.composer
- package_manager.validator.allowed_scaffold_packages
- package_manager.validator.composer_plugins
- package_manager.validator.patches
- ๐ฎ๐ณIndia omkar.podey
from a build test
total time package_manager.validator.environment_support =>>> 0.00042605400085449 total time package_manager.validator.composer =>>> 0.62173891067505 total time package_manager.validator.disk_space =>>> 0.00076508522033691 total time package_manager.validator.file_system =>>> 0.00023698806762695 total time package_manager.validator.multisite =>>> 0.00013208389282227 total time package_manager.validator.symlink =>>> 4.5157771110535 total time package_manager.validator.stage_not_in_active =>>> 0.00046586990356445 total time package_manager.validator.base_requirements_fulfilled =>>> 0.00059890747070312 total time automatic_updates.cron_frequency_validator =>>> 0.00032591819763184 total time Drupal\automatic_updates\Validator\AutomatedCronDisabledValidator =>>> 0.0001530647277832 total time automatic_updates.validator.version_policy =>>> 0.7344229221344 total time automatic_updates.validator.cron_server =>>> 9.5844268798828E-5 total time package_manager.validator.pending_updates =>>> 0.011720895767212 total time package_manager.validator.lock_file =>>> 0.00018596649169922 total time package_manager.validator.allowed_scaffold_packages =>>> 0.14549493789673 total time package_manager.validator.staged_database_updates =>>> 0.00029420852661133 total time package_manager.validator.settings =>>> 0.00016403198242188 total time Drupal\package_manager\Validator\RsyncValidator =>>> 0.00024795532226562 total time package_manager.validator.composer_plugins =>>> 0.30691409111023 total time package_manager.validator.patches =>>> 0.63482904434204 total time package_manager.validator.php_extensions =>>> 0.00059890747070312 total time package_manager.validator.php_extensions =>>> 0.00015783309936523
- the validators that stand out
- package_manager.validator.composer
- package_manager.validator.symlink
- automatic_updates.validator.version_policy
- package_manager.validator.composer_plugins
- package_manager.validator.patches
- ๐บ๐ธUnited States phenaproxima Massachusetts
Crediting Omkar for the profiling.
- ๐ฎ๐ณIndia omkar.podey
the code i used to get results by modifying
\Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch
if ($event_name == StatusCheckEvent::class) { if (array_key_exists('service', $definition)) { $name = $definition['service'][0]; $time = microtime(TRUE); file_put_contents('/Users/omkar.podey/www/auto_updates_dev/sites/test.txt', "total time $name =>>> ", FILE_APPEND); } } call_user_func($definition['callable'], $event, $event_name, $this); if ($event_name == StatusCheckEvent::class) { if (array_key_exists('service', $definition)) { file_put_contents('/Users/omkar.podey/www/auto_updates_dev/sites/test.txt', microtime(TRUE) - $time . "\n", FILE_APPEND); } }
- Open on Drupal.org โCore: 10.1.x + Environment: PHP 8.1 & MySQL 8last update
over 1 year ago Not currently mergeable. - @tedbow opened merge request.
- last update
over 1 year ago 783 pass, 3 fail - ๐บ๐ธUnited States tedbow Ithaca, NY, USA
I pushed a start. We will need tests.
I think we should the profiling but in any case I don't think we should run the status checks unless they click the link.
In most cases there should be some results. If not then it probably means they don't have cron or the console command running often enough
- Status changed to Needs work
over 1 year ago 8:54pm 8 June 2023 - Assigned to omkar.podey
- last update
over 1 year ago 785 pass, 3 fail - last update
over 1 year ago 800 pass - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 800 pass - Status changed to Needs review
over 1 year ago 10:42am 12 June 2023 - ๐ฎ๐ณIndia omkar.podey
I can't login into drupal code the @todo
// @todo Link to the documentation on how to set up unattended updates // via the terminal in https://drupal.org/i/3362695.
I don't think there is a point unless we have documentation and right now we don't. ๐ Create documentation for using the auto-update terminal command Active
- Status changed to Needs work
over 1 year ago 10:48am 12 June 2023 - last update
over 1 year ago 800 pass - last update
over 1 year ago 800 pass - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 11:27am 12 June 2023 - Assigned to omkar.podey
- Status changed to Needs work
over 1 year ago 3:57pm 12 June 2023 - ๐บ๐ธUnited States tedbow Ithaca, NY, USA
Looking good! Needs Work for MR comments
- last update
over 1 year ago 794 pass, 1 fail - last update
over 1 year ago 794 pass, 1 fail - last update
over 1 year ago 794 pass, 2 fail - ๐ฎ๐ณIndia omkar.podey
Still fails as the status can't be fetched
The project 'drupal' can not be updated because its status is not-fetched
- Issue was unassigned.
- Status changed to Postponed
over 1 year ago 12:57pm 15 June 2023 - ๐ฎ๐ณIndia omkar.podey
Since the cron updates implementation will change significantly in ๐ For web server dependent unattended updates run the entire life cycle in a separate process that will not be affected by hosting time limits Fixed