Skip to content

ngtests: test complex delegation graphs #1643

Closed

Description

@sechkova

Description of issue or feature request:

Add tests dedicated to forming complex delegation graphs:

  • Cyclic, diamond, big graphs
  • Delegated hashed bins (RepoSimulator doesn’t support them yet)

Explore formats for describing delegations (idea: Graphviz dot format)

Activity

  1. added
    backlog
    on Oct 27, 2021
  2. sechkova commented on Nov 22, 2021

    @sechkova
    ContributorAuthor

    Since @lukpueh is back :)) and together with @jku are working on a repository design, I'd like to resurrect an old issue #589.

    How does, according to you, the new code should treat delegations of the type

    A -> C
    B -> C
    

    given that A and B may delegate different paths, use different thresholds etc.
    Does it make sense for practical use cases? Should we simplify our life and just forbid it? Should we support it?
    We've just merged #1528 which means that the client will skip C in this example, the second time it reaches it through B (if the pathpattern is matched in both).

  3. self-assigned this
    on Nov 22, 2021
  4. added this to the Sprint 12 milestone on Nov 22, 2021
  5. jku commented on Nov 23, 2021

    @jku
    Member

    My naive thinking is that for the client 1528 is fine: in a specific target path lookup we don't want to traverse into C again if we've already visited it (results should be same), but generally speaking there's no harm in allowing C from being accessible through multiple routes: A different target path lookup might only go "targets->B->C" and I don't see why we'd want to prevent that just because A also happens to delegate something unrelated to C.

    The repository application might want to enforce simple graphs for the simplicity, but that sounds like an application decision.

  6. modified the milestones: Sprint 12, Sprint 13 on Nov 24, 2021
  7. modified the milestones: Sprint 13, Sprint 14 on Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

backlogtesting

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions