Page MenuHomePhabricator

Improve consistency in use of "via", "objectPHID", and "containerPHID" parameters in repository workers
ClosedPublic

Authored by epriestley on Feb 1 2021, 7:44 PM.
Tags
None
Referenced Files
F19083413: D21532.id51259.diff
Dec 2 2025, 12:35 PM
F19083412: D21532.id51253.diff
Dec 2 2025, 12:35 PM
F19008678: D21532.id.diff
Nov 21 2025, 10:12 PM
F18998688: D21532.diff
Nov 20 2025, 7:26 PM
F18993591: D21532.id51252.diff
Nov 19 2025, 8:12 AM
F18803341: D21532.diff
Oct 17 2025, 10:56 PM
F18765694: D21532.diff
Oct 7 2025, 12:34 PM
F18759253: D21532.id.diff
Oct 6 2025, 2:41 AM
Subscribers
None

Details

Summary

Ref T13591. Improve how parameters are passed between commit worker tasks:

  • Always pass "via", to track where tasks came from.
  • Always provide "objectPHID" (with the commit PHID).
  • Always provide "containerPHID" (with the repository PHID).
Test Plan
  • Pushed a new commit.
  • Ran bin/repository pull + bin/repository discover, saw commit with all parameters.
  • Ran bin/worker execute ..., saw a Change worker and then a Publish worker with appropriate parameters.
  • Ran bin/repository reparse ... --background, saw workers queue with appropriate parameters.

Diff Detail

Repository
rP Phabricator
Branch
phase3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 25067
Build 34587: Run Core Tests
Build 34586: arc lint + arc unit

Event Timeline

  • Include skips for SVN tests with no SVN on system.
This revision was not accepted when it landed; it landed in state Needs Review.Feb 2 2021, 9:40 PM
This revision was automatically updated to reflect the committed changes.