The times when pgautoupgrade goes wrong are rare, and they've mostly turned out to be ~99% upgrade scripting related, the containers being used in an unusual way, or unusual PostgreSQL extensions that need special treatment which we haven't yet taken into account.
ie Bitnami containers turned out to do weird things, and it took a while to get the pgautoupgrade scripting to play well with them.
The PostgreSQL 17 → 18 on disk layout change by Docker Inc's "postgres" team also caused significant problems, as they were warned it would. But they did it anyway. :(
The pg_upgrade utility which it uses, which comes with PostgreSQL itself, has been very solid.
ie Bitnami containers turned out to do weird things, and it took a while to get the pgautoupgrade scripting to play well with them.
The PostgreSQL 17 → 18 on disk layout change by Docker Inc's "postgres" team also caused significant problems, as they were warned it would. But they did it anyway. :(
The pg_upgrade utility which it uses, which comes with PostgreSQL itself, has been very solid.