Page MenuHomeSoftware Heritage

cli.task_type: All task_type clis without a scheduler should raise
ClosedPublic

Authored by ardumont on Nov 25 2020, 3:40 PM.

Details

Summary

As the code will plainly fail on calling methods on None instance if not caught
early.

Caught on a node on staging (I don't have the details anymore)

Test Plan

tox happy

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 D4592 (id=16305)

Rebasing onto 9e5b17faa8...

Current branch diff-target is up to date.
Changes applied before test
commit c50763348cb09636c70d22a12393157f4ee7f8d6
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Wed Nov 25 15:30:10 2020 +0100

    cli.task_type: All task_type clis without a scheduler should raise
    
    As the code will plainly fail on calling methods on None instance if not caught
    early.

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

Build is green

Patch application report for D4592 (id=16309)

Rebasing onto 9e5b17faa8...

Current branch diff-target is up to date.
Changes applied before test
commit 1f68031c5fae7140bdbc4473b63a305992dfcc83
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Wed Nov 25 15:30:10 2020 +0100

    cli.task_type: All task_type clis without a scheduler should raise
    
    As the code will plainly fail on calling methods on None instance if not caught
    early.

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

This revision was not accepted when it landed; it landed in state Needs Review.Nov 26 2020, 4:57 PM
This revision was automatically updated to reflect the committed changes.