Page MenuHomePhorge

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

Authored by chrisnovakovic on May 2 2023, 20:46.

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.