Page MenuHomePhabricator

Lift logic for queueing commit import tasks into RepositoryEngine
ClosedPublic

Authored by epriestley on Jan 22 2021, 10:50 PM.
Tags
None
Referenced Files
F14634428: D21516.id51210.diff
Fri, Jan 10, 9:31 PM
Unknown Object (File)
Sun, Dec 22, 3:10 AM
Unknown Object (File)
Nov 26 2024, 12:46 PM
Unknown Object (File)
Nov 26 2024, 5:10 AM
Unknown Object (File)
Nov 22 2024, 1:12 PM
Unknown Object (File)
Oct 25 2024, 9:56 PM
Unknown Object (File)
Oct 25 2024, 1:52 AM
Unknown Object (File)
Oct 24 2024, 10:39 AM
Subscribers
None

Details

Summary

Ref T13591. There are currently two pathways to queue an import task for a commit: via repository discovery, or via a ref becoming permanent.

These pathways duplicate some logic and have behavioral differences: one does not set objectPHID properly, one does not set the priority correctly.

Unify these pathways, make them both set objectPHID, and make them both use the same priority logic.

Test Plan
  • Discovered refs.
  • See later changes in this series for more complete test cases.

Diff Detail

Repository
rP Phabricator
Branch
repair4
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 25021
Build 34524: Run Core Tests
Build 34523: arc lint + arc unit