Skip to content

Flexible test configs #73

Closed
Closed

Description

@metalwarrior665

So I was thinking what could be the next feature (apart from the optimizations) and we could finally dig into the alerting levels and tests that don't run on PRs.

Both can be handled by passing a config object into a test or group of tests (how hard it would be in vitest?) that would tell the test if it should run and what to do next.

By default it could look like:

{
runWhen: {
"daily": true,
"hourly": true,
"onPr": true
},
"alerts": {
"slack": true
}
}

The run when and slack could be completely separate and injected at different times if needed. Then we can create more values, like big performance tests running weekly, on call alerting etc.

What do you think @oklinov @ruocco-l ?

Activity

  1. metalwarrior665 commented on Apr 2, 2026

    @metalwarrior665
    MemberAuthor

    @ruocco-l can also think how this could be useful for WCC. I think they don't need periodic tests much but could have runWhen.manual for manual worflow triggers

  2. metalwarrior665 commented on Apr 5, 2026

    @metalwarrior665
    MemberAuthor

    I clauded this as a start

  3. metalwarrior665 commented on Jun 19, 2026

    @metalwarrior665
    MemberAuthor

    This was resolved by repo config only but without the notification setup. PR was attempted here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions