Skip to content

Race condition in primer cloned project caching #9219

Open
@jacobtylerwalls

Description

@jacobtylerwalls

See logs showing a project (astroid) cached with the wrong SHA, because a commit landed in astroid between the steps:

Get commit string step:

'astroid' remote is at commit '5de983ac'.

Regenerate cache step:

Cloned 'astroid' at commit '680b40bfd2dc774af0a1047798cc98f06fce7a56'.

Post restore projects step (cache upload):

Cache saved with key: Linux-3.12-5de983ac_...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug 🪲Needs PRThis issue is accepted, sufficiently specified and now needs an implementationprimer

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions