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
F19511339: D21071.diff
Mon, Jan 12, 12:53 AM
F19454852: D21071.diff
Wed, Dec 31, 3:48 AM
F19196383: D21071.id50196.diff
Dec 16 2025, 1:05 PM
F19193827: D21071.id50196.diff
Dec 16 2025, 11:17 AM
F18856483: D21071.diff
Nov 1 2025, 9:58 AM
F18854334: D21071.id.diff
Oct 31 2025, 11:22 PM
F18850076: D21071.diff
Oct 30 2025, 2:15 PM
F18824525: D21071.id50200.diff
Oct 23 2025, 4:06 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.