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
F18856483: D21071.diff
Sat, Nov 1, 9:58 AM
F18854334: D21071.id.diff
Fri, Oct 31, 11:22 PM
F18850076: D21071.diff
Thu, Oct 30, 2:15 PM
F18824525: D21071.id50200.diff
Thu, Oct 23, 4:06 PM
F18756970: D21071.id50196.diff
Oct 5 2025, 2:45 PM
F18721378: D21071.id.diff
Sep 29 2025, 9:01 PM
F18705916: D21071.diff
Sep 28 2025, 2:04 PM
F18567725: D21071.id.diff
Sep 9 2025, 4:07 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.