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)
Mon, Apr 22, 10:45 PM
Unknown Object (File)
Sat, Apr 20, 5:09 PM
Unknown Object (File)
Thu, Apr 18, 5:32 PM
Unknown Object (File)
Wed, Apr 10, 2:29 PM
Unknown Object (File)
Sat, Mar 30, 9:10 AM
Unknown Object (File)
Mar 5 2024, 1:51 AM
Unknown Object (File)
Feb 3 2024, 11:53 PM
Unknown Object (File)
Jan 9 2024, 4:37 PM
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.