Skip to content

Omit log uploads for env variable defined statuses #357

@comps

Description

@comps

(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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions