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

Can't merge into main branch. #1664

Closed
volodya-lombrozo opened this issue Mar 27, 2023 · 6 comments · Fixed by #1670
Closed

Can't merge into main branch. #1664

volodya-lombrozo opened this issue Mar 27, 2023 · 6 comments · Fixed by #1670

Comments

@volodya-lombrozo
Copy link
Contributor

When I'm trying to merge something into main branch I get the next exception:

404 Not Found [https://api.github.com/repos/volodya-lombrozo/jtcop/contents/.rultor.yml?ref=master]
Server: GitHub.com
Date: Mon, 27 Mar 2023 16:45:21 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
X-OAuth-Scopes: admin:org, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow
X-Accepted-OAuth-Scopes: 
X-GitHub-Media-Type: github.v3
X-Github-Api-Version-Selected: 2022-11-28
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4717
X-RateLimit-Reset: 1679938419
X-RateLimit-Used: 283
X-RateLimit-Resource: core
Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset
Access-Control-Allow-Origin: *
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
X-Frame-Options: deny
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
Content-Security-Policy: default-src 'none'
Vary: Accept-Encoding, Accept, X-Requested-With
X-GitHub-Request-Id: D120:74CF:5FB528:C411F6:6421C821

{"message":"No commit found for the ref master","documentation_url":"https://docs.github.com/v3/repos/contents/"}
Expected: HTTP response with status 200
     but: was <404 Not Found [https://api.github.com/repos/volodya-lombrozo/jtcop/contents/.rultor.yml?ref=master]
Server: GitHub.com
Date: Mon, 27 Mar 2023 16:45:21 GMT
Content-Type: application/json; charset=utf-8
Transfer-Encoding: chunked
X-OAuth-Scopes: admin:org, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow
X-Accepted-OAuth-Scopes: 
X-GitHub-Media-Type: github.v3
X-Github-Api-Version-Selected: 2022-11-28
X-RateLimit-Limit: 5000
X-RateLimit-Remaining: 4717
X-RateLimit-Reset: 1679938419
X-RateLimit-Used: 283
X-RateLimit-Resource: core
Access-Control-Expose-Headers: ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset
Access-Control-Allow-Origin: *
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
X-Frame-Options: deny
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Referrer-Policy: origin-when-cross-origin, strict-origin-when-cross-origin
Content-Security-Policy: default-src 'none'
Vary: Accept-Encoding, Accept, X-Requested-With
X-GitHub-Request-Id: D120:74CF:5FB528:C411F6:6421C821

{"message":"No commit found for the ref master","documentation_url":"https://docs.github.com/v3/repos/contents/"}>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at com.jcabi.http.response.RestResponse.assertStatus(RestResponse.java:109)
	at com.jcabi.github.RtContents.content(RtContents.java:260)
	at com.jcabi.github.RtContents.get(RtContents.java:174)
	at com.rultor.profiles.GithubProfile.yml(GithubProfile.java:310)
	at com.rultor.profiles.GithubProfile.read(GithubProfile.java:136)
	at com.rultor.agents.github.qtn.QnByArchitect.understand(QnByArchitect.java:106)
	at com.rultor.agents.github.qtn.QnAlone.understand(QnAlone.java:96)
	at com.rultor.agents.github.qtn.QnIfCollaborator.understand(QnIfCollaborator.java:84)
	at com.rultor.agents.github.qtn.QnFirstOf.understand(QnFirstOf.java:81)
	at com.rultor.agents.github.qtn.QnFollow.understand(QnFollow.java:85)
	at com.rultor.agents.github.qtn.QnWithAuthor.understand(QnWithAuthor.java:72)
	at com.rultor.agents.github.qtn.QnParametrized.understand(QnParametrized.java:89)
	at com.rultor.agents.github.qtn.QnReaction.understand(QnReaction.java:96)
	at com.rultor.agents.github.qtn.QnReferredTo.understand(QnReferredTo.java:104)
	at com.rultor.agents.github.qtn.QnNotSelf.understand(QnNotSelf.java:75)
	at com.rultor.agents.github.qtn.QnSince.understand(QnSince.java:79)
	at com.rultor.agents.github.qtn.QnSafe.understand(QnSafe.java:75)
	at com.rultor.agents.github.Understands.parse(Understands.java:197)
	at com.rultor.agents.github.Understands.process(Understands.java:131)
	at com.rultor.agents.AbstractAgent.execute(AbstractAgent.java:70)
	at com.rultor.spi.Agent$Iterative.execute(Agent.java:84)
	at com.rultor.Routine.process(Routine.java:202)
	at com.rultor.Routine.unsafe_aroundBody0(Routine.java:180)
	at com.rultor.Routine$AjcClosure1.run(Routine.java:1)
	at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:179)
	at com.jcabi.aspects.aj.MethodInterrupter.wrap(MethodInterrupter.java:108)
	at com.rultor.Routine.unsafe(Routine.java:175)
	at com.rultor.Routine.run(Routine.java:142)
	at com.jcabi.log.VerboseRunnable.run(VerboseRunnable.java:190)
	at com.jcabi.aspects.aj.MethodScheduler$Service.lambda$0(MethodScheduler.java:194)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at com.jcabi.log.VerboseThreads$Wrap.run(VerboseThreads.java:222)
	at java.base/java.lang.Thread.run(Thread.java:833)

It happened in several repositories:

@volodya-lombrozo
Copy link
Contributor Author

@yegor256 Maybe you deployed an old version of Rultor?

@yegor256
Copy link
Owner

@rultor release, tag is 1.74.5

yegor256 added a commit that referenced this issue Mar 27, 2023
@rultor
Copy link
Collaborator

rultor commented Mar 27, 2023

@rultor release, tag is 1.74.5

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented Mar 27, 2023

@rultor release, tag is 1.74.5

@yegor256 Done! FYI, the full log is here (took me 9min)

@yegor256
Copy link
Owner

@volodya-lombrozo this is the latest one

@volodya-lombrozo
Copy link
Contributor Author

volodya-lombrozo commented Mar 27, 2023

@yegor256 Hm... Looks strange. I will investigate it then, because the new version of Rultor doesn't merge into main branch either.

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

Successfully merging a pull request may close this issue.

3 participants