On the wire, this is done by making the server return a 503 error
instead of 500, which the RPC client generated by swh-core
interprets to change the exception class.
Depends on D8221.
Differential D8223
Convert psycopg2 errors to TransientRemoteException instead of RemoteException vlorentz on Aug 9 2022, 3:39 PM. Authored by
Details
On the wire, this is done by making the server return a 503 error Depends on D8221.
Diff Detail
Event TimelineComment Actions Build has FAILED Patch application report for D8223 (id=29668)Rebasing onto b4f289c8e8... Current branch diff-target is up to date. Changes applied before testcommit 7c7a721da2ae1dd4fd71b0d32e8b8cbaddbaa421 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Tue Aug 9 15:38:15 2022 +0200 Convert psycopg2 errors to TransientRemoteException instead of RemoteException On the wire, this is done by making the server return a 503 error instead of 500, which the RPC client generated by swh-core interprets to change the exception class. Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/1649/ Comment Actions Looks good, thanks. Please land and release D8221 so that this one can go green before pushing it? Comment Actions Build has FAILED Patch application report for D8223 (id=29668)Rebasing onto b4f289c8e8... Current branch diff-target is up to date. Changes applied before testcommit 7c7a721da2ae1dd4fd71b0d32e8b8cbaddbaa421 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Tue Aug 9 15:38:15 2022 +0200 Convert psycopg2 errors to TransientRemoteException instead of RemoteException On the wire, this is done by making the server return a 503 error instead of 500, which the RPC client generated by swh-core interprets to change the exception class. Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/1651/ Comment Actions Build is green Patch application report for D8223 (id=29668)Rebasing onto b4f289c8e8... Current branch diff-target is up to date. Changes applied before testcommit 7c7a721da2ae1dd4fd71b0d32e8b8cbaddbaa421 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Tue Aug 9 15:38:15 2022 +0200 Convert psycopg2 errors to TransientRemoteException instead of RemoteException On the wire, this is done by making the server return a 503 error instead of 500, which the RPC client generated by swh-core interprets to change the exception class. See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/1653/ for more details. |