Horrible bosses don't have to be managers, they can be more senior people on the team.
Personal issues should be taken offline, after calming down.
If you are a junior colleague trying to resolve an issue with a more senior colleague, find another senior individual to act as a mediator.
Developer to tech lead is a huge jump and changes the expectations.