Incorrect commit display for some PRs #556
Labels
No labels
Backlog Status
Needs Review
Backlog Status
Ready
Chore
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forge/forge#556
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
For some merged pull requests, the Forgejo web ui fails to show all the commits
Details
The koji repo was recently migrated to forgejo. I'm starting to notice that some PRs do not display correctly. Here is one recent example -- koji/koji#4538/commits
This merged pull request merged four separate commits, but commits tab only shows one of them.
Otoh, the commit graph does show them.
This is an imported PR, so possibly this is a problem from the import?
Dunno if this could be related to forge/forge#540
Another recent example - koji/koji#4543/commits
I haven't exhaustively checked, but these were easy to find, so I'm guessing there are lots.
Note that the diff tab is also wrong
I have worked on a fix for this. Thankfully, that did not require me to make changes to the existing testcases.
I am unable to make pull requests on Codeberg at the moment but I will link it here once I have created one.
Here's the pull request https://codeberg.org/forgejo/forgejo/pulls/12433
Now we sit tight
Am I correct in thinking that this fix will fix future imports, but not existing ones?
Yeah, this is unfortunately not a retroactive fix.
But feel free to reimport things if the contextual background is crucial.
The pull request was merged and backported.
I will keep this open until we are sure that the changes made it to Fedora Forge.
@lenkaseg thank you for incorporating the fix into our v15 deployment.
Once that gets out of the magic hat, @mikem give it another try please?
For some of my repos, I could probably do a re-import. In any case, I can certainly run a test to verify. How do I know when it's actually deployed?
Unfortunately with the Koji repo, the situation is complicated. The new forgejo koji repo has already diverged quite a bit from the original paguer. There are numerous comments, issues, pull requests, and merges. We can't simply re-import here, or we'll lose that recent history. Is there any chance that we could manage to fix our existing MRs in place, perhaps with a client script?
@mikem see #570. Once the v15.x makes it to the production, this would be worked upon to retroactively resolve the commit histories of the migrated across pull requests. Until then, we are blocked on the v15.x deployment on the production environment.
It is deployed now.
@mikem i also have the serverside fix in place now too, will run it on koji and the other repos in the koji org too.
have run the repair tool on the following repos: