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
F14080378: D21516.diff
Fri, Nov 22, 1:12 PM
Unknown Object (File)
Fri, Oct 25, 9:56 PM
Unknown Object (File)
Fri, Oct 25, 1:52 AM
Unknown Object (File)
Thu, Oct 24, 10:39 AM
Unknown Object (File)
Oct 7 2024, 10:57 AM
Unknown Object (File)
Oct 2 2024, 2:17 AM
Unknown Object (File)
Sep 6 2024, 8:37 AM
Unknown Object (File)
Sep 6 2024, 8:37 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable