Page MenuHomePhorge

Handle ERR-INVALID-AUTH responses from Conduit in patch workflow
ClosedPublic

Authored by chrisnovakovic on May 2 2023, 20:46.
Tags
None
Referenced Files
F3852676: D25178.1746127778.diff
Wed, Apr 30, 19:29
F3852342: D25178.1746123745.diff
Wed, Apr 30, 18:22
F3851323: D25178.1746117413.diff
Wed, Apr 30, 16:36
F3850675: D25178.1746115698.diff
Wed, Apr 30, 16:08
F3850674: D25178.1746115697.diff
Wed, Apr 30, 16:08
F3847319: D25178.1746106225.diff
Wed, Apr 30, 13:30
F3825925: D25178.1746031481.diff
Tue, Apr 29, 16:44
F3763550: D25178.1745839336.diff
Sun, Apr 27, 11:22

Details

Summary

Conduit responds to requests with either ERR-INVALID-SESSION or ERR-INVALID-AUTH if the request wasn't sufficiently authenticated. Arcanist's patch workflow can automatically attempt to recover from situations in which Conduit responds to unauthenticated requests with ERR-INVALID-SESSION (by resending an authenticated version of the request), but not ERR-INVALID-AUTH - recover from ERR-INVALID-AUTH in the same way.

Closes T15333

Test Plan

The company I work for has been running a local clone of Arcanist containing this change in production for over 18 months now with no problems.

Diff Detail

Repository
rARC Arcanist
Branch
patch-invalid-auth (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 341
Build 341: arc lint + arc unit

Event Timeline

Thanks for the patch and welcome in the Phorge patch waiting room

While waiting for a reviewer, feel free to enjoy and sign L1 Phorge Vision Statement

I approve this patch since a very similar thing was applied by Evan in 2014 in a nearby file and so it seems legit to me:

https://we.phorge.it/rARC511898775788a51ef54cc610625375b6249266c5

This patch still need the approval of another person from O1: Blessed Committers. In the meanwhile feel free to open a Task for this in Arcanist, and assign that Task to this review. Thanks

This revision is now accepted and ready to land.May 3 2023, 06:06

While waiting for a reviewer, feel free to enjoy and sign L1 Phorge Vision Statement

what the... what? why would you ask people to sign that?

In D25178#5469, @avivey wrote:

While waiting for a reviewer, feel free to enjoy and sign L1 Phorge Vision Statement

what the... what? why would you ask people to sign that?

I didn't actually ask for anything 😎

We are the Phorge. If you sign L1 you will be assimilated. Resistance is futile.