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

ARTEMIS-5153 Mark federation events and control queues as internal #5345

Merged

Conversation

tabish121
Copy link
Contributor

In order to better indicate their nature as broker feature specific queues we can mark the temporary queues created for AMQP federation events and control link messages as internal.

@tabish121
Copy link
Contributor Author

I've run the full test suite on this without any new failures

@clebertsuconic
Copy link
Contributor

@tabish121 I'm puzzled to this check style.. I can't reproduce it locally.. and my test suite also worked fine.

Same thing on my PR I just sent.

@brusdev
Copy link
Member

brusdev commented Nov 14, 2024

Those failure are false positive, the checks passed on my fork, see https://github.com/brusdev/activemq-artemis/actions/runs/11833280900

@gemmellr
Copy link
Member

gemmellr commented Nov 14, 2024

Its not a false positive...but the issue isnt in the PR changes, the issue was on main, so the PR run failed but a run of the source branch (which lacked the problem commit) wouldnt.

Caused by #5338 being merged despite the check jobs failing. Should hopefully be fixed by 8d02f8d

In order to better indicate their nature as broker feature specific queues
we can mark the temporary queues created for AMQP federation events and
control link messages as internal.
@gemmellr gemmellr force-pushed the amqp-federation-mark-queues-internal branch from a5ce746 to 6a15804 Compare November 14, 2024 09:30
@gemmellr
Copy link
Member

I rebased the PR, bringing the problem and fix commits into the source branch, and triggering a fresh fully-up-to-date PR run which passed the checks.

@gemmellr gemmellr merged commit 7555319 into apache:main Nov 14, 2024
8 checks passed
@clebertsuconic
Copy link
Contributor

so weird how the checkstyle was not working for me locally.

as for the PR I merged.. I had one previous build where it passed and I had only done a simple merge.

Sorry for the hassle and thanks for fixing it.

@gemmellr
Copy link
Member

Probably not that weird.

This PR, and your PR, didnt have the problem commit on the source branches, so their jobs would work in the fork repos, and the build would work locally. You merged the other/earlier PR which broke main, just before these 2 PRs were raised/updated 1-commit-from-head. When the new PRs were raised they ran on the merge result against the main base branch, so those runs can then give a different result than local/fork runs when the source branches arent based at the head of main at the point the PRs are raised.

I also upgraded Checkstyle a couple of days ago, so seems like there was perhaps also a change in its behavior inbetween your different runs on the problem PR spanning that update, which you would presumably have also brought in when rebasing and pushing.

Basically doubly bad timing, and good example of 'just a simple rebase' still often needing at least a re-build if not re-test.

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 this pull request may close these issues.

4 participants