-
Notifications
You must be signed in to change notification settings - Fork 2
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
Cannot Update Merged PR status. #72
Comments
@EminUZUN I apologize for the late response here, I was out sick all last week. Thanks for the report. Do the jobs make successful commits to I would expect that the merged data appears in There are a couple things that might be happening here that might not be working as expected. First, when a Merge Job is triggered a new Docker container is created that runs Next, when DoltLab's Remote API receives a It appears that this internal RPC (after the first Merge Job succeeded) failed to reconcile the state of PR #742. I will try to determine how this might have occurred and add some additional logs within the internal RPC to give us better clues about what is happening. If my expectation is correct that the first Merge Job for PR #742 actually performed the merge and updated I believe these subsequent Jobs ran I will make this fix to the Merge Job and schedule a DoltLab release. In the meantime, you can manually change the state of the pull request using the select id from repositories where name = <db name>; # retrieve the id of the database
update pulls set state = 3 where repository_id_fk = <repository id> and id = 742; # update pull 742's state to merged |
Please try the latest DoltLab, it has some fixes for the Jobs, and additional logs. |
Do the jobs make successful commits to main each time, or did only the first successful job make a commit on main? I made a manual remote gc. On new PR's I don't have this issue. But we will deploy the fix a.s.a.p. |
Hey @coffeegoddd, We have this issue still. I have checked with 1.1.1 today. Original PR is being merged. But status is not changing. I need to update status from database. (As when fork is deleted pull activity is being deleted also). |
@EminUZUN can you please share the commit log showing the empty commit from the second merge job? Also, so I can try to reproduce this bug on my end, can you share the size of the database, the number of open PRs and merged PRs (this is visible on the database list page). Also can you email the |
Size of db 5.58 mb |
Hi,
When I try to merge pull request, the job succeeds it commits changes to main repo but It does not change status of pr to merged.
When I click "merge" again. job succeeds each time.
The text was updated successfully, but these errors were encountered: