Build log retention for one-off tasks

I’m interested in how long build logs are retained for one-off tasks run with fly execute. There’s no way to specify a build-logs-to-retain option. We have CONCOURSE_DEFAULT_BUILD_LOGS_TO_RETAIN=500, so I wondered if this would also apply to one-off tasks, but I can see we have run over 500 one-off tasks and the oldest still has preserved logs.

Is there a way to ensure that old one-off task logs are removed?

1 Like