The entire show is setting up for history to repeat itself
20 years ago the death of Lyanna Stark and the atrocities of Aerys Targaryen resulted in Ned Stark and Robert Baratheon going to war, defeating the Targaryen armies, Jaime Lannister stabbing Aerys in the back in the throne room and clearing the way for Robert Baratheon to take the throne.
Now replace Lyanna Stark with Sansa Stark, Aerys with Danaerys (his daughter), Ned Stark with Jon Stark (his step-son), Robert with Gendry (H
One possible narrative. Not a spoiler because like Jon or Sergeant Schultz, I know nothing
Daenerys orders Sansa and Starks arrested and brought to Kings Landing. She also orders all Lords of the Houses to attend Kings Landing to bend a knee. Everybody including Briene, Gendry etc come for the final confrontation in the last episode. Daenerys intends (to put to trial and) to execute (burn) Tyrion, Sansa, Arya, Bran (i.e. all Starks), any Lords who refuses to bend a knee, and any other