(This is currently implemented in runcontest, but it would make sense in Contest, especially for new 2025 infra tooling.)
Given an environment variable of ie. CONTEST_NO_LOGS_FOR=pass,warn,info, avoid processing / uploading / recording of additional files (typically logs) when a result is reported with one of the specified statuses, ie.
results.report('pass', ..., logs=[...])
would ignore logs=[...] and treat it as if no logs were passed.
We currently recommend uploading as many logs as possible, even for pass results, to help with debugging / comparing a failing state to as passing state. This may create a data set too big for some infra to handle, hence this option.
We might even have some pass,info,skip default for it, so logs for those are not uploaded (but can be overwritten with CONTEST_NO_LOGS_FOR= empty variable), or something like that.
...
This issue is probably best done during / after any changes for a new 2025 infra tooling.
(This is currently implemented in runcontest, but it would make sense in Contest, especially for new 2025 infra tooling.)
Given an environment variable of ie.
CONTEST_NO_LOGS_FOR=pass,warn,info, avoid processing / uploading / recording of additional files (typically logs) when a result is reported with one of the specified statuses, ie.would ignore
logs=[...]and treat it as if no logs were passed.We currently recommend uploading as many logs as possible, even for
passresults, to help with debugging / comparing a failing state to as passing state. This may create a data set too big for some infra to handle, hence this option.We might even have some
pass,info,skipdefault for it, so logs for those are not uploaded (but can be overwritten withCONTEST_NO_LOGS_FOR=empty variable), or something like that....
This issue is probably best done during / after any changes for a new 2025 infra tooling.