Commit graph

974 commits

Author SHA1 Message Date
Yiannis Giannelos
46a2d21cf2 Bump wikimedia/parsoid to 0.20.0-a27
Bug: T377532
Depends-On: I52e105c73af84ff3c35852817d2f1c048bd55d24
Change-Id: Ia3770a54ec9a4a1efd13081aaf009a404a1380de
2024-10-21 12:54:08 +02:00
Tim Starling
cba8c23fa4 Update to Shellbox 4.1.0
Bug: T292322
Change-Id: Ic5c188629288a9274bd94a9aa88201d4291c306f
Depends-On: I1863e7bd890861fb23db9f1f7f27e48ddf5f6b69
2024-10-17 17:33:14 +00:00
C. Scott Ananian
84bc630459 Bump wikimedia/parsoid to 0.20.0-a26
Bug: T377287
Depends-On: I65fb4cc696604003de0c5e3adfc62368486df012
Change-Id: I9258983542649a3efd3d1e932f3a7438f5281f05
2024-10-16 04:09:37 -04:00
James D. Forrester
808a9a70c4 Upgrade AtEase from 2.1.0 to 3.0.0
Bug: T376911
Depends-On: I39879b6a9aaef80f6a76bd09b72a97aa48fb8421
Depends-On: Ic3e749daf98742fe390420b7edcad95bde5ab79c
Change-Id: I46edad548e0e2390cf79eec9c68c7cc4c3bf68f1
2024-10-15 16:55:47 +00:00
James D. Forrester
6c2a5c54c0 Upgrade xmp-reader from 0.9.1 to 0.9.2
Depends-On: I3d259aed48aa443c675d44a747de13f3229bb4ec
Change-Id: I0da75004fd5a07f2115b17d17d273917339e4e0f
2024-10-15 10:01:26 -04:00
James D. Forrester
c6aa4b4bd0 Upgrade php-session-serializer from 2.0.1 to 3.0.0
The breaking change is dropped PHP 7.4 support.

Depends-On: Ice6ed4d3fa376a37faae75d11cb81c9221f7f29f
Change-Id: Ib74d84f753bf5230a0e1ab8c7f7f0c664f6ba4ce
2024-10-15 10:00:36 -04:00
Isabelle Hurbain-Palatin
23d29dd08c Bump wikimedia/parsoid to 0.20.0-a25
Bug: T376947
Depends-On: I25fde64bac49b0a2185ff389f0806c66c1cedeec
Change-Id: Ib2ee1f05155aec1c15ac3b86bc9848d2d9b21b2b
2024-10-14 11:07:53 +02:00
Arlo Breault
cbbee42053 Bump wikimedia/parsoid to 0.20.0-a24
Bug: T376443
Depends-On: I8107674964fdfd23b370512bb91a1a2626308953
Change-Id: I8400d8f97012f46e23c4dd173a90f4a78067b0e8
2024-10-07 12:28:13 -04:00
Arlo Breault
d4de81ae05 Bump wikimedia/parsoid to 0.20.0-a23
Bug: T375945
Depends-On: I37b813359b65f0ee3d0e80a087659fcaf6535862
Change-Id: I63ca14ad4d5b2cdbce2fd61c4d6eb544b634bc8d
2024-09-30 15:44:28 -04:00
Subramanya Sastry
cb6fb233b1 Bump wikimedia/parsoid to 0.20.0-a22
Bug: T375423
Depends-On: I5bab259ae4ad88b4817f6cb3ce91542bbe3c664e
Change-Id: Ice0b702a6a9a21280af62a7da6aba62032433224
2024-09-23 15:01:17 -05:00
lwatson
e307e58979 Update OOUI to v0.51.1
Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v0.51.1/History.md

