Skip to content

feat: make insertBatch() and updateBatch() respect model rules #13603

feat: make insertBatch() and updateBatch() respect model rules

feat: make insertBatch() and updateBatch() respect model rules #13603

Triggered via pull request September 5, 2025 12:53
Status Success
Total duration 17m 20s
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
52s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 13 warnings
Others (8.5, --ignore-platform-req=php) / Sanity Tests
Process completed with exit code 2.
SeparateProcess (8.5, --ignore-platform-req=php) / tests
Process completed with exit code 2.
DatabaseLive (8.5, OCI8, 8.0) / tests
Process completed with exit code 2.
Others (8.2) / Sanity Tests: /tests/system/Images/ImageMagickHandlerTest.php#L314
Took 0.8537s from 0.5000s limit to run CodeIgniter\\Images\\ImageMagickHandlerTest::testImageCreation
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/DatabaseTestCase/DatabaseTestCaseMigrationOnce2Test.php#L83
Took 0.7379s from 0.5000s limit to run CodeIgniter\\Database\\DatabaseTestCase\\DatabaseTestCaseMigrationOnce2Test::testMigrationDone
DatabaseLive (8.5, OCI8, 8.0) / tests
Docker pull failed with exit code 1, back off 7.659 seconds before retry.
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/InsertModelTest.php#L240
Took 0.7230s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertPermitInsertNoData
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L494
Took 0.7654s 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 0.7870s 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 0.8110s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/InsertModelTest.php#L71
Took 0.8173s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertBatchUseAutoIncrementSetToFalse
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L53
Took 0.8430s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1236
Took 1.0253s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testSetKeyNames
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ConnectTest.php#L97
Took 1.0934s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ConnectTest::testConnectWithFailover
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1676
Took 1.3985s 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 2.8280s 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 Expired
114 KB
sha256:1a3ef30f9610edeaf16cc5bde831aeeb818cdb178ee5d4f7bc2b4508983952ac
database-live-tests-php-8.2-db-MySQLi5.7 Expired
11.7 MB
sha256:06909f7576b93835ba5cae87c3379c171cd99718506d277016437cba9a9b5413
database-live-tests-php-8.2-db-MySQLi8.0 Expired
11.7 MB
sha256:934cd4d9e493040fcb8816010506952a86b37d3d3168426af95b26fc3f27679a
database-live-tests-php-8.2-db-OCI88.0 Expired
11.7 MB
sha256:1090fc5a75c5548abbc737a8ed042ec7487fdc22f0173ce6e45b8bc46ee1cfab
database-live-tests-php-8.2-db-Postgre8.0 Expired
11.3 MB
sha256:3273ff1be933ba6fbeda169493f2b4c49f98969cdec0045359edd0ef01c8f969
database-live-tests-php-8.2-db-SQLSRV8.0 Expired
11.3 MB
sha256:8b108634b53ca7a26c429de9f9de9489d3f2d645402fe42ce1d3c0fa73318d7f
database-live-tests-php-8.2-db-SQLite38.0 Expired
11.3 MB
sha256:4accc17c6149583832de713fa80433d79cc379da4c4976b6ba5addc5a0cb86c1
sanity-tests-php-8.2-db-none Expired
28.5 MB
sha256:bec08073ee200f99a26dad72956ce58534a15c86355bc35582c4e872a107f104
separate-process-tests-php-8.2-db-none Expired
2.94 MB
sha256:f00f2c01dab9034824098faa7526f503fb80722fd01c7c1a6b14fb5458868eef