stable

Clone or download

Read-only

feat: Delete oldest module logs

Part of story #35093 execute custom code as artifact post action We need to keep only the 50 last log entries for each trackers. So each time a new entry is added, a cleanup for corresponding tracker is performed *Testing:* Do a lot of artifact update/creation on one tracker, then on another tracker (both must have a WASM module activated). In db they should have at most 50 entries each. Change-Id: Ib73540a05f48aed7b290ef2afcd25af4d8c6976a

Modified Files

Name
M plugins/tracker_cce/include/TrackerCCE/Logs/ModuleLogDao.php +39 −0 Go to diff View file
M plugins/tracker_cce/tests/integration/TrackerCCE/Logs/ModuleLogDaoTest.php +74 −19 Go to diff View file