Skip to content

feat: add Query Builder lockForUpdate() #14953

feat: add Query Builder lockForUpdate()

feat: add Query Builder lockForUpdate() #14953

Triggered via pull request May 7, 2026 16:34
Status Success
Total duration 16m 42s
Artifacts 9

test-phpunit.yml

on: pull_request
Setup PHP Version for Code Coverage
2s
Setup PHP Version for Code Coverage
Matrix: Others
Matrix: CacheLive
Matrix: DatabaseLive
Matrix: SeparateProcess
Upload coverage results to Coveralls  /  coveralls
57s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

1 error and 29 warnings
DatabaseLive (8.5, OCI8, 8.0) / tests
Process completed with exit code 2.
Others (8.2) / Sanity Tests: /tests/system/API/ResponseTraitTest.php#L761
Took 0.5738s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testPaginateWithQueryBuilder
Others (8.2) / Sanity Tests: /tests/system/CLI/AbstractCommandTest.php#L69
Took 0.8005s from 0.5000s limit to run CodeIgniter\\CLI\\AbstractCommandTest::testConstructorSetsNeededProperties
Others (8.2) / Sanity Tests: /tests/system/Images/GDHandlerTest.php#L442
Took 0.9286s from 0.5000s limit to run CodeIgniter\\Images\\GDHandlerTest::testImageConvertPngToAvif
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L987
Took 1.0567s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
Others (8.2) / Sanity Tests: /tests/system/API/ResponseTraitTest.php#L158
Took 1.6851s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
CacheLive (8.2) / Cache Live Tests: /tests/system/Cache/Handlers/AbstractHandlerTestCase.php#L30
Took 1.4793s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\ApcuHandlerTest::testGetMetaDataMiss
DatabaseLive (8.2, SQLite3, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L78
Took 0.6822s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, SQLite3, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 2.6508s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
SeparateProcess (8.2) / tests: /tests/system/Commands/Encryption/GenerateKeyTest.php#L88
Took 2.4570s from 0.5000s limit to run CodeIgniter\\Commands\\Encryption\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L78
Took 0.5174s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 2.8462s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L78
Took 0.5771s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 2.8539s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L78
Took 0.5189s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 2.7914s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L78
Took 0.5941s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 2.8105s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L92
Took 3.1499s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExists
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L63
Took 3.3015s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/EventsModelTest.php#L37
Took 1.4356s from 0.5000s limit to run CodeIgniter\\Models\\EventsModelTest::testInsertEvent
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L494
Took 1.5182s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/FabricatorLiveTest.php#L34
Took 1.5260s from 0.5000s limit to run CodeIgniter\\Database\\Live\\FabricatorLiveTest::testCreateAddsToDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L78
Took 1.5695s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 1.6383s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 1.9070s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1236
Took 2.1145s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1680
Took 2.1685s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L238
Took 3.2727s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L494
Took 4.0099s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey

Artifacts

Produced during runtime
Name Size Digest
cache-live-tests-php-8.2-db-none
176 KB
sha256:fbbb849e375af74301741e70b5d5b8a62063e77334ff7f779b991b4916c6a542
database-live-tests-php-8.2-db-MySQLi5.7
15.8 MB
sha256:13f85d71450671afb744a8b3bd1981821fe09e70f36cfe08e34daa456ccc39a9
database-live-tests-php-8.2-db-MySQLi8.0
15.8 MB
sha256:d7e922f224ae5aa7b91f2eb8c77cb87bc8069b969b2c10c1481c1a7d1fac1c47
database-live-tests-php-8.2-db-OCI88.0
16 MB
sha256:418fe04577c58dd9784d73d17e2ed12891e0578ba1868950780ef80e5b8b344c
database-live-tests-php-8.2-db-Postgre8.0
15 MB
sha256:cf980853027e36a7e6a8643f560ddec347c927e6269f11abe4b2c3735e06ddeb
database-live-tests-php-8.2-db-SQLSRV8.0
15.5 MB
sha256:51016caa02796007a00d9a5f8a83ec875b99bdea66811d96edaa8e5e771f94f3
database-live-tests-php-8.2-db-SQLite38.0
15.5 MB
sha256:21917bb6271f656879d7e96f2bc44e94e740cd1f6fb9d449f5811e34f5e00a92
sanity-tests-php-8.2-db-none
35.3 MB
sha256:ec165daf7dd8264f72dfc82e92ce2f4fd73a280189546a147ce1edf13c01e4eb
separate-process-tests-php-8.2-db-none
3.61 MB
sha256:9a3ccf23b965b855072b4e6cc053371de6c7d85fa4499f6456b0bafad71e3898