Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forbid failing incidents from being scheduled in aggregates #154

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Commits on Mar 5, 2024

  1. Configuration menu
    Copy the full SHA
    df781d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0b104a View commit details
    Browse the repository at this point in the history
  3. Be lazy and setup the environment via Makefile

    Let the build system die if any errors are found, this is intended for
    local development only.
    foursixnine authored and Martchus committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    d2d50ab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6cbf0da View commit details
    Browse the repository at this point in the history
  5. Improve logging and test flow

    foursixnine authored and Martchus committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    43c19fd View commit details
    Browse the repository at this point in the history
  6. Adjust comments to match the code

    foursixnine authored and Martchus committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    593e320 View commit details
    Browse the repository at this point in the history
  7. Fix bug in initial implementation of has_failures

    Leave early when filtering incidents to schedule, as incidents that have
    failures don't need further processing. Adjust tests accordingly fixing
    that ugly off by one
    foursixnine authored and Martchus committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    335bfb8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6c51898 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3a5d974 View commit details
    Browse the repository at this point in the history
  10. Make Rename venv and make target

    foursixnine authored and Martchus committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    6e8ac98 View commit details
    Browse the repository at this point in the history
  11. Handle job status and review comments properly

    - While incidents are less likely to have an exception comment, there are
      cases where a failing aggregate from day before, might impact an
      incident on its own to be scheduled
    
    - We want to accept only passed results without questioning,
      anything else, will need to have an acceptable_for, following the
      discussion in [1]
    
    [1] https://github.com/openSUSE/qem-bot/pull/154/files#r1474042954
    foursixnine authored and Martchus committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    cc194ea View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9ae8960 View commit details
    Browse the repository at this point in the history
  13. Extract copy&pasted regexp introduced in dd958dc

    The code used by approver doesn't seem to use Incidents class and a
    rewrite at this point has less benefit than simply extracting the
    duplicated regular expression. A TODO has been left in place to keep
    track for subsequent PRs steming from discussion in [1]
    
    [1] openSUSE#154 (comment)
    foursixnine authored and Martchus committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    056f1e3 View commit details
    Browse the repository at this point in the history
  14. Fix VENV variable in Makefile

    foursixnine authored and Martchus committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    44ad49f View commit details
    Browse the repository at this point in the history
  15. Update tests to new changes introduced to 62cb3d2

    qem-bot's data is normalized, so either passed or failed.
    foursixnine authored and Martchus committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    d5b05e2 View commit details
    Browse the repository at this point in the history
  16. Be explicit about the TODO

    foursixnine authored and Martchus committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    36ed6db View commit details
    Browse the repository at this point in the history