Page MenuHomePhabricator

Make Phage agents stream output continuously
ClosedPublic

Authored by epriestley on Feb 17 2017, 10:42 PM.
Tags
None
Referenced Files
F13348643: D17378.diff
Sat, Jun 22, 10:52 PM
F13337802: D17378.diff
Wed, Jun 19, 10:02 AM
F13325376: D17378.diff
Sat, Jun 15, 1:45 AM
F13324053: D17378.id41797.diff
Fri, Jun 14, 10:44 PM
F13324051: D17378.id41785.diff
Fri, Jun 14, 10:43 PM
F13324045: D17378.id.diff
Fri, Jun 14, 10:42 PM
F13312878: D17378.diff
Tue, Jun 11, 7:15 AM
F13299382: D17378.diff
Fri, Jun 7, 7:56 AM
Subscribers
None

Details

Summary

Ref T2794. Currently, the Phage agent waits until the remote command completes before sending output back to the controller.

Instead, stream output continuously.

Also work around some kind of weirdness with error reporting that I hit but couldn't immediately figure out (maybe PHP7-related?).

Test Plan

Ran bin/phage remote --hosts ... upgrade, etc., and saw a steady stream of output across multiple hosts.

Diff Detail

Repository
rPHU libphutil
Branch
phage3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 15680
Build 20711: Run Core Tests
Build 20710: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Feb 17 2017, 11:50 PM
This revision was automatically updated to reflect the committed changes.