Page MenuHomePhabricator

Add a `bin/conduit call` support binary
ClosedPublic

Authored by epriestley on Feb 4 2018, 2:01 PM.
Tags
None
Referenced Files
F15359581: D18987.id45538.diff
Tue, Mar 11, 7:49 AM
Unknown Object (File)
Sat, Feb 22, 5:53 AM
Unknown Object (File)
Fri, Feb 21, 10:10 AM
Unknown Object (File)
Feb 11 2025, 4:39 PM
Unknown Object (File)
Feb 9 2025, 5:11 AM
Unknown Object (File)
Feb 9 2025, 5:11 AM
Unknown Object (File)
Feb 9 2025, 5:11 AM
Unknown Object (File)
Feb 7 2025, 3:51 AM
Subscribers
None

Details

Summary

Ref T13060. See PHI343. Triaging this bug required figuring out where in the pipeline UTF8 was being dropped, and bisecting the pipeline required making calls to Conduit.

Currently, there's no easy way to debug/inspect arbitrary Conduit calls, especially when they are diffusion.* calls which route to a different host (even if you have a real session and use the web console for these, you just see an HTTP service call to the target host in DarkConsole).

Add a bin/conduit utility to make this kind of debugging easier, with an eye toward the Phacility production cluster (or other similar clusters) specifically.

Test Plan
  • Ran echo '{}' | bin/conduit call --method conduit.ping --input - and similar.
  • Used a similar approach to successfully diagnose the UTF8 issue in T13060.

Diff Detail

Repository
rP Phabricator
Branch
utf81
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19332
Build 26129: Run Core Tests
Build 26128: arc lint + arc unit