Skip to content

schema: Consider using end_time instead of duration #81

Description

@spbnick

It's possible that in some cases the start time of a build or test is not known, but the end time is. However these cases cannot be represented in the current schema. Consider replacing the duration field with end_time. This would allow omitting start_time, but still specifying end_time. And vice-versa. This however would require us to validate that start_time <= end_time, which the JSON schema doesn't allow, but which could be implemented in Python, as an extra validation step.

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