Account created on 23 February 2007, about 18 years ago
#

Merge Requests

More

Recent comments

🇫🇷France andypost

I think it will be easy to close the issue as fixing comments looks like endless loop

🇫🇷France andypost

curious to compare performance of both methods

🇫🇷France andypost

yep, rector rule + php85 sounds a good fit here

🇫🇷France andypost

Thank you! now deprecated attribute is available for core even on PHP 8.3 - Adopt #[Deprecated] attribute Active

🇫🇷France andypost

Looks it should be simple rector rule as there's only value, type and position are actually used by core as test-only MR showing all is compatible

🇫🇷France andypost

and maybe a middlegroud is to add middleware to append query string when header provided

🇫🇷France andypost

btw that's exactly a place to extend because attachments also should be delivered and merged, and not sure about "ajax_page_state"

🇫🇷France andypost

+1 to #14 it will use seriously less code selecting renderer earlier

btw about messages ...hope it covered with drupal.message since 8.7

🇫🇷France andypost

the only question when we can drop 5.x of it

🇫🇷France andypost

rebased and added snipped

🇫🇷France andypost

btw maybe it's useful to add forward compatibility with 8.5 as we already has testing it via nightly and new array/error functions has polyfills and attributes implemented

🇫🇷France andypost

@quietone thank you, downgraded for it

removed coder from summary

🇫🇷France andypost
cld --from 11.x
+-----------------------+--------+--------------+
| Production Changes    | From   | To           |
+-----------------------+--------+--------------+
| symfony/error-handler | v7.2.5 | v7.3.0-BETA1 |
| symfony/var-dumper    | v7.2.6 | v7.3.0-BETA1 |
+-----------------------+--------+--------------+

+----------------------+--------+--------------+
| Dev Changes          | From   | To           |
+----------------------+--------+--------------+
| drupal/coder         | 8.3.26 | 8.3.29       |
| symfony/browser-kit  | v7.2.4 | v7.3.0-BETA1 |
| symfony/css-selector | v7.2.0 | v7.3.0-BETA1 |
| symfony/dom-crawler  | v7.2.4 | v7.3.0-BETA1 |
| symfony/lock         | v7.2.6 | v7.3.0-BETA1 |
+----------------------+--------+--------------+
🇫🇷France andypost

Added polyfill without usage in 📌 Compatibility with Symfony 7.3 Active but not sure it will be accepted

🇫🇷France andypost

yes, duplicate but I see that root composer and other dependencies are not updated in other issue.

also coder https://www.drupal.org/project/coder/releases/8.3.29

🇫🇷France andypost

andypost made their first commit to this issue’s fork.

🇫🇷France andypost

about #9 - it's the next in a parent meta (step 2) Create new mailer service based on symfony Active - which is not yet started

but for #8 it needs follow-up to discus factory approach but for 11.2 I bet it enough to start with single transport

🇫🇷France andypost

maybe change record could be added here? that's very helpful

🇫🇷France andypost

it needs to decide if 11.2 will be shipped based on Symfony 7.3 or not one test failure in

🇫🇷France andypost

8.3+ unit test fails

