Skip to content

feat: add database transaction state check #14847

feat: add database transaction state check

feat: add database transaction state check #14847

Triggered via pull request May 2, 2026 12:55
Status Success
Total duration 13m 46s
Artifacts 9

test-phpunit.yml

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

Annotations

1 error and 26 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.5682s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testPaginateWithQueryBuilder
Others (8.2) / Sanity Tests: /tests/system/CLI/AbstractCommandTest.php#L65
Took 0.8096s from 0.5000s limit to run CodeIgniter\\CLI\\AbstractCommandTest::testConstructorSetsNeededProperties
Others (8.2) / Sanity Tests: /tests/system/Images/GDHandlerTest.php#L442
Took 0.9443s from 0.5000s limit to run CodeIgniter\\Images\\GDHandlerTest::testImageConvertPngToAvif
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L987
Took 1.0600s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
Others (8.2) / Sanity Tests: /tests/system/API/ResponseTraitTest.php#L158
Took 1.6740s 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.6637s 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.6300s 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.6283s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
SeparateProcess (8.2) / tests: /tests/system/Commands/Encryption/GenerateKeyTest.php#L82
Took 1.7135s from 0.5000s limit to run CodeIgniter\\Commands\\Encryption\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 2.6584s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 2.7290s 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.5280s 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.8052s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 2.7570s 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.1470s 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.3069s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/OCI8/LastInsertIDTest.php#L43
Took 1.4281s from 0.5000s limit to run CodeIgniter\\Database\\Live\\OCI8\\LastInsertIDTest::testGetInsertIDWithInsert
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/EventsModelTest.php#L37
Took 1.4504s from 0.5000s limit to run CodeIgniter\\Models\\EventsModelTest::testInsertEvent
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L78
Took 1.4669s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/FabricatorLiveTest.php#L34
Took 1.4746s from 0.5000s limit to run CodeIgniter\\Database\\Live\\FabricatorLiveTest::testCreateAddsToDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 1.5052s 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.8458s 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 1.9358s 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 1.9593s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L494
Took 3.9087s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L238
Took 4.7148s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery

Artifacts

Produced during runtime
Name Size Digest
cache-live-tests-php-8.2-db-none Expired
176 KB
sha256:1518eeb3c7067ca527bc356f343379ae1eba7fe1338bb80658d5a4458ed79eb9
database-live-tests-php-8.2-db-MySQLi5.7 Expired
15.6 MB
sha256:f631cdbc7562abeeaa66c80e9e7adda287ceb2a2926a47344a86ca6e004d4fe2
database-live-tests-php-8.2-db-MySQLi8.0 Expired
15.6 MB
sha256:05725c2b03e07d6b4fb7d7ca0d38ae4777745a7e55c7b28b4499b1f893472d94
database-live-tests-php-8.2-db-OCI88.0 Expired
15.8 MB
sha256:a0b65fd92a5fc3d31ad3617fc54bb4a548d161ea820eb71ab56c6a67c46edd1f
database-live-tests-php-8.2-db-Postgre8.0 Expired
14.8 MB
sha256:4bd3d48bead692d890eb34ad178e0861bbbbe74a6c846c252b1a8b42099c9fc1
database-live-tests-php-8.2-db-SQLSRV8.0 Expired
15.3 MB
sha256:8b5e00c196c12bdcd4c1e7753b655c861cfb84b929b0f638e43207a45087afc3
database-live-tests-php-8.2-db-SQLite38.0 Expired
15.2 MB
sha256:4cd6e3ff6b349ab3a64bd17ae2b87b1e5b93a96c110bac373dbc342da8fdd505
sanity-tests-php-8.2-db-none Expired
34.7 MB
sha256:b7850cf72568be94b1641144245cf2c5303b5295b931967929e4283983d2d13c
separate-process-tests-php-8.2-db-none Expired
3.55 MB
sha256:071c67724d5083e84de7d1983ee3897ff9403b168b133334a4176b22a8485673