Skip to content

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

feat: Add support for callable TTLs in cache handlers

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

Triggered via pull request May 18, 2026 09:53
Status Success
Total duration 13m 10s
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
51s
Upload coverage results to Coveralls / coveralls
Fit to window
Zoom out
Zoom in

Annotations

1 error and 31 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.8277s from 0.5000s limit to run CodeIgniter\\CLI\\AbstractCommandTest::testConstructorSetsNeededProperties
Others (8.2) / Sanity Tests: /tests/system/Images/GDHandlerTest.php#L442
Took 0.9322s from 0.5000s limit to run CodeIgniter\\Images\\GDHandlerTest::testImageConvertPngToAvif
Others (8.2) / Sanity Tests: /tests/system/CodeIgniterTest.php#L987
Took 1.0572s from 0.5000s limit to run CodeIgniter\\CodeIgniterTest::testRouteAttributeCacheIntegration
Others (8.2) / Sanity Tests: /tests/system/API/ResponseTraitTest.php#L158
Took 2.0585s 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.0248s from 0.5000s limit to run CodeIgniter\\Cache\\Handlers\\ApcuHandlerTest::testGetMetaDataMiss
SeparateProcess (8.2) / tests: /tests/system/Commands/Encryption/GenerateKeyTest.php#L80
Took 2.9331s 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.7105s 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.9789s 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.6380s 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.2665s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L78
Took 0.5356s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, MySQLi, 5.7) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 2.9488s 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.5347s 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.9010s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L85
Took 0.5563s from 0.5000s limit to run CodeIgniter\\Commands\\DatabaseCommandsTest::testMigrateRefresh
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/DatabaseCommandsTest.php#L47
Took 0.5935s 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.6712s 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.1501s 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.1524s 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.3049s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testCreateDatabaseWithDots
DatabaseLive (8.2, SQLSRV, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 3.3540s from 0.5000s limit to run CodeIgniter\\Commands\\CreateDatabaseTest::testCreateDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/FabricatorLiveTest.php#L34
Took 1.5026s from 0.5000s limit to run CodeIgniter\\Database\\Live\\FabricatorLiveTest::testCreateAddsToDatabase
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Models/ReplaceModelTest.php#L25
Took 1.5125s from 0.5000s limit to run CodeIgniter\\Models\\ReplaceModelTest::testReplaceRespectsUseTimestamps
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Commands/Database/MigrateStatusTest.php#L78
Took 1.5747s from 0.5000s limit to run CodeIgniter\\Commands\\Database\\MigrateStatusTest::testMigrateAllWithWithTwoNamespaces
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Migrations/MigrationRunnerTest.php#L494
Took 1.6011s from 0.5000s limit to run CodeIgniter\\Database\\Migrations\\MigrationRunnerTest::testLatestWithLockingEnabledSucceeds
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Database/Live/ForgeTest.php#L1583
Took 1.6220s 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.1131s 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.1356s from 0.5000s limit to run CodeIgniter\\Database\\Live\\ForgeTest::testProcessIndexes
DatabaseLive (8.2, OCI8, 8.0) / tests: /tests/system/Commands/CreateDatabaseTest.php#L70
Took 2.1521s 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.3364s 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 4.0379s 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
208 KB
sha256:d626be585735240db1e91092778d55e1d3ef7c3849901e7c773c917e4dc5ea44
database-live-tests-php-8.2-db-MySQLi5.7 Expired
16.2 MB
sha256:d7c4030d3effe3ba5014c3dc0f1711bc56d52c96bc617c09818a6d5c4981dea9
database-live-tests-php-8.2-db-MySQLi8.0 Expired
16.2 MB
sha256:a0441ab9ab85b7074a1cec891d6066a0989a2841a843c5b02a91d546ab33766e
database-live-tests-php-8.2-db-OCI88.0 Expired
16.4 MB
sha256:afe59fa3efa428b4f52d0a9506eecc463bd146227af0dfdf0a7e8dca8ef9b960
database-live-tests-php-8.2-db-Postgre8.0 Expired
15.4 MB
sha256:66852a87b660dda5a25de453a909700ebedad9005eafe18e71981e5543a948a0
database-live-tests-php-8.2-db-SQLSRV8.0 Expired
15.9 MB
sha256:0a36c259cd5a7397a779f7790889ebe496faf24c0852d1ee9904fb248ad83e60
database-live-tests-php-8.2-db-SQLite38.0 Expired
15.8 MB
sha256:8591d1c7618fd6b8cb2ce7ee98fd3b8fc6722838d43c5b13ea3988e29afd2264
sanity-tests-php-8.2-db-none Expired
36.2 MB
sha256:a8f4c52bc521de0f760b4ef9c19a92b19044e0d03aea1f30d551bcf668066605
separate-process-tests-php-8.2-db-none Expired
3.67 MB
sha256:0377f238971f333b2b75e978c467699964293ea7d70353263dc13914943130ad