Under usual flight conditions, the boundary layer remains attached to both the upper and lower surfaces all the way to the trailing edge, and its effect on the rest of the flow is modest.
The maximum lift an airfoil can produce at a given airspeed is limited by boundary-layer separation.