Skip to content

refactor: simplify and optimize handleRequest method in CodeIgniter #15962

refactor: simplify and optimize handleRequest method in CodeIgniter

refactor: simplify and optimize handleRequest method in CodeIgniter #15962

Triggered via pull request July 30, 2026 21:00
Status Success
Total duration 19m 4s
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
2m 10s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

1 error and 28 warnings
DatabaseLive (8.5, OCI8, 8.0) / tests
Process completed with exit code 2.
Others (8.2) / Sanity Tests: /tests/system/API/ResponseTraitTest.php#L158
Took 0.9597s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testNoFormatterJSON
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L990
Took 1.0539s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
SeparateProcess (8.2) / tests: /tests/system/Commands/Encryption/GenerateKeyTest.php#L82
Took 1.2879s from 0.5000s limit to run CodeIgniter\\Commands\\Encryption\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
DatabaseLive (8.2, SQLite3, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.4665s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
CacheLive (8.2) / Cache Live Tests: /tests/system/Cache/Handlers/AbstractHandlerTestCase.php#L30
Took 1.0643s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\ApcuHandlerTest::testGetMetaDataMiss
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.3682s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.5826s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L49
Took 0.5069s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrate
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 0.5500s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 1.8001s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L127
Took 3.1558s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExistsWithDbWithDots
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L92
Took 3.1581s 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.3951s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/InsertModelTest.php#L55
Took 1.3735s from 0.5000s limit to run CodeIgniter\\Models\\InsertModelTest::testInsertBatchSuccess
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L48
Took 1.3821s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatch
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L494
Took 1.4285s 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.5327s 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.6605s 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.1331s 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.2511s 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 2.4013s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L63
Took 3.6843s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L494
Took 4.0837s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testForeignKey
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Database/Live/InsertTest.php#L238
Took 0.5601s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Database/DatabaseTestCaseTest.php#L66
Took 0.6299s from 0.5000s limit to run CodeIgniter\\Database\\DatabaseTestCaseTest::testMultipleSeeders
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Database/Live/DbUtilsTest.php#L99
Took 0.8709s from 0.5000s limit to run CodeIgniter\\Database\\Live\\DbUtilsTest::testUtilsOptimizeDatabase
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Commands/CreateDatabaseTest.php#L89
Took 0.8964s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Database/Live/ForgeTest.php#L1680
Took 0.9883s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes

Artifacts

Produced during runtime
Name Size Digest
cache-live-tests-php-8.2-db-none Expired
158 KB
sha256:8655469f8dc578f08933fc652a23b0381827e55b05dc3ce0e1aaf20a2c5aeff7
database-live-tests-php-8.2-db-MySQLi5.7 Expired
13.6 MB
sha256:4fd5cfdc4e8afb0783cbefc1ac9b7c7c864a1ae6d17d8dc8c4a9467359e8e4e3
database-live-tests-php-8.2-db-MySQLi8.0 Expired
13.6 MB
sha256:2863ac6b4aeee6712bc287041a1600962db04be19d92d5a95011640fa5d0f3f1
database-live-tests-php-8.2-db-OCI88.0 Expired
13.8 MB
sha256:f862297afcb21172e05de41d8c0924eed918afd675e33591e782dd364a72b93d
database-live-tests-php-8.2-db-Postgre8.0 Expired
13.3 MB
sha256:344103057e0c8c50b7f5c53856a0b20433dbc5a679fffdb6a18e256baf0b1c85
database-live-tests-php-8.2-db-SQLSRV8.0 Expired
13.4 MB
sha256:b0e0017146bb37ab214273e1b424c6557a0d98ca1da4b067fe4060d061afb06d
database-live-tests-php-8.2-db-SQLite38.0 Expired
13.3 MB
sha256:0b95c7a42aa5c063eb51bcc7f70f6e827f2ccf10f0c93cb0d97d1dfcd8b526b5
sanity-tests-php-8.2-db-none Expired
32 MB
sha256:3e564d34f789cfd6f4e8eedfbf7e9cc7b67e02fec46e5312e4f18d0e9df76bca
separate-process-tests-php-8.2-db-none Expired
3.75 MB
sha256:c420ea832ffd0b650d6f9c2a27147f3e6a562d0a2f1a6d11810f3946505c97ce