Bug: T374858
Bug: T371201
Bug: T371466
Bug: T373226
Depends-On: I3663e72f4f1dbb6dd0b461b5a2464420937d3ed6
Change-Id: Ic8f80b0db5a08f00d9178163b1fbbb79515c1603
2024-09-19 14:10:51 -04:00
Yiannis Giannelos
652e59b553 Bump wikimedia/parsoid to 0.20.0-a21
Bug: T374749
Depends-On: I5649fad56360695096822035057578a18fbcc8dd
Change-Id: I865afe4157e1b451c3e969267448d5f3a4815501
2024-09-16 14:42:49 +02:00
C. Scott Ananian
04305cb930 Bump wikimedia/parsoid to 0.20.0-a20
Bug: T374356
Change-Id: Ia99943c29657703dac8b1fd54e6eb60834f9a326
Depends-On: Ica4a7269a9fbbe8d453a5d166ff30f82a6627d1d
2024-09-09 16:09:41 -04:00
Alexander Vorwerk
86bbac961e Update symfony/*
Depends-On: I03167c09639491da92d758decfa05918ea0b8af2
Change-Id: I491e014b9286b8679316b757d141189c8ead18ad
2024-09-04 21:34:02 +00:00
Yiannis Giannelos
084f43a6a3 Bump wikimedia/parsoid to 0.20.0-a19
Bug: T373593
Depends-On: I3f013d457fafcebf1651770012c0044a7f1ef3b9
Change-Id: I6674cf31c164005582437568ab8ed3f1ddd51817
2024-09-02 18:39:37 +03:00
jenkins-bot
3bd23512a3 Merge "ResourceLoader: Update wikimedia/minify to 2.8.0" 2024-08-29 08:55:01 +00:00
Isabelle Hurbain-Palatin
378bdb55bb Bump wikimedia/parsoid to 0.20.0-a18
Bug: T373146
Depends-On: I8491c752ee11038d03cd1f272f697d8720133b25
Change-Id: Idc31f947adfc7683b6889b43ae434419751f6caa
2024-08-26 10:28:04 +02:00
Timo Tijhof
512eb521d5 ResourceLoader: Update wikimedia/minify to 2.8.0
https://gerrit.wikimedia.org/g/mediawiki/libs/Minify/+/2.8.0/CHANGELOG.md

Bug: T371938
Depends-On: Ib2f2530bd8df53eafafd74657d0040c8e1173e07
Change-Id: I4cc588e180c51eb854e15f465ebf21b432af122a
2024-08-23 20:56:59 +01:00
Subramanya Sastry
d09dc0729a Bump wikimedia/parsoid to 0.20.0-a17
Bug: T372574
Depends-On: I88dd938e65b22726af4bbb22b14db0c00c76eaeb
Change-Id: I2295c2dc5582fe65e62f4624d0a3e64589dc1020
2024-08-19 08:49:22 -05:00
James D. Forrester
658ea71777 Update composer/semver to 3.4.2
Bug: T370235
Depends-On: Ic4c091c149c445be3f8e4c2970726af095b82865
Change-Id: Id15a4d180a8381fa21e920c0e184f419e7ffa830
2024-08-11 13:12:00 +02:00
James D. Forrester
1b29886a32 build: Update mediawiki/mediawiki-codesniffer to 44.0.0
Change-Id: Ic83ac1282b1b0b414450aa69731a9efcc55db665
2024-08-11 13:08:16 +02:00
jenkins-bot
2bd0e2db3d Merge "ResourceLoader: Update wikimedia/less.php from 5.0.0 to 5.1.1" 2024-08-09 22:06:06 +00:00
Hannah Okwelum
4adf38f734 ResourceLoader: Update wikimedia/less.php from 5.0.0 to 5.1.1
Depends-On: I878d1b0a5de262b49939c3a5b5b20c52617b35af
Change-Id: I174360056f611d07390755f5f605dd0467c545a1
2024-08-09 20:46:17 +00:00
jenkins-bot
7be46bdbbe Merge "composer.json: Add 5 more ext- to suggests" 2024-08-08 09:13:52 +00:00
Bartosz Dziewoński
efc4c6d640 Update cssjanus/cssjanus to 2.3.0
Bug: T371466
Depends-On: I16df3d0e271f38e611dddd3632544d102c9c1613
Change-Id: I8b459bfd2967a76aa1eb460ab474919ba9662083
2024-08-06 22:52:32 +02:00
Reedy
c78c900fcf composer.json: Add 5 more ext- to suggests
Change-Id: Ib26a5257f38882d7ba977ea3d1c31a9d1b3e3b02
2024-07-31 16:51:08 +01:00
Arlo Breault
7bb1c3ce14 Bump wikimedia/parsoid to 0.20.0-a16
Bug: T371126
Depends-On: I7150f03eb5d5025f7a280054a57a985b3a126bf8
Change-Id: I0d3246eff2bab33f531bcfaae201273fb505564c
2024-07-30 11:50:23 -04:00
Arlo Breault
2796b7d44e Bump wikimedia/parsoid to 0.20.0-a15
Bug: T371126
Depends-On: I25efb5dfb586328c8959ba8528c8496b7084643d
Change-Id: Id049afd4653f6c19241bc4cd838cc18076329105
2024-07-29 12:50:45 -04:00
jenkins-bot
2ace4d8fd0 Merge "Bump wikimedia/json-codec to 3.0.2" 2024-07-26 21:02:00 +00:00
C. Scott Ananian
124e6fdd0f Bump wikimedia/json-codec to 3.0.2
This contains a minor bugfix to the ALLOW_OBJECT hint.

Depends-On: Ied49bd4e03d4ae816dc9ddd6791d92355be6304e
Change-Id: Ibcedd6c0c9809ccae04bfcb7c5892466b48b56ce
2024-07-26 16:28:11 -04:00
Bartosz Dziewoński
09245c5613 Update cssjanus/cssjanus to 2.2.0
Bug: T369553
Depends-On: I45a243c44390b7f087f78e4270c2a37e71842a3b
Change-Id: Ie6018c063136c53ecb0ad226511c4e060ef76937
2024-07-23 22:31:10 +00:00
Isabelle Hurbain-Palatin
3880bb9778 Bump wikimedia/parsoid to 0.20.0-a14
Bug: T370488
Depends-On: I754a6259b813f6d16c6f326f04addf75034a6220
Change-Id: I51e8fc12b401b9b0b9efb6e0a0d467cfb07404b1
2024-07-22 11:00:40 +02:00
Hannah Okwelum
29db8f7b1c ResourceLoader: Update wikimedia/less.php from 4.4.1 to 5.0.0
Depends-On: Id70b0f4188e70f3e4b37a93a0d5be686918179c3
Change-Id: I8cfb6aa11ac6766563221023c071d22e7885d421
2024-07-19 14:08:05 +01:00
jenkins-bot
78cd3f33cc Merge "Add phpunit:parallel:extensions composer command" 2024-07-17 11:04:36 +00:00
jenkins-bot
e6127d166c Merge "Add phpunit:prepare-parallel:extensions command" 2024-07-17 10:49:43 +00:00
Arthur Taylor
8610cf554d Add phpunit:parallel:extensions composer command
In T361190 and Quibble 1.9.0, we introduced parallel execution of
PHPUnit tests to speed up the CI jobs. The existing implementation
is purely Python/Quibble, and cannot directly be used by developers
locally. With this patch, we re-implement the parallel test
execution already implemented in CI as a composer task so that the
parallel tests can be run locally.

The `phpunit:parallel:extensions` command expects to be run after
`phpunit:prepare-parallel:extensions`, and expects to find 8 test
suites with the names `split_group_X` (for X in 0 through 7) in the
PHPUnit configuration file. 8 here is currently a hard-coded number
that corresponds to the number of parallel test executions we need
to saturate the CPU of a 4-core developer machine, and experimentally
leads to a good speed-up versus the serial execution.

When this command runs, it forks to launch 8 parallel processes,
each running one of the `split_group_X` suites. The parent process
waits for the children to complete, buffers the output, collects the
exit statuses, then dumps the buffered output and exits with a
non-zero status if any of the child processes failed (i.e. if there
were test failures).

We introduce `phpunit:prepare-parallel:default` as a complement to
`phpunit:prepare-parallel:extensions`, and the two commands
`phpunit:parallel:database` and `phpunit:parallel:databaseless`.
This creates four possible combinations - two different test suites,
and two different test groups. This is a similar setup to that which
we have in CI - the Database and non-Database tests are run in
separate groups, and some jobs use the `extensions` suite while
others just use the default suite.

The `phpunit:parallel:...` commands will fail with a helpful message
if no `split_group_`s are found in the active PHPUnit configuration.

To help test whether the split test runs are really running all the
tests in the suite, we generate and store the PHPUnit results cache
file. Comparing the results cache files from linear versus parallel
runs should tell us if all the tests have been executed.

Bug: T365976
Change-Id: If106802f08edd5d4c841bb7970c69b88ab3bb39b
2024-07-17 12:32:35 +02:00
Isabelle Hurbain-Palatin
626b7d1431 Bump wikimedia/parsoid to 0.20.0-a13
Bug: T369981
Depends-On: Ie7bf084de01a9fa84dc9d5cac4302f4344b6610f
Change-Id: Ibeb615067224c4acf0332b032dcc1e7354ab9b48
2024-07-15 12:03:19 +02:00
Volker E.
c581a7a59f Update OOUI to v0.50.4
Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v0.50.4/History.md

Bug: T369597
Bug: T369666
Depends-On: I23ed96557e0c1b30528fd7c4d81ade8dfd5be80e
Change-Id: I384eeead649dfa81c1dacf2fc461a2be515256d5
2024-07-12 02:32:45 +02:00
Arthur Taylor
1e2851d8d1 Add phpunit:prepare-parallel:extensions command
In T361190 and Quibble 1.9.0, we introduced parallel execution of
PHPUnit tests to speed up the CI jobs. The existing implementation
is purely Python/Quibble, and cannot directly be used by developers
locally. With this patch, we re-implement the test splitting logic
already implemented in CI as a composer task so that the parallel
tests can be run locally.

There are a couple of different approaches to running PHPUnit tests
in parallel. The different approaches have been discussed at length
in T50217. Ideally, we would just install the `paratest` extension
and use that to parallelise the execution. Unfortunately we have
complex test suites (specifically Parser tests and the Scribunto
test suite) that dynamically create tests as they run, which makes
it hard for `paratest` to work out which tests will run.

To overcome this limitation, we use the `phpunit --list-tests`
function to create a list of test classes that would be included in
the execution of the test suite, then scan the filesystem for
classes named in the `tests-list.xml` output. The classes we find
are then collected into smaller groups (`split_group_X`) which we
can run in parallel in separate processes.

We split into 7-8 groups here, as that experimentally leads to an
even spread of the tests and consumes 100% of all cores on a 4-core
processor.

Because `ParserIntegrationTest.php` is a single test class that
generates thousands of integration tests, we put that in its own
bucket rather than allocating it round-robin to one of the split
buckets. This again helps to keep the buckets roughly the same size.

The current implementation only supports splitting the `extensions`
test suite. We need to do some more development and testing to
support splitting other suites.

The new composer command `phpunit:prepare-parallel:extensions` will
generate a `phpunit.xml` file with the same contents as
`phpunit.xml.dist`, but with the split-group suites added. The
result of running all of the split groups should be the same as the
result of running the whole test suite.

Bug: T365976
Change-Id: I2d841ab236c5367961603bb526319053551bec2e
2024-07-10 07:59:23 +00:00
Yiannis Giannelos
2f238a944c Bump wikimedia/parsoid to 0.20.0-a12
Bug: T369310
Depends-On: I0f1c644729396b4a9fee6f3e4374d24d7bb7ac9d
Change-Id: Ibc37f7bff616c82da4a4a3337b53e79b2abba689
2024-07-08 12:29:46 +02:00
James D. Forrester
c5033dc5f2 Update OOUI to v0.50.3
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.50.3/History.md

Bug: T369010
Depends-On: I41956b4648091c963ad92be2d5cb2bce55ff33d9
Change-Id: Id737a60b14d87a074f914130cab0d5874134749f
2024-07-02 16:47:49 +01:00
Isabelle Hurbain-Palatin
05840d190b Bump wikimedia/parsoid to 0.20.0-a11
Bug: T368658
Depends-On: Ic77055db24f5286fd5cb96cf644d8817133db13c
Change-Id: I53396bb6651bbaf7886cc85fc7659b3f18172a4b
2024-07-01 11:20:45 +02:00
jenkins-bot
d8783f856e Merge "composer: add "maintenance" script" 2024-06-29 19:48:20 +00:00
Volker E.
2151855ccb Update OOUI to v0.50.2
Release notes:
 https://gerrit.wikimedia.org/g/oojs/ui/+/v0.50.2/History.md
Depends-On: Ie64bd223108b5442ea9194ce78224685f45009d4

Change-Id: I6b928e6624109a0740707325e363a919489eb5a2
2024-06-28 19:41:53 +02:00
daniel
394c616496 composer: add "maintenance" script
This allows maintenance scripts to be run using `composer maintenance`
instead of `maintenance/run`.

Examples:
    composer maintenance Version
    composer maintenance shell
    composer maintenance -- update --quick

Change-Id: I256be651793e6cc1ab55f96eeb91e9f7487a7c1b
2024-06-25 17:07:04 +00:00
Arlo Breault
bc27143a7c Bump wikimedia/parsoid to 0.20.0-a10
The latest Parsoid has a more precise type for PageBundle which now
lets us (requires us to) omit some @phan-suppress of false positives.

Bug: T368118
Depends-On: I20a0866d8245098659c7bdb9f2da39cd985b41a7
Change-Id: I58687d195c759318ece8de0706fda683d26e7c51
2024-06-21 14:07:00 -10:00
C. Scott Ananian
73f6a990c3 Bump wikimedia/json-codec to 3.0.1
Depends-On: If1d70ba18712839615c1f4fea236843ffebc8645
Change-Id: I1b5ed025fd69bcbc637fa6fb2994587cd5723cdd
2024-06-14 15:31:29 -04:00
C. Scott Ananian
c91c1c1eb1 Bump wikimedia/parsoid to 0.20.0-a8
Bug: T367471
Depends-On: I54780dedacb415ce0ac1a179497f48b9e22086e2
Change-Id: I68ae750d8bdb74259c93d5e7aed994fb84aad857
2024-06-13 20:49:57 -04:00
C. Scott Ananian
522e409b4f Allow wikimedia/json-codec 3.0.0
This package is not actually used by core (yet), it is pulled in by
Parsoid.  Parsoid needs to upgrade to v3.0.0 and this ensures we don't
get a conflict.

Change-Id: I7dd1d5cc0b32d609720a76adbef7252d3e2ca26a
2024-06-12 21:08:55 -04:00
Roan Kattouw
5a8b4dad05 Update OOUI to v0.50.0
Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v0.50.0/History.md

Bug: T367061
Bug: T364777
Bug: T365759
Depends-On: Ib183cd7c28ea3fb68a6614b38362325560b426f8
Change-Id: I8427c2ebe487e914764c1b42991545edbe112ae0
2024-06-12 02:13:25 +00:00