An internal change report describes one MetaboliQ Brain CI run in which the tests passed and cleanup failed. The author reported that the runner user could not delete a temporary model copy created by a container.

The change gives teardown a specific target: the temporary model directory belonging to that run. In a local reproduction, all 18 helper tests passed. The tests exercised target selection and safeguards with deletion mocked. They checked cases including an alternative directory, a symbolic link and teardown with no recorded directory.

The change author also reported a successful manual purge. We did not independently reproduce that deletion, and the cited hosted pull request check skipped end-to-end tests. The evidence leaves recurrence frequency and hosted cleanup behavior open.

When a CI run creates a temporary artifact, decide which run owns it and test which targets teardown accepts or refuses. The guard tests answer that question for the cases they cover. Checking actual deletion requires exercising the cleanup itself.

← All engineering articles