---- Drupal\Tests\Core\DependencyInjection\YamlFileLoaderTest ----
Status      Duration Info                                                                               
--------------------------------------------------------------------------------------------------------
Error         0.060s testParseDefinitionsWithProvider                                                
Pass          0.002s testExceptions with data set "_defaults must be an array"                       
Pass          0.001s testExceptions with data set "invalid _defaults key"                            
Pass          0.001s testExceptions with data set "default tags must be an array"                    
Pass          0.001s testExceptions with data set "default tags must have a name"                    
Pass          0.001s testExceptions with data set "default tag name must not be empty"               
Pass          0.001s testExceptions with data set "default tag name must be a string"                
Pass          0.001s testExceptions with data set "default tag attribute must be scalar"             
Pass          0.000s testExceptions with data set "tags must be an array"                            
Pass          0.001s testExceptions with data set "tags must have a name"                            
Pass          0.001s testExceptions with data set "tag name must not be empty"                       
Pass          0.001s testExceptions with data set "tag attribute must be scalar"                     
Pass          0.000s testExceptions with data set "service must be array or @service"                
Pass          0.000s testExceptions with data set "YAML must be valid"                               
Pass          0.001s testExceptions with data set "YAML must have expected keys"                     
Pass          0.001s testExceptions with data set "decorates must be without @"                      
Pass          0.001s ...Exceptions with data set "decorates_on_invalid may not be "null" with quotes"
Pass          0.001s testExceptions with data set "decoration_on_invalid must be valid"              
Log           0.410s *** Process execution output ***                                                
    PHPUnit 11.5.19 by Sebastian Bergmann and contributors.
    
    Runtime:       PHP 8.4.6
    Configuration: /builds/issue/drupal-3523284/core/phpunit.xml.dist
    
    E.................                                                18 / 18 (100%)
    
    Time: 00:00.080, Memory: 6.00 MB
    
    Yaml File Loader (Drupal\Tests\Core\DependencyInjection\YamlFileLoader)
     ✘ Parse definitions with provider
       ┐
       ├ Symfony\Component\DependencyInjection\Exception\InvalidArgumentException: The file "vfs://drupal/modules/example/example.yml" does not contain valid YAML: Unexpected token """ at line 11 (near "arguments: [!tagged_iterator foo.bar]"").
       │
       │ /builds/issue/drupal-3523284/core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php:452
       │ /builds/issue/drupal-3523284/core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php:75
       │ /builds/issue/drupal-3523284/core/tests/Drupal/Tests/Core/DependencyInjection/YamlFileLoaderTest.php:59
       ┴
     ✔ Exceptions with _defaults·must·be·an·array
     ✔ Exceptions with invalid·_defaults·key
     ✔ Exceptions with default·tags·must·be·an·array
     ✔ Exceptions with default·tags·must·have·a·name
     ✔ Exceptions with default·tag·name·must·not·be·empty
     ✔ Exceptions with default·tag·name·must·be·a·string
     ✔ Exceptions with default·tag·attribute·must·be·scalar
     ✔ Exceptions with tags·must·be·an·array
     ✔ Exceptions with tags·must·have·a·name
     ✔ Exceptions with tag·name·must·not·be·empty
     ✔ Exceptions with tag·attribute·must·be·scalar
     ✔ Exceptions with service·must·be·array·or·@service
     ✔ Exceptions with YAML·must·be·valid
     ✔ Exceptions with YAML·must·have·expected·keys
     ✔ Exceptions with decorates·must·be·without·@
     ✔ Exceptions with decorates_on_invalid·may·not·be·"null"·with·quotes
     ✔ Exceptions with decoration_on_invalid·must·be·valid
    
    ERRORS!
    Tests: 18, Assertions: 34, Errors: 1, PHPUnit Deprecations: 2.
🇫🇷France andypost
+----------------------------------+---------+--------------+
| Production Changes               | From    | To           |
+----------------------------------+---------+--------------+
| doctrine/deprecations            | 1.1.3   | 1.1.5        |
| egulias/email-validator          | 4.0.2   | 4.0.4        |
| symfony/console                  | v7.2.0  | v7.3.0-BETA1 |
| symfony/dependency-injection     | v7.2.0  | v7.3.0-BETA1 |
| symfony/error-handler            | v7.2.0  | v7.3.0-BETA1 |
| symfony/event-dispatcher         | v7.2.0  | v7.3.0-BETA1 |
| symfony/filesystem               | v7.2.0  | v7.3.0-BETA1 |
| symfony/finder                   | v7.2.0  | v7.3.0-BETA1 |
| symfony/http-foundation          | v7.2.0  | v7.3.0-BETA1 |
| symfony/http-kernel              | v7.2.0  | v7.3.0-BETA1 |
| symfony/mailer                   | v7.2.0  | v7.3.0-BETA1 |
| symfony/mime                     | v7.2.0  | v7.3.0-BETA1 |
| symfony/polyfill-ctype           | v1.31.0 | v1.32.0      |
| symfony/polyfill-iconv           | v1.31.0 | v1.32.0      |
| symfony/polyfill-intl-grapheme   | v1.31.0 | v1.32.0      |
| symfony/polyfill-intl-idn        | v1.31.0 | v1.32.0      |
| symfony/polyfill-intl-normalizer | v1.31.0 | v1.32.0      |
| symfony/polyfill-mbstring        | v1.31.0 | v1.32.0      |
| symfony/process                  | v7.2.0  | v7.2.5       |
| symfony/psr-http-message-bridge  | v7.2.0  | v7.3.0-BETA1 |
| symfony/routing                  | v7.2.0  | v7.3.0-BETA1 |
| symfony/serializer               | v7.2.0  | v7.3.0-BETA1 |
| symfony/string                   | v7.2.0  | v7.3.0-BETA1 |
| symfony/validator                | v7.2.0  | v7.3.0-BETA1 |
| symfony/var-dumper               | v7.2.0  | v7.3.0-BETA1 |
| symfony/var-exporter             | v7.2.0  | v7.3.0-BETA1 |
| symfony/yaml                     | v7.2.0  | v7.3.0-BETA1 |
+----------------------------------+---------+--------------+

+----------------------+--------+--------------+
| Dev Changes          | From   | To           |
+----------------------+--------+--------------+
| symfony/browser-kit  | v7.2.0 | v7.3.0-BETA1 |
| symfony/css-selector | v7.2.0 | v7.3.0-BETA1 |
| symfony/dom-crawler  | v7.2.0 | v7.3.0-BETA1 |
| symfony/lock         | v7.2.0 | v7.3.0-BETA1 |
+----------------------+--------+--------------+
🇫🇷France andypost

+1 to keep as it still very useful and costs nothing to maintain

🇫🇷France andypost

RTBC++ Nice to see it solved via new interface!

🇫🇷France andypost

it affects performance as instead of variable (expected and documented) we'll get a set of function calls for no reason (each get doing validation and each invalidate of tag)

generally not clear why this method is public at all and moreover not clear why it has no static cache for result now

🇫🇷France andypost

I think next major is a transition from variables to inputs

It will help to secure and validate contributor's ability so variables can be disabled

🇫🇷France andypost

@znerol please add to CR about discovery of the factories as it will be a point of confusion when more then one transport will be declared

🇫🇷France andypost

I find it better to file specific CR as all this changes make sense and disruptive enough to reference for developers, moreover summary is perfect!

🇫🇷France andypost

looks it caused by Mysql upgrade to 8.4 where the plugin is deprecated, now reverted 📌 Switch the default test environment to PHP 8.4 Active

just curious why it does not fire in daily tests

🇫🇷France andypost

with PHP 8.4 we can have setters for the property so swapping of moduleList could cause propagation

🇫🇷France andypost

History module is going to contrib to iterate faster 📌 [meta] Tasks to deprecate the History module Active

🇫🇷France andypost

Not sure it makes sense to pin as desperate chrome release...
It will bring more troubles to update and will use outdated chrome all the time as removal of updates will burden infra, that's why we moved to external image

🇫🇷France andypost

Still needs to fix

       ├   Problem 1                                                              
       ├     - Root composer.json requires drupal/core-recommended * -> satisfiable by drupal/core-recommended[dev-main].
       ├     - drupal/core-recommended dev-main requires sebastian/diff ~5.1.1 -> found sebastian/diff[6.0.2] but it does not match the constraint.
🇫🇷France andypost

Used to run test for 11.x and cherry-picked commit from previous MR (thanks smustgrave for 9.5)

🇫🇷France andypost

I set path repos "canonical": false, according to docs but it sounds magic that it was working before

Root composer.json requires drupal/core 11.x-dev (exact version match), it is satisfiable by drupal/core[11.x-dev] from composer repo (https://repo.packagist.org) but drupal/core[dev-main] from path repo (core) has higher repository priority.

🇫🇷France andypost

@catch thank you, curious how perf tests are executed (I have no access to start'em) and how it vary from 8.3 at the end

🇫🇷France andypost

Fixed jobs - should be green, looks like compsoer is executed from root intentionally to disallow tests to change files...
Maybe it needs follow-up to clean-up the hunk https://git.drupalcode.org/issue/drupal-3418267/-/blob/3418267-meta-supp...

🇫🇷France andypost

8.0.34+ will transition to only bug fixes until 8.0 End-Of-Life (EOL) scheduled for April-2026

So nightly testing is good enough for support https://dev.mysql.com/blog-archive/introducing-mysql-innovation-and-long...

🇫🇷France andypost

As follow-up is nearly ready let's get this one in

🇫🇷France andypost

After last mess with parent child access in Gitlab I find it bad idea to bet on getting artifacts/results from child pipeline

🇫🇷France andypost

Added commit to switch MySQL to 8.4 (LTS) for the default pipeline

Ref https://dev.mysql.com/doc/refman/8.4/en/mysql-releases.html

Note: MySQL 8.0 is a Bugfix series that preceded the LTS release model.

🇫🇷France andypost

@mondrake it looks ready for 11.2 maybe add 11.2.0 release priority label and add change record?

I find it RTBC

🇫🇷France andypost

In start of July first alpha of PHP 8.5 will arrive so no reason to wait

🇫🇷France andypost

andypost made their first commit to this issue’s fork.

🇫🇷France andypost

andypost made their first commit to this issue’s fork.

🇫🇷France andypost

Most of issues last years (starting with node title length) are all about 128 to 256 transition
Database fields mostly also have 256 for text so the remains is easy to check

🇫🇷France andypost

IIRC the reason to keep only latest image is security because distros getting updates and PHP has monthly release cycle, so no reason to bloat storage...

So semver should be local and applicable for nightly somehow

🇫🇷France andypost

Creating a database is a nice nitpick, back to RTBC

🇫🇷France andypost

Great idea to turn app into context! btw the real problem here is the Request object which could be any flavor (Symfony, Swoole, PSR, ...) so runtime or frontend controller must care about converting incoming request into consumable by core

Production build 0.71.5 2024