Well my issue really is similar to the ticket MCPE-167246, but I just genuinely believe it's different because they reported that one bad omen starts "two" raids in "separate villages" meanwhile mine starts more than two raids, and it starts both if i stay in the same village (or in my case I planted a villager with a bed on top of my pillager outpost to turn it into a tower defense) or i move into another. Raids used to be so much fun and a great source for emeralds for me but now I'm just avoiding doing raids and running away as soon as i see patrols, just to avoid all the trouble. I'm playing on a realm, if it helps.
No, it is different than my issue. I'm not referring to raid waves. if I either get a raid - victory after 7 waves (I play on hard mode) or I switch to peaceful mode to end the raid, another raid starts after around 30 seconds (after I turn the peaceful mode back off). And it doesn't end after two entire raids. it continues on and on no matter how many times I finish raids and get hero of the village title, the only way to end it is through either destroying villager beds or wait for the raid to expire. I can record a video if necessary but since raids take long to finish, it'd be a very long video and I doubt if I can upload that long of a video here.
There was a pillager outpost around 500 blocks behind the mountain where my base is, and I modified it. I filled the first floor with chests and stuff, lightened up the next 2 floors, and left the last floor untouched except putting fences and a fence gate around the place we would enter and exit the last floor. So pillagers spawn and stay on the last floor. I also placed a bed and a villager in a cage on top of the outpost's roof, which starts a raid instantly when I kill the raid captain. There's an open area around the tower and I fight the raid like a tower defense, and no I don't kill captains from the outpost further during raids.
This is what I'm doing most of the time, but;
The same issue continues and another raid starts even if I immediately fly off to my base (I have villagers in my base as well)
The same issue also continues and raids keep coming when I just defeat a patrol and enter a random village.
I have my world connected to a realm, but I also tried the raid bug outside of realm and it still continued.
Recently I saw that raids rarely stop after 2 or 3 victories, but most of the time they don't unless I end them through destroying the villager bed and putting it back.