1. What was the party composition?
2. What did you fight?
3. How did the fight go? Did you enjoy it? Was it too easy or too hard?
4. What would you change to make very high-level encounters better?
Back when my dad and I were play testing Pathfinder, I made it all the way to 18th level (won the campaign too)
1) My party composition (I was playing as all 4) was Abberant Sorcerer, Fighter, Ranger, and Rune Cleric
2) okay, this is a little complicated. Basically, it was a homebrew half-fiend underworld imperial dragon advanced to somewhere around CR 26. The backstory of my dad's campaign was that this dragon was first tunneling underneath various cities, and then attacking them from underground with its army of ash Giants, salamanders, and grave knights, and then finally torching the place on the way out.
In-game, to increase its own fighting power, the dragon had commanded its alchemist slaves to modify its physiology so as to make ranged attacks almost useless against it. Think 5e damage resistance with a -15 chance to hit with any attack made at range.
3) Controlling 4 PCs at one time was tedious, but my dad has a masterful grasp of theater-of-the-mind, so at least his description of how it all went down for the endgame fight was awesome. The fight itself was pretty dangerous . . . After defeating the BBEG, all of my PCs were below 10 hp, and the fighter (who landed the killing blow) was at 1 hp.
4) the end fight took place in a city under siege by the dragon. There were buildings on fire and collapsing all around me. The king and his Royal Guard were helping to fight back against the invaders . . . Although at a snails pace at the table in actual gameplay, the image in my head for what was happening in-game was that the whole thing was crazy, complicated, desperate, and awesome. I'm not sure it could have been improved.