Code has very specific requirements for joining these two materials and when glue can be used vs an adapter fitting.
However, in personal experience, if the good green glue and purple primer are used these pipes are not coming apart. Problem is, you can’t always see the cement!
IPC 2018.
705.16.4 Plastic Pipe or Tubing to Other Piping Material
Joints between different types of plastic pipe shall be made with an approvedadapter fitting, or by a solvent cement joint only where a single joint is made between ABS and PVC pipes at the end of a building drainage pipe and the beginning of a building sewer pipe using a solvent cement complying with ASTM D3138. Joints between plastic pipe and other piping material shall be made with an approvedadapter fitting. Joints between plastic pipe and cast-iron hub pipe shall be made by a caulked joint or a mechanical compression joint.
The vent in the attic and roof may have been roughed in and supported awaiting for the downstream sections to be completed and never addressed afterwards.
So Brian if I’m understanding that code statement glue can only be used at the beginning and ending of house plumbing but all connections in between of ABS to PVC must be mechanical connections.
I think the code is a bit ambiguous here. My interpretation and real world application would be the homes connection to the lateral sewer pipe. Consequently, this would always be outdoors and below ground.