In plaster
First the crack is scraped open into a shallow V-groove, giving filler something to bite. Anything that shifts under thumb pressure gets pinned to lath with plaster washers. Bonding agent coats both edges, setting compound packs the groove, and fiberglass mesh bridges it. Two or three skims bring it level, spread broad enough that paint hides the transition.