Page MenuHomePhabricator

Allow construction of a ConduitEngine with a bare ConduitClient
ClosedPublic

Authored by epriestley on May 15 2020, 3:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 7, 7:59 PM
Unknown Object (File)
Wed, Jul 1, 8:57 AM
Unknown Object (File)
Jun 22 2026, 5:24 PM
Unknown Object (File)
Jun 21 2026, 3:42 AM
Unknown Object (File)
Jun 17 2026, 7:52 AM
Unknown Object (File)
Apr 3 2026, 6:38 AM
Unknown Object (File)
Apr 1 2026, 5:11 PM
Unknown Object (File)
Feb 8 2026, 3:14 AM
Subscribers
None

Details

Summary

See PHI1735. "ConduitEngine" was once a future pool, but this has moved to "HardpointEngine". This class may no longer make much sense.

In Phacility code, "bin/host upload" depends on using the Uploader, which needs a "ConduitEngine", not a "ConduitClient". This workflow may use asymmetric key signing, which "ConduitEngine" does not support.

To unblock PHI1735, provide glue code between "Client" and "Engine". But a "more correct" change is probably removal of "Engine".

Test Plan
  • Ran bin/host upload, uploaded files (with additional changes to wrap the Client).
  • Created this revision.

Diff Detail

Repository
rARC Arcanist
Branch
client1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24441
Build 33679: Run Core Tests
Build 33678: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 15 2020, 3:24 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.