I also noticed this on 20w10a
If a loyalty trident is trying to get back in your inventory but your inventory is full it should revolve around the player in an orbit until a slot presents itself. There is a bug in the 20w10a snapshot that has tridents consumed when a mob is hit.
I am not having an issue with this on 20w10a. Villagers will only release their occupation during mid day. The sun has to have gotten a bit into the sky. Villagers will hold their occupation until the next morning regardless of their job site block once the gathering hour has begun which is jut a bit before the sunset begins. Once it is morning again, the villager reaches job site searching period, realizes their job site block is gone and they become normal villager again. You may need to place and destroy their job site block to wake them up. Silly villagers hahahaha!!! You can check the villagers schedule on the wikis
I also have this issue on 20w10a
Also getting this issue
Set up a raid farm!