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

Add state filter tests and handle readonly database #8

Merged
merged 5 commits into from
Jul 23, 2024

Commits on Jul 22, 2024

  1. test: add tests for state-based filtering

    Adding some tests to make sure state-based filtering of jobs works
    183amir committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    90d0210 View commit details
    Browse the repository at this point in the history
  2. fix: when the database is read-only

    It can happen that the database could be read-only but running commands like gridtk list should still work.
    183amir committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    e27a200 View commit details
    Browse the repository at this point in the history
  3. fix: more error handling

    Handle cases when job_manager.logs_dir is not relative to logs.
    Also output valid states when state callback fails.
    183amir committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    060ab66 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Configuration menu
    Copy the full SHA
    b4cf63a View commit details
    Browse the repository at this point in the history
  2. fix(cli): add range specs to --jobs' help message.

    Add an indication on how to specify ranges in the help message of the
    `--jobs` (`-j`) option of the `gridtk list` command.
    Yannick-Dayer committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    8dbf3ff View commit details
    Browse the repository at this point in the history