Page MenuHomePhabricator

Add new "Hardpoint" classes to support request parallelization
ClosedPublic

Authored by epriestley on Apr 8 2020, 3:47 PM.
Tags
None
Referenced Files
F18154997: D21071.id50200.diff
Thu, Aug 14, 9:04 PM
F18153498: D21071.id50196.diff
Thu, Aug 14, 7:40 PM
F18111920: D21071.diff
Tue, Aug 12, 2:36 PM
F18100956: D21071.id.diff
Sat, Aug 9, 12:12 PM
F17949073: D21071.id50196.diff
Jul 31 2025, 10:49 PM
F17942786: D21071.diff
Jul 31 2025, 7:10 AM
F17938400: D21071.id50200.diff
Jul 31 2025, 2:09 AM
F17755124: D21071.id.diff
Jul 22 2025, 11:55 AM
Subscribers
None

Details

Summary

Depends on D21070. Ref T11968. Adds "yield"-aware query classes for parallelizing service calls.

These will replace the similar (but not yield-aware) "Hardpoint" classes introduced previously. This is an API change but most of the old classes still exist and still do the same thing, just with more "yield" statements.

This just adds a bunch of new code with no callers and no API updates.

Test Plan

See future changes.

Diff Detail

Repository
rARC Arcanist
Branch
ref2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24014
Build 33052: Run Core Tests
Build 33051: arc lint + arc unit

Event Timeline

This also updates the XHPAST linter to target PHP 5.5 (see T13492); it complained about Generator otherwise.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 8 2020, 4:23 PM
This revision was automatically updated to reflect the committed changes.