Warning: This review contains spoilers for Season 2, Episode 8 of “The Mandalorian.”

“The Mandalorian” showrunner Jon Favreau recently revealed how the show kept Luke Skywalker’s legendary return a secret for more than a year.

What happened:

Favreau recently appeared on ABC’s “Good Morning America” program, where he discussed the Season 2 finale of “The Mandalorian” and the future of the “Star Wars” franchise on Disney+.

Favreau said there was some difficulty keeping Luke Skywalker’s return a secret for the season finale.

“It was very tricky because it’s very hard to keep a secret nowadays, especially with ‘Star Wars’ because people are so curious about it. And there are so many people involved with the process with visual effects finishing, making it, filming it, the studios everything. Every piece of casting leaked, and we were so scared right up until it aired that our surprise cameo was gonna leak too.”

‘Star Wars’ icon Mark Hamill reacts to Luke Skywalker’s return

Favreau said Mark Hamill did the filming for the scene, which allowed the crew to use specific techniques to make him look younger. Keeping a tight lip on the spoiler changed everything.

“We started off the whole series with the Baby Yoda reveal — with the Grogu reveal — that was a secret that everybody was really blown away by. Part of that is not telling too many people, not having merchandise that’s being tooled up and announced and everything. And then the very last episode having Mark Hamill actually on set filming and us using whatever technology we had available to de-age him and try to make him look as much like he did in the old films.”

Mark Hamill reveals more about his cameo

Hamill recently reacted to the surprise Luke Skywalker cameo in “The Mandalorian” Season 2 finale on Twitter, saying that keeping the scene quiet helped avoid spoilers leaking, as I wrote for the Deseret News.

  • “The fact that we were able to keep my involvement a secret for over a year with no leaks is nothing less than a miracle. A real triumph for spoiler-haters everywhere!”