1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +01:00
phorge-phorge/src/infrastructure
epriestley 1ee426e4ac Add a specialized cache for storing "has setup ever worked?"
Summary:
Ref T11613. In D16503/T11598 I refined the setup flow to improve messaging for early-stage setup issues, but failed to fully untangle things.

We sometimes still try to access a cache which uses configuration before we build configuration, which causes an error.

Instead, store "are we in flight / has setup ever worked?" in a separate cache which doesn't use the cache namespace. This stops us from trying to read config before building config.

Test Plan:
Hit bad extension error with a fake extension, got a proper setup help page:

{F1812803}

Solved the error, reloaded, broke things again, got a "friendly" page:

{F1812805}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11613

Differential Revision: https://secure.phabricator.com/D16542
2016-09-12 08:04:32 -07:00
..
cluster Distinguish between unreachable cluster database hosts and missing MySQL databases 2016-09-02 08:23:21 -07:00
contentsource Redesign Config Application 2016-08-29 15:49:49 -07:00
customfield Fix ContainsConstraints for array-valued custom field constraints in "*.search" methods 2016-09-07 09:08:10 -07:00
daemon Updated the docs so chatbots can use the Conduit API 2016-08-24 19:05:30 -04:00
diff Improve "thread" rendering of unusually-shaped graphs 2016-07-01 11:15:24 -07:00
edges Log and continue when trying to destroy edges with no edge definition 2016-06-23 06:45:17 -07:00
env Add a specialized cache for storing "has setup ever worked?" 2016-09-12 08:04:32 -07:00
events Modernize Hovercard implementation 2015-12-24 12:18:28 -08:00
graph Fix task graph fatal for graphs containing restricted tasks 2016-07-29 07:21:45 -07:00
internationalization Provide a workflow to restart Harbormaster builds 2016-09-02 13:32:02 +00: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 Add inline styles for {key ...} in HTML mail 2016-09-08 17:10:58 -07:00
query Make limits and ranges work better with Calendar event queries 2016-07-13 15:39:00 -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 Make storage adjustment a little nicer, especially the first time 2016-09-07 09:09:05 -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