RTC PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar bembelimen
bembelimen
4 Feb 2026

Summary of Changes

We discussed in the maintainer meeting that we should use more GitHub functionality. This is the first step to auto link issues with PRs.

https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword

Testing Instructions

Code review

avatar bembelimen bembelimen - open - 4 Feb 2026
avatar bembelimen bembelimen - change - 4 Feb 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Feb 2026
Category Repository
avatar richard67
richard67 - comment - 4 Feb 2026

This is the first step to auto link issues with PRs.

Not only that, it results in the linked issue being automatically closed when the PR is merged. That saves us a lot of work. Also no need to re-open issues when a PR is closed without merging as in this case the issue will still be open.

avatar brianteeman
brianteeman - comment - 4 Feb 2026

Are you assuming that the line fixes issue # will automatically close the issue?

If so, then unless something changed recently ,then it only closes the issue when a pr is merged which I assume is not what the intent of this change is.

avatar richard67
richard67 - comment - 4 Feb 2026

Are you assuming that the line fixes issue # will automatically close the issue?

If so, then unless something changed recently ,then it only closes the issue when a pr is merged which I assume is not what the intent of this change is.

@brianteeman Exactly that is the intention. Right now we manually close an issue when a PR is created, and when that PR is closed without merging because not accepted or abandoned, we manually have to re-open the issue.

With this change here. we leave the issue open, and GitHub will automatically close it when the PR is merged.

As long as the issue is open, GitHub shows that there is a linked PR with a badge at the top. See issue #46708 and PR #46833 as example.

And in the list of PRs you can see there is a linked issue with an icon in the "reviews" column, showing also the number of linked issues.

So it is very easy to find PRs for issues and issues for PRs.

avatar bembelimen bembelimen - change - 4 Feb 2026
The description was changed
avatar bembelimen bembelimen - edited - 4 Feb 2026
avatar richard67
richard67 - comment - 4 Feb 2026

P.S. It seems some of the new contributors - those few who have already GitHub experience - already use this way to reference issues. So we just adapt to a more and more common GitHub practice.

avatar brianteeman
brianteeman - comment - 4 Feb 2026

To be clear I am not in favour of keeping issues open when we have a pr. It increases noise and means people will comment on two places.

Also have you checked if issues.joomla.org will easily show that an issue has a linked pr?

avatar richard67
richard67 - comment - 4 Feb 2026

Also have you checked if issues.joomla.org will easily show that an issue has a linked pr?

I think the tracker does not easily show that right now.

avatar HLeithner
HLeithner - comment - 4 Feb 2026

resolves sounds better but don't care too much

avatar brianteeman
brianteeman - comment - 4 Feb 2026

resolves sounds better but don't care too much

Agree as that makes sense with both bug reports and feature requests

avatar bembelimen bembelimen - change - 4 Feb 2026
Labels Added: PR-5.4-dev
avatar muhme
muhme - comment - 5 Feb 2026

The linked documentation states, “The pull request must be on the default branch.” It may only work for the current 5.4-dev branch?

Anyway, I would still prefer to use this approach and keep the related issue open until the PR is merged. For the other branches, the release managers have to close the issue manually if needed.

avatar richard67
richard67 - comment - 5 Feb 2026

The linked documentation states, “The pull request must be on the default branch.” It may only work for the current 5.4-dev branch?

Hmm, I have forgotten about that restriction. I remember now that this might have been the reason why we haven't done this change earlier. Maybe we should simply test it with some 6.0 or 6.1 PR?

avatar brianteeman
brianteeman - comment - 16 Feb 2026

Great example of why keeping issues open is confusing #46894

avatar richard67 richard67 - change - 18 Feb 2026
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 18 Feb 2026

RTC as it has 2 review approvals by maintainers and was approved by the CMS Maintenance Team.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46835.

avatar richard67 richard67 - change - 18 Feb 2026
Labels Added: RTC
avatar richard67 richard67 - change - 18 Feb 2026
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2026-02-18 19:59:57
Closed_By richard67
avatar richard67 richard67 - close - 18 Feb 2026
avatar richard67 richard67 - merge - 18 Feb 2026
avatar richard67
richard67 - comment - 18 Feb 2026

Thanks @bembelimen .

Add a Comment

Login with GitHub to post a comment