Skip to content

feat: Add support for callable TTLs in cache handlers #14879

feat: Add support for callable TTLs in cache handlers

feat: Add support for callable TTLs in cache handlers #14879

Triggered via pull request May 6, 2026 04:06
Status Success
Total duration 15m 55s
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
49s
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.5071s from 0.5000s limit to run CodeIgniter\\API\\ResponseTraitTest::testPaginateWithQueryBuilder
Others (8.2) / Sanity Tests: /tests/system/CLI/AbstractCommandTest.php#L69
Took 0.7566s from 0.5000s limit to run CodeIgniter\\CLI\\AbstractCommandTest::testConstructorSetsNeededProperties
Others (8.2) / Sanity Tests: /tests/system/Images/GDHandlerTest.php#L442
Took 0.9518s from 0.5000s limit to run CodeIgniter\\Images\\GDHandlerTest::testImageConvertPngToAvif
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L987
Took 1.0554s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
Others (8.2) / Sanity Tests: /tests/system/API/ResponseTraitTest.php#L158
Took 1.5754s 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.6695s 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.6223s 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.6277s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
SeparateProcess (8.2) / tests: /tests/system/Commands/Encryption/GenerateKeyTest.php#L82
Took 2.4663s 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.6678s 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.6096s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 2.6429s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L47
Took 0.5022s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrate
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L78
Took 0.5250s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L85
Took 0.5408s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRefresh
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 3.0802s 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.1561s 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.1570s 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.3133s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/UpdateTest.php#L665
Took 1.4184s from 0.5000s limit to run CodeIgniter\\Database\\Live\\UpdateTest::testUpdateBatchWithQuery
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/EventsModelTest.php#L37
Took 1.4692s 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.4780s 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.5278s 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.6459s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testDropKey
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/InsertTest.php#L238
Took 1.8206s from 0.5000s limit to run CodeIgniter\\Database\\Live\\InsertTest::testInsertBatchWithQuery
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.1344s 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.1924s 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 4.0751s 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
180 KB
sha256:6664c03e0fd78793655733dcc1f574fa2dd4943ec1eda8c1d6c2bbe1fd8a11e8
database-live-tests-php-8.2-db-MySQLi5.7 Expired
15.6 MB
sha256:cb2c582807e0e9e20c711094c4828ad74fd81bf9c53507ce15da50acd66f12a7
database-live-tests-php-8.2-db-MySQLi8.0 Expired
15.6 MB
sha256:e110912ec371ec8c8cadde6fd76a3a09fbc9493432d4ad215564859642d448c2
database-live-tests-php-8.2-db-OCI88.0 Expired
15.8 MB
sha256:7f7f67b17d9bca184229fd0ee9d2f2c596c3338a645e431c7ffc6206cadc621e
database-live-tests-php-8.2-db-Postgre8.0 Expired
14.8 MB
sha256:7d41aadf43db3e182ef11a55acc330129a8e02c63bbc1e933901936354053c4e
database-live-tests-php-8.2-db-SQLSRV8.0 Expired
15.3 MB
sha256:2b29cde27200e4fb0dba54a5b3340be0aa73a076d88b63244aa36b4af8dd802e
database-live-tests-php-8.2-db-SQLite38.0 Expired
15.2 MB
sha256:2ef047deb00ce07ea473bf7c6a1f5452726f8a43a36f427206e07c8810d00a6e
sanity-tests-php-8.2-db-none Expired
34.8 MB
sha256:538a26b1ca7bc50ae69ef6ec2c5b8a2eb22faebe399af51f9f6186787bb7407a
separate-process-tests-php-8.2-db-none Expired
3.55 MB
sha256:e28d0dd2f13b835f8f4222732cf34d51fe0cc46936ee0a9d6aff0558355840e9