Page MenuHomePhabricator

Update some Phabricator behaviors for changes to Futures
ClosedPublic

Authored by epriestley on Apr 3 2020, 7:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 10:15 PM
Unknown Object (File)
Sat, Nov 16, 2:23 PM
Unknown Object (File)
Mon, Nov 11, 7:19 PM
Unknown Object (File)
Fri, Nov 8, 7:53 AM
Unknown Object (File)
Mon, Nov 4, 5:16 PM
Unknown Object (File)
Sun, Nov 3, 11:48 PM
Unknown Object (File)
Fri, Nov 1, 8:45 PM
Unknown Object (File)
Sun, Oct 27, 8:40 AM
Subscribers
Restricted Owners Package

Details

Summary

Depends on D21053. Ref T11968. Three things have changed:

  • Overseers can no longer use FutureIterator to continue execution of an arbitrary list of futures from any state. Use FuturePool instead.
  • Same with repository daemons.
  • Probably (?) fix an API change in the Harbormaster exec future.
Test Plan
  • Ran "bin/phd debug task" and "bin/phd debug pull", no longer saw Future-management related errors.
  • The Harbormaster future is easiest to test by just seeing if production works once this change is deployed there.

Diff Detail

Repository
rP Phabricator
Branch
future1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23977
Build 32998: Run Core Tests
Build 32997: arc lint + arc unit

Unit TestsFailed

TimeTest
0 msAphrontHTTPSinkTestCase::testJSONContentSniff
EXCEPTION (RuntimeException): ini_set(): Cannot change zlib.output_compression - headers already sent #0 [internal function]: PhutilErrorHandler::handleError(2, 'ini_set(): Cann...', '/core/data/dryd...', 424, Array) #1 /core/data/drydock/workingcopy-85/repo/phabricator/src/aphront/response/AphrontResponse.php(424): ini_set('zlib.output_com...', '1')
0 msAlmanacNamesTestCase::testServiceOrDeviceNames
30 assertions passed.
0 msAlmanacServiceTypeTestCase::testGetAllServiceTypes
1 assertion passed.
0 msAphrontHTTPHeaderParserTestCase::testHeaderParser
18 assertions passed.
0 msAphrontHTTPSinkTestCase::testHTTPHeaderNames
2 assertions passed.
View Full Test Results (1 Failed · 427 Passed · 2 Skipped)

Event Timeline

Owners added a subscriber: Restricted Owners Package.Apr 3 2020, 7:03 PM
Harbormaster returned this revision to the author for changes because remote builds failed.Apr 3 2020, 7:04 PM
Harbormaster failed remote builds in B23977: Diff 50158!
  • Rebase on "ini_set" unit test fix.
This revision was not accepted when it landed; it landed in state Needs Review.Apr 3 2020, 7:27 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.