Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hosting failed but action reports success #4257

Open
mawinter69 opened this issue Jan 10, 2025 · 1 comment
Open

Hosting failed but action reports success #4257

mawinter69 opened this issue Jan 10, 2025 · 1 comment
Labels

Comments

@mawinter69
Copy link
Contributor

Reproduction steps

The hosting request for #4242 failed after forking the repository with

21:44:09.237 [main] INFO  i.j.i.r.hosting.Hoster - Forking hiddenlayer-jenkins-plugin
21:44:12.033 [main] ERROR i.j.i.r.hosting.Hoster - Failed to fork a repository: 
org.kohsuke.github.HttpException: {"message":"Validation Failed","errors":[{"resource":"Repository","code":"custom","field":"name","message":"name a repository operation is already in progress"}],"documentation_url":"https://docs.github.com/rest/repos/repos#update-a-repository","status":"422"}

Actually forking succeeded as the new repo is available in the jenkinsci org. But all following steps like setting up the issue tracker,
setting up permissions, creating the PR in this project, adding a message to the hosting request issue failed.

But the action reports success.

Expected Results

A message is sent to the hosting request issue that there was an error.

Actual Results

No message about success or failure

Anything else?

No response

@mawinter69 mawinter69 added the bug label Jan 10, 2025
@timja
Copy link
Member

timja commented Jan 10, 2025

Similar error to what was fixed in #4208

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants