Page MenuHomeSoftware Heritage

common/service: Ensure to get last status when looking up origin visit
ClosedPublic

Authored by anlambert on Jul 2 2020, 3:01 PM.

Details

Summary

Now that visit statuses are decoupled from visits, ensure to get last status
when looking up an origin visit otherwise erroneous visit info will be
reported by the web application.

Diff Detail

Repository
rDWAPPS Web applications
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 D3395 (id=12038)

Rebasing onto 76d9162807...

Current branch diff-target is up to date.
Changes applied before test
commit a4da1d819a459da3e0215660212778818c83de9e
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Thu Jul 2 14:51:43 2020 +0200

    common/service: Ensure to get last status when looking up origin visit
    
    Now that visit statuses are decoupled from visits, ensure to get last status
    when looking up an origin visit otherwise erroneous visit info will be
    reported by the web application.

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

This revision is now accepted and ready to land.Jul 2 2020, 3:25 PM