Page MenuHomePhabricator

Remove completely pointless load of every repository when viewing a repository URI
ClosedPublic

Authored by epriestley on Feb 8 2018, 8:43 PM.
Tags
None
Referenced Files
F18830554: D19036.id45643.diff
Sat, Oct 25, 7:24 AM
F18810105: D19036.diff
Sun, Oct 19, 7:30 PM
F18683596: D19036.id45643.diff
Sep 26 2025, 7:51 AM
F18584913: D19036.id45644.diff
Sep 11 2025, 2:03 PM
F18566571: D19036.id.diff
Sep 9 2025, 2:44 PM
F18502098: D19036.diff
Sep 4 2025, 10:11 PM
F18374752: D19036.id45643.diff
Aug 28 2025, 9:11 AM
F18370907: D19036.id45644.diff
Aug 28 2025, 4:23 AM
Subscribers

Details

Summary

See D18176. This query has no effect (other than wasting resources) and the result is unused.

$repository already has the URI loaded because we load them unconditionally during request initialization.

Test Plan

Viewed repository URIs.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable