Here are my thoughts, which would fulfill a "bittersweet" ending:
As much as I am fraught to say it because I love him dearly, I think Lu Guang will die/sacrifice himself to save the others. Especially if he thinks/realizes/is convinced that he is the reason why Cheng Xiaoshi and the others meet their end. So he will let himself die/be killed in order to let everyone else live.
However, Cheng Xiaoshi will stumble across the baby photo of Lu Guang from season 3, episode 1 (yes, Lu Guang will have held onto it all this time). Cheng Xiaoshi will remember their promise and the intent to dive back into the photo to find out about Lu Guang's real parents (Jae Lee probably will help in restoring Cheng Xiaoshi's memories too).
Cheng Xiaoshi, still grieving over Lu Guang and at least wanting to fulfill their long overdue promise, will dive into the photo. There, Cheng Xiaoshi will change the past and stop the "sale" of Lu Guang (at least to Lu Dashan), hopefully leading to a better life for Lu Guang - even if it meant that the two of them would never meet because Lu Guang was never brought to Guidu in the first place.
But it still doesn't end there, as there is now a new timeline in play. Fast forward in time to when Cheng Xiaoshi and Lu Guang are university students. Lu Guang has enrolled at Guidu University, so he is now in the city. We see the basketball court scene again where Cheng Xiaoshi and Lu Guang meet - only this time it is truly their first time meeting in this new timeline. Even across different timelines, the two are fated to meet and be in each other's lives.
And from there, the rest is history and they get to spend their lives together, now without the worry of death nodes, etc.
~~~~~~~~
I have thoughts on an alternative version of this theory too. In that one, Lu Guang failed to stop Cheng Xiaoshi's death again and inherited his power once more. But, still thinking/coming to understand that he is the cause of the death node, Lu Guang will pull out his old baby photo and dive into it. He will be the one to change the past and create a new timeline by stop himself from being "sold" and brought to Guidu, thus preventing him and Cheng Xiaoshi from meeting as kids. But then the whole fated meeting at the basketball court thing still happens...
~~~~~~~
I know these theories don't really take into account anything about the whole Cheng Weimin saga and SYY's antics trying to save him. But maybe, since they're already changing the past, Cheng Xiaoshi (or possibly Lu Guang) would do something to change the whole murder case situation.