Skip to content

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

feat: Add support for callable TTLs in cache handlers

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

Triggered via pull request May 15, 2026 08:24
Status Success
Total duration 14m 39s
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
55s
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/CLI/AbstractCommandTest.php#L70
Took 0.8284s from 0.5000s limit to run CodeIgniter\\CLI\\AbstractCommandTest::testConstructorSetsNeededProperties
Others (8.2) / Sanity Tests: /tests/system/Images/GDHandlerTest.php#L442
Took 0.9372s from 0.5000s limit to run CodeIgniter\\Images\\GDHandlerTest::testImageConvertPngToAvif
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L987
Took 1.0569s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
Others (8.2) / Sanity Tests: /tests/system/API/ResponseTraitTest.php#L158
Took 2.0876s 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.9815s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\ApcuHandlerTest::testGetMetaDataMiss
SeparateProcess (8.2) / tests: /tests/system/Commands/Encryption/GenerateKeyTest.php#L80
Took 2.7763s from 0.5000s limit to run CodeIgniter\\Commands\\Encryption\\GenerateKeyTest::testGenerateKeyShowsEncodedKey
DatabaseLive (8.2, SQLite3, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L78
Took 0.6815s 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.9208s 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.8272s 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.5029s 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.8050s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L78
Took 0.5838s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, Postgre, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 3.1406s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L78
Took 0.6366s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L109
Took 3.1599s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExistsWithDb
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L92
Took 3.1629s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseIfNotExists
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 3.2985s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L63
Took 3.3153s 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.4267s 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.4546s from 0.5000s limit to run CodeIgniter\\Models\\EventsModelTest::testInsertEvent
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/ValidationModelRuleGroupTest.php#L50
Took 1.4855s from 0.5000s limit to run CodeIgniter\\Models\\ValidationModelRuleGroupTest::testValid
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/FabricatorLiveTest.php#L34
Took 1.5311s from 0.5000s limit to run CodeIgniter\\Database\\Live\\FabricatorLiveTest::testCreateAddsToDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L78
Took 1.5902s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 1.6449s 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 2.1290s 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.1504s 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.1540s 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.0436s 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
208 KB
sha256:99d1037ae51995d1a1cd623bf1e3988e1eccc62aec636985b68b0ffa6025f4d9
database-live-tests-php-8.2-db-MySQLi5.7
16 MB
sha256:15ce19fcb0fbb205659b3f9422ee8c0282ded6eeb48db042756fd3d1194935fd
database-live-tests-php-8.2-db-MySQLi8.0
16 MB
sha256:f0e67b152c124ee9f73aa3978eebd72e2b6313ba9dff61a16f89804edfe93fdc
database-live-tests-php-8.2-db-OCI88.0
16.2 MB
sha256:6b864ffa874f0310adb29d0c98a5ff1f88b65c9f3f874794bbe42c4f2654e2f6
database-live-tests-php-8.2-db-Postgre8.0
15.2 MB
sha256:ce2dd03cba1a416773c4beb0ef93f6c917a9fca0a282c1e8a23532f40f3fac44
database-live-tests-php-8.2-db-SQLSRV8.0
15.7 MB
sha256:dc4e73eb5fa78d9cfb812f14e18ad849bc3758382977ca1a5784f58e7c336ade
database-live-tests-php-8.2-db-SQLite38.0
15.6 MB
sha256:79c8f91260ebfc748c5e3b26a78164b88e90fb883943d4e8e67b08fc42778f56
sanity-tests-php-8.2-db-none
36 MB
sha256:cf2d2dc13e1ae2e1f544d3caefdaf2e5c583c5b0438118f368b075fca305c490
separate-process-tests-php-8.2-db-none
3.67 MB
sha256:86855a1a8869b080ae104f25d3b868629e7f63d5c5af5744f42ab5ccdce888b0