Page MenuHomePhabricator

Internally, align commit processing tasks around PHIDs, not IDs
ClosedPublic

Authored by epriestley on Feb 1 2021, 8:07 PM.
Tags
None
Referenced Files
F18434986: D21533.id51258.diff
Sun, Aug 31, 9:45 AM
F18101334: D21533.diff
Sat, Aug 9, 12:27 PM
F18098424: D21533.id51254.diff
Fri, Aug 8, 8:06 PM
F18092514: D21533.id51258.diff
Thu, Aug 7, 11:01 AM
F17756246: D21533.id51258.diff
Jul 22 2025, 1:52 PM
F17756245: D21533.id51254.diff
Jul 22 2025, 1:52 PM
F17756030: D21533.id.diff
Jul 22 2025, 1:33 PM
F17732060: D21533.diff
Jul 20 2025, 3:52 AM
Subscribers
None

Details

Summary

Ref T13591. This is a minor consistency change to use PHIDs instead of IDs in the commit import processing pipeline. PHIDs are generally more powerful in more contexts and it would be unusual for a modern worker to use an ID here.

Test Plan
  • Made the "accept either ID or PHID" part of the change only.
  • Pushed a commit, parsed and reparsed it step by step (this tests that "commitID" tasks can still process normally).
  • Made the "write PHIDs" part of the change.
  • Pushed a commit, parsed and reparsed it step by step.
  • Looked at the task row in the database, saw PHID data.

Diff Detail

Repository
rP Phabricator
Branch
phase4
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 25068
Build 34589: Run Core Tests
Build 34588: arc lint + arc unit

Event Timeline

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.