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
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
Unknown Object (File)
Oct 7 2024, 10:57 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