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)
Feb 17 2024, 2:10 AM
Unknown Object (File)
Jan 25 2024, 2:29 AM
Unknown Object (File)
Jan 20 2024, 4:42 PM
Unknown Object (File)
Jan 16 2024, 5:40 PM
Unknown Object (File)
Jan 12 2024, 5:30 PM
Unknown Object (File)
Jan 11 2024, 10:25 AM
Unknown Object (File)
Jan 8 2024, 5:40 PM
Unknown Object (File)
Jan 5 2024, 1:17 PM
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