Page MenuHomePhabricator

Filter archived packages out of the "controlling packages" query earlier
ClosedPublic

Authored by epriestley on Feb 27 2017, 8:11 PM.
Tags
None
Referenced Files
F15468083: D17427.diff
Thu, Apr 3, 8:10 PM
F15391237: D17427.id41907.diff
Sat, Mar 15, 8:56 AM
F15381896: D17427.diff
Fri, Mar 14, 9:49 AM
F15308353: D17427.id41907.diff
Mar 6 2025, 6:11 AM
F15293638: D17427.id41906.diff
Mar 5 2025, 4:30 AM
F15285814: D17427.id.diff
Mar 4 2025, 4:09 PM
F15284932: D17427.diff
Mar 4 2025, 10:59 AM
Unknown Object (File)
Mar 1 2025, 10:09 PM
Subscribers
None

Details

Summary

Ref T12319. Currently, we end up filtering archived packages out once for each path. This shows up on a profile from an install as meaningfully expensive:

https://secure.phabricator.com/xhprof/profile/PHID-FILE-7kmpevyr22aih4s2vyln/?symbol=PhabricatorOwnersPackage::isArchived

Instead, filter them out before we do any work.

Test Plan

Viewed a revision, still saw packages.

Screen Shot 2017-02-27 at 12.08.44 PM.png (602×2 px, 126 KB)

Diff Detail

Repository
rP Phabricator
Branch
owners2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 15807
Build 20903: Run Core Tests
Build 20902: arc lint + arc unit