Page MenuHomePhabricator

Remove support for old Conduit versions
AbandonedPublic

Authored by joshuaspence on Jan 1 2015, 7:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 4, 11:09 PM
Unknown Object (File)
Sat, Mar 30, 4:23 AM
Unknown Object (File)
Fri, Mar 29, 10:02 PM
Unknown Object (File)
Mar 25 2024, 10:37 PM
Unknown Object (File)
Feb 3 2024, 1:39 AM
Unknown Object (File)
Jan 31 2024, 9:56 PM
Unknown Object (File)
Jan 10 2024, 9:48 AM
Unknown Object (File)
Jan 10 2024, 9:48 AM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Summary

Whilst we don't immediately gain anything by dropping support for old Conduit versions, version 6 has been in the wild for a long time now (see D4077).

Test Plan
> echo '{"client": "arc", "clientVersion": 4, "user": "josh"}' | arc --conduit-uri=http://phabricator.local call-conduit 'conduit.connect'
Waiting for JSON parameters on stdin...
{"error":"NEW-ARC-VERSION","errorMessage":"NEW-ARC-VERSION: A new version of arc is available! You need to upgrade to connect to this server (you are running version 4, the server is running version 6).","response":null}

Diff Detail

Repository
rP Phabricator
Branch
master
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3447
Build 3454: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Remove support for old Conduit versions.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence edited the test plan for this revision. (Show Details)

FWIW, I wish arc --conduit-version 5 would work here, but it doesn't seem to work with the call-conduit workflow.

epriestley edited edge metadata.

I don't want to force users to upgrade without there being actual protocol changes, especially since the cost of leaving these lines around is very close to 0.

There are a nontrivial number of users on corporate installs that may be using a local clone or something, and this'll cause headaches.

We'll probably bump the version again sooner or later (maybe for T5955), although ideally we never need to ever again (thanks to methods like conduit.query and conduit.getcapabilities). Version bumping caused a bunch of suckage for for users who were forced to upgrade in the past.

This revision now requires changes to proceed.Jan 5 2015, 7:36 PM