1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-04 11:51:02 +01:00
phorge-phorge/src/infrastructure
epriestley 2b344b2bb5 Make caches misses throw by default intead of inline-generating
Summary:
Ref T4103. Ref T10078. Currently, when a user misses a cache we just build it for them.

This is the behavior we want for the the viewer (so we don't have to build every cache up front if we don't actually need them), but not the right behavior for other users (since it allows performance problems to go undetected).

Make inline cache generation strict by default, then make sure all the things that rely on cache data request the correct data (well, all of the things identified by unit tests, at least: there might be some more stuff I haven't hit yet).

This fixes test failures in D16040, and backports a piece of that change.

Test Plan: Identified and then fixed failures with `arc unit --everything`.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4103, T10078

Differential Revision: https://secure.phabricator.com/D16042
2016-06-05 08:51:54 -07:00
..
cluster Never sever non-cluster database; write more read-only documentation 2016-04-11 08:44:11 -07:00
contentsource Modularize content sources 2016-03-26 11:59:45 -07:00
customfield Fill in new URI credential edit web UI interfaces 2016-05-02 04:26:13 -07:00
daemon make Trigger Daemon sleep correctly when one-time triggers exist 2016-04-18 14:17:10 -07:00
diff Convert Differential to new layout 2016-03-12 13:04:21 -08:00
edges Bridge GitHub users into Phabricator and attribute actions to them 2016-03-28 13:10:32 -07:00
env Before executing svnserve, change the CWD to a readable directory 2016-05-11 06:48:18 -07:00
events Modernize Hovercard implementation 2015-12-24 12:18:28 -08:00
internationalization Warn and continue when failing to extract pht() strings 2016-05-26 20:11:27 -07:00
javelin Extend from Phobject 2015-06-15 18:02:27 +10:00
lint/linter Linter fixes 2015-12-03 07:44:23 +11:00
log Extend from Phobject 2015-06-15 18:02:27 +10:00
management Modularize content sources 2016-03-26 11:59:45 -07:00
markup Improve some Phame custom domain remarkup and link behaviors 2016-06-02 06:28:06 -07:00
query Introduce "bridged" objects 2016-03-22 15:06:57 -07:00
sms Various linter fixes 2015-08-11 22:36:55 +10:00
ssh phtize all the things 2015-05-22 21:16:39 +10:00
storage Don't stop on read-only mode for read-only storage workflows 2016-05-30 09:30:43 -07:00
syntax Pass the new default syntax highlighting map to the remarkup engine 2016-05-05 02:51:19 -07:00
testing Make caches misses throw by default intead of inline-generating 2016-06-05 08:51:54 -07:00
time Make translation, timezone and pronoun into real settings 2016-06-02 06:29:47 -07:00
util Make cluster repositories more resistant to freezing 2016-04-25 11:37:31 -07:00
PhabricatorEditor.php Mark some strings for translation 2015-06-09 23:06:52 +10:00