You said the trigger and piston was fitted to another gun, so you fitted second hand parts from another gun, parts that were not specifically designed for that gun, (a Diana trigger and piston fitted into a Chinese xs208, they might fit that gun but wasn't made for it) with that info I would say the parts were over stressed in the xs208, yes they might have worked faultlessly but it was dumb luck you put them in another gun before it went bang in the xs.
Second hand parts used in another gun (possibly over stressed) combined with what looks like a cast part (cast parts are good in compression but not tension)