Page MenuHomeSoftware Heritage

grab_next_visits: Open lister name and instance name filtering
ClosedPublic

Authored by ardumont on Dec 6 2022, 5:04 PM.

Diff Detail

Repository
rDSCH Scheduling utilities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D8928 (id=32150)

Could not rebase; Attempt merge onto ff75e742ee...

Updating ff75e74..cd16fce
Fast-forward
 swh/scheduler/backend.py               | 23 +++++++++++++++++++++--
 swh/scheduler/cli/origin.py            | 19 ++++++++++++++++---
 swh/scheduler/interface.py             |  5 +++++
 swh/scheduler/tests/common.py          |  2 +-
 swh/scheduler/tests/test_cli_origin.py |  9 ++++++++-
 swh/scheduler/tests/test_scheduler.py  | 33 ++++++++++++++++++++++++++++-----
 swh/scheduler/tests/test_utils.py      |  4 ++--
 7 files changed, 81 insertions(+), 14 deletions(-)
Changes applied before test
commit cd16fce903adde6bd6c9208871260c47c54d5423
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Tue Dec 6 17:01:41 2022 +0100

    grab_next_visits: Open lister name and instance name filtering
    
    Related to https://gitlab.softwareheritage.org/infra/sysadm-environment/-/issues/4674

commit a7769639df76bd2de93911cf10fb9e50d7d15b64
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Tue Dec 6 12:24:33 2022 +0100

    send-to-celery: Adapt to schedule from lister name & instance_name
    
    This allows to bypass the lister id retrieval step using directly the name and instance
    name of the lister to discover the uuid.
    
    This also drops the --lister-uuid flag which is somewhat difficult to use.
    
    Related to https://gitlab.softwareheritage.org/infra/sysadm-environment/-/issues/4674

See https://jenkins.softwareheritage.org/job/DSCH/job/tests-on-diff/575/ for more details.

This revision was not accepted when it landed; it landed in state Needs Review.Dec 6 2022, 6:12 PM
This revision was automatically updated to reflect the committed changes.

num num num... i did not mean to push that one.
Please, tell me if i need to revert it...