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
F14095423: D19036.id45644.diff
Mon, Nov 25, 9:09 PM
Unknown Object (File)
Sat, Nov 23, 8:51 AM
Unknown Object (File)
Sat, Nov 23, 5:03 AM
Unknown Object (File)
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
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