Skip to content
  • Pierre-Yves David's avatar
    obsolete: fix relevant-obsmarkers computation on pruned changeset · 176d1a0ce385
    Pierre-Yves David authored
    The markers pruning a node was not directly considered relevant for the pruned
    node, only to its parents.
    
    This went unnoticed during obsmarkers exchange because all
    ancestors of the pruned node would be included in the computation.
    This still affects obsmarkers exchange a bit since "inline" prune markers would
    be ignored (see second test case). This went unnoticed, because in such case,
    we always push another obsolescence markers for that node.
    
    We add explicit tests covering this case.
    
    (The set of relevant changeset is use in the obsmarkers discovery protocol used
    in the evolve experimental extension, the impact will be handled on the
    extension side).
    176d1a0ce385