Skip to content

feat: add constraint violation database exceptions #15655

feat: add constraint violation database exceptions

feat: add constraint violation database exceptions #15655

Triggered via pull request July 1, 2026 08:41
Status Success
Total duration 27m 36s
Artifacts 9

test-phpunit.yml

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

Annotations

1 error and 38 warnings
DatabaseLive (8.5, OCI8, 8.0) / tests
Process completed with exit code 2.
Others (8.2) / Sanity Tests: /tests/system/CLI/AbstractCommandTest.php#L73
Took 0.8942s from 0.5000s limit to run CodeIgniter\\CLI\\AbstractCommandTest::testConstructorSetsNeededProperties
Others (8.2) / Sanity Tests: /tests/system/Images/GDHandlerTest.php#L442
Took 0.9702s from 0.5000s limit to run CodeIgniter\\Images\\GDHandlerTest::testImageConvertPngToAvif
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L987
Took 1.0556s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
Others (8.2) / Sanity Tests: /tests/system/API/ResponseTraitTest.php#L158
Took 2.0543s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
CacheLive (8.2) / Cache Live Tests: /tests/system/Cache/Handlers/AbstractHandlerTestCase.php#L30
Took 2.1592s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\ApcuHandlerTest::testGetMetaDataMiss
DatabaseLive (8.2, SQLite3, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 0.7306s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, SQLite3, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L93
Took 3.2295s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
SeparateProcess (8.2) / tests: /tests/system/Commands/Encryption/GenerateKeyTest.php#L80
Took 3.2825s from 0.5000s limit to run CodeIgniter\\Commands\\Encryption\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 0.6641s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L93
Took 3.5084s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 0.6347s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Commands/CreateDatabaseTest.php#L93
Took 3.4015s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/OCI8/LastInsertIDTest.php#L43
Took 1.4848s from 0.5000s limit to run CodeIgniter\\Database\\Live\\OCI8\\LastInsertIDTest::testGetInsertIDWithInsert
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/DeleteTest.php#L149
Took 1.4938s from 0.5000s limit to run CodeIgniter\\Database\\Live\\DeleteTest::testDeleteBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/FabricatorLiveTest.php#L34
Took 1.5090s 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.7143s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1236
Took 2.1098s 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.2647s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L93
Took 2.3583s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L238
Took 2.4181s 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 3.9594s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 4.4582s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L148
Took 0.5557s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRefreshForwardsNamespaceGroupAndForceOptions
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 0.7516s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L92
Took 3.1540s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExists
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L127
Took 3.1576s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExistsWithDbWithDots
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L63
Took 3.3174s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L93
Took 3.8407s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L46
Took 0.5636s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrate
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L193
Took 0.6575s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateStatusReportsNoneFoundWhenNoMigrationsExist
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L84
Took 0.6797s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRefresh
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L223
Took 0.7076s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testSeedPromptsForSeederNameWhenMissing
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1825
Took 0.8162s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testChangeDefaultFieldValueWithModifyColumn
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L148
Took 1.0280s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRefreshForwardsNamespaceGroupAndForceOptions
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L157
Took 1.2936s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRefreshForwardsAllNamespacesOption
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1680
Took 1.6279s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1795
Took 1.9848s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexesWithForeignKeyOnly
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L93
Took 2.7511s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase

Artifacts

Produced during runtime
Name Size Digest
cache-live-tests-php-8.2-db-none
216 KB
sha256:309855fd6a0797d7fe3d223fc0e7cce3fe36a39b18e854e76a3f161a2c574763
database-live-tests-php-8.2-db-MySQLi5.7
18.2 MB
sha256:c293183564953bf771f53b6355a6609cd7ba8fc20779c063b760da0d0c076c6f
database-live-tests-php-8.2-db-MySQLi8.0
18.2 MB
sha256:1c5d74c18518618539f109a077aeeb8706b869eeaede48ed3ed94777e90d9ab3
database-live-tests-php-8.2-db-OCI88.0
18.3 MB
sha256:f9918b7046981929b84549f881fceaa45431d5e0bf8af60cb8492fb4654ffc04
database-live-tests-php-8.2-db-Postgre8.0
17.9 MB
sha256:dfcca39264e9e6a3cd145c38a6c1943aeac506ede1f1bbd102173ef59bfab159
database-live-tests-php-8.2-db-SQLSRV8.0
17.9 MB
sha256:77d77cb3992a00d29ad18343bcdaa82f4f7abd261bf57c0fa901255fc8aa6bba
database-live-tests-php-8.2-db-SQLite38.0
17.8 MB
sha256:0843c84dccd943b31f6b20a885aa5450f34c49bde4fcb80f67da55fd503993b4
sanity-tests-php-8.2-db-none
39 MB
sha256:c882b6dbeb6b22d9b618a70feaf56642cf84ebda21b01b1c4f7c6bf193e6eb27
separate-process-tests-php-8.2-db-none
3.85 MB
sha256:ebdb4b69987bfbcc57a6338d92ec8c5669fa8721a123509fea4777b91e3f3b23