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
F14083620: D19036.id45644.diff
Sat, Nov 23, 5:03 AM
F14082750: D19036.diff
Sat, Nov 23, 1:09 AM
Unknown Object (File)
Tue, Nov 12, 6:51 AM
Unknown Object (File)
Mon, Nov 4, 2:03 PM
Unknown Object (File)
Oct 21 2024, 4:45 PM
Unknown Object (File)
Oct 16 2024, 12:20 AM
Unknown Object (File)
Sep 20 2024, 3:15 PM
Unknown Object (File)
Sep 6 2024, 2:14 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
Branch
uri1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19438
Build 26292: Run Core Tests
Build 26291: arc lint + arc unit