Page MenuHomePhabricator

Update buildable containerPHIDs in a proper way via BuildWorker rather than via sneaky uncoordinated write
ClosedPublic

Authored by epriestley on Feb 12 2018, 8:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 12:31 PM
Unknown Object (File)
Oct 18 2024, 10:34 PM
Unknown Object (File)
Oct 17 2024, 8:30 PM
Unknown Object (File)
Oct 9 2024, 8:51 AM
Unknown Object (File)
Sep 29 2024, 12:13 AM
Unknown Object (File)
Sep 28 2024, 10:28 PM
Unknown Object (File)
Sep 14 2024, 4:38 PM
Unknown Object (File)
Sep 6 2024, 2:18 AM
Subscribers
Restricted Owners Package

Details

Summary

Depends on D19065. Ref T13054. Instead of just updating containerPHID and hoping for the best, queue a proper BuildWorker to process a "your container has changed, update it" message.

We also need to remove a (superfluous) withContainerPHIDs() when loading active diffs for a revision.

Test Plan
  • Without daemons, created a revision and saw builds stick in "preparing" with no container PHID, but also stay in draft mode.
  • With daemons, saw builds actually build and get the right container PHID.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a subscriber: Restricted Owners Package.Feb 12 2018, 8:11 PM
This revision was not accepted when it landed; it landed in state Needs Review.Feb 12 2018, 8:18 PM
This revision was automatically updated to reflect the committed changes.