Skip to content

Race condition at the "delete existing repos" confirmation #11

Description

@stefanbente

If you are not VERY quick in typing "y" in the "delete existing repos" confirmation, you get the following error:

[Info][f3792b92-b340-4551-96e2-69660d86f28e] An error occurred while generating repository (Members: fkrampe)
Error: Bad Request
at throwFailedRequestError (file:///C:/Users/stefa/Documents/Git/divekit-automated-repo-setup/node_modules/@gitbeaker/rest/dist/index.mjs:59:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async defaultRequestHandler (file:///C:/Users/stefa/Documents/Git/divekit-automated-repo-setup/node_modules/@gitbeaker/rest/dist/index.mjs:86:7)
at async file:///C:/Users/stefa/Documents/Git/divekit-automated-repo-setup/node_modules/@gitbeaker/core/dist/index.mjs:130:22
at async GitlabRepositoryAdapter.createCodeRepository (file:///C:/Users/stefa/Documents/Git/divekit-automated-repo-setup/build/main.mjs:370:69)
at async ContentProvider.prepareRepositoryManager (file:///C:/Users/stefa/Documents/Git/divekit-automated-repo-setup/build/main.mjs:1354:5)
at async ContentProvider.provideRepositoriesWithContent (file:///C:/Users/stefa/Documents/Git/divekit-automated-repo-setup/build/main.mjs:1283:5)
at async RepositoryCreator.createRepository (file:///C:/Users/stefa/Documents/Git/divekit-automated-repo-setup/build/main.mjs:1765:7) {
[cause]: {
description: '{\n' +
' "project_namespace.name": [\n' +
' "has already been taken"\n' +
' ],\n' +
' "base": [\n' +
' "The project is still being deleted. Please try again later."\n' +
' ]\n' +
'}',
response: Response {
[Symbol(realm)]: null,
[Symbol(state)]: [Object],
[Symbol(headers)]: [HeadersList]
}
}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions