Page MenuHomePhabricator
Feed Advanced Search

Sep 5 2016

epriestley added a comment to T11592: `repository update` may be killed after timing out without annihilating `git fetch` subprocesses.

Part of this is likely a change to the semantics of setTimeout(). Current uses are:

Sep 5 2016, 5:08 PM · Diffusion, Daemons
epriestley added a comment to T11593: *.search Conduit API methods with invalid constraints silently ignore the constraints.

Alright, thanks. I'll look at this in more detail.

Sep 5 2016, 4:52 PM · Bug Report
epriestley added a comment to T11589: Phabricator configuration with invalid MySQL credentials isn't getting to the help messages.

You can manually edit conf/local/local.json instead of using bin/config set.

Sep 5 2016, 4:52 PM · Setup
epriestley added a comment to T11589: Phabricator configuration with invalid MySQL credentials isn't getting to the help messages.

Sniped!

Sep 5 2016, 4:48 PM · Setup
epriestley merged task T11594: phabricator ./bin/config - now requires a DB connection (Q_Q) into T11589: Phabricator configuration with invalid MySQL credentials isn't getting to the help messages.
Sep 5 2016, 4:48 PM · Bug Report
epriestley merged T11594: phabricator ./bin/config - now requires a DB connection (Q_Q) into T11589: Phabricator configuration with invalid MySQL credentials isn't getting to the help messages.
Sep 5 2016, 4:48 PM · Setup
epriestley added a comment to T11593: *.search Conduit API methods with invalid constraints silently ignore the constraints.

Does this work?

Sep 5 2016, 4:47 PM · Bug Report
epriestley closed T11506: Build smarter CLI caching for instance data in the Phacility cluster as Resolved.

The 24-hour data in multimeter shows a drop from about 1.1M requests per day to about 41,000, so that's a slightly-better-than-95% reduction in request volume. The worst sample we caught in the last 24 hours for api.almanac.service.search was 228ms, and the median was closer to 70ms.

Sep 5 2016, 4:45 PM · Phacility
epriestley closed T11506: Build smarter CLI caching for instance data in the Phacility cluster, a subtask of T11469: Checking out from Phacility sometimes fails, as Resolved.
Sep 5 2016, 4:45 PM · Phacility, Bug Report
epriestley added a comment to T11589: Phabricator configuration with invalid MySQL credentials isn't getting to the help messages.

This is somewhat involved to untangle because the old logic was actually wrong and had a small chance of executing a page incorrectly.

Sep 5 2016, 4:36 PM · Setup
epriestley added a comment to T11589: Phabricator configuration with invalid MySQL credentials isn't getting to the help messages.

Ah, okay, that's actually consistent with what I'm seeing -- I think I repro'd the web version. You do sometimes need to restart the web thing to get this flow to work fully (we run some special, more-helpful checks during setup, which is only run after restart), but I believe it doesn't matter in this case since the setup checks are a little buggy.

Sep 5 2016, 3:42 PM · Setup
epriestley updated subscribers of T11589: Phabricator configuration with invalid MySQL credentials isn't getting to the help messages.

@chad, I'm having trouble reproducing the patch from P2007 not working. Here's what I did:

Sep 5 2016, 3:32 PM · Setup
epriestley added a subtask for T4551: consider allowing SIGTERM for ExecFuture timeout: T11592: `repository update` may be killed after timing out without annihilating `git fetch` subprocesses.
Sep 5 2016, 3:16 PM · libphutil
epriestley added a parent task for T11592: `repository update` may be killed after timing out without annihilating `git fetch` subprocesses: T4551: consider allowing SIGTERM for ExecFuture timeout.
Sep 5 2016, 3:16 PM · Diffusion, Daemons
epriestley created T11592: `repository update` may be killed after timing out without annihilating `git fetch` subprocesses.
Sep 5 2016, 3:16 PM · Diffusion, Daemons
epriestley created T11591: When observing repositories, `git fetch` can fail in "index-pack" in unknown circumstances.
Sep 5 2016, 3:10 PM · Diffusion
epriestley created T11590: "Repository Servers" panel in Config incorrectly displaying out-of-date leader information?.
Sep 5 2016, 3:07 PM · Clusters
epriestley renamed T11589: Phabricator configuration with invalid MySQL credentials isn't getting to the help messages from Phabricator configuration with invalid MySQL credentials isn't getting to the help pages to Phabricator configuration with invalid MySQL credentials isn't getting to the help messages.
Sep 5 2016, 3:03 PM · Setup
epriestley created T11589: Phabricator configuration with invalid MySQL credentials isn't getting to the help messages.
Sep 5 2016, 3:02 PM · Setup
epriestley renamed T11586: Display errors/nonprintable characters more clearly when warning users about invalid data inputs from Trim spaces when importing emails from LDAP to Display errors/nonprintable characters more clearly when warning users about invalid data inputs.
Sep 5 2016, 3:01 PM · Contributor Onboarding
epriestley added a comment to T11586: Display errors/nonprintable characters more clearly when warning users about invalid data inputs.

I don't think we should actually trim() the address -- if you have bad data in LDAP, you should fix it.

Sep 5 2016, 2:59 PM · Contributor Onboarding
epriestley added a comment to T11587: Explicit "Host: domain.com:80" port may conflict with reasonable Host-based redirection rules.

This should now be fixed in HEAD of master. I've also cherry-picked it to stable.

Sep 5 2016, 2:51 PM · Arcanist, Bug Report
epriestley closed T11587: Explicit "Host: domain.com:80" port may conflict with reasonable Host-based redirection rules as Resolved by committing Restricted Diffusion Commit.
Sep 5 2016, 2:50 PM · Arcanist, Bug Report
epriestley renamed T11587: Explicit "Host: domain.com:80" port may conflict with reasonable Host-based redirection rules from Arcanist calls return cURL error 47 - Too Many Redirects to Explicit "Host: domain.com:80" port may conflict with reasonable Host-based redirection rules.
Sep 5 2016, 1:57 PM · Arcanist, Bug Report
epriestley added a revision to T11587: Explicit "Host: domain.com:80" port may conflict with reasonable Host-based redirection rules: Unknown Object (Differential Revision).
Sep 5 2016, 1:54 PM · Arcanist, Bug Report
epriestley added a comment to T11587: Explicit "Host: domain.com:80" port may conflict with reasonable Host-based redirection rules.

Even though I think there's a good technical argument that our behavior is reasonable, the lifetime support cost of changing the application logic to be more similar to what browsers do is almost probably lower than the lifetime support cost of documenting this explicit port behavior, since there will be 100 more people who try the same thing in the future and maybe 5 of them will read the docs if we're lucky.

Sep 5 2016, 1:44 PM · Arcanist, Bug Report
epriestley added a comment to T11587: Explicit "Host: domain.com:80" port may conflict with reasonable Host-based redirection rules.

This is probably the issue:

Sep 5 2016, 1:16 PM · Arcanist, Bug Report
epriestley added a comment to T11587: Explicit "Host: domain.com:80" port may conflict with reasonable Host-based redirection rules.

Prior to that change, we did not send ports in Host: headers in requests.

Sep 5 2016, 1:03 PM · Arcanist, Bug Report
epriestley added a comment to T11587: Explicit "Host: domain.com:80" port may conflict with reasonable Host-based redirection rules.

If you revert rPHU491ebc74d816dbe2fc8bbbbc992e8a14f8c613be in libphutil, does that fix it?

Sep 5 2016, 12:25 PM · Arcanist, Bug Report

Sep 3 2016

epriestley created T11584: Phame commenting policy checks are weird?.
Sep 3 2016, 7:13 PM · Phame
epriestley created T11583: When initializing a new database, just apply adjustments without prompting.
Sep 3 2016, 6:52 PM · NUX, Setup
chad awarded T11506: Build smarter CLI caching for instance data in the Phacility cluster a Mountain of Wealth token.
Sep 3 2016, 6:43 PM · Phacility
epriestley added a comment to T11506: Build smarter CLI caching for instance data in the Phacility cluster.

This appears to be deployed and stable. I'm going to leave this open for 24 hours so I can get a reading out of Multimeter tomorrow, but looks like everything worked as intended.

Sep 3 2016, 6:22 PM · Phacility
epriestley added a comment to T9897: Unbeta Feedback on Phame.

Please follow the instructions in Contributing Bug Reports if you'd like to report a bug. Thanks!

Sep 3 2016, 6:08 PM · Phame
epriestley added a comment to T11506: Build smarter CLI caching for instance data in the Phacility cluster.

(rSERVICES1fcb5cdb758211f6389729956d7c77f90edc2243)

Sep 3 2016, 5:18 PM · Phacility
epriestley added a comment to T11506: Build smarter CLI caching for instance data in the Phacility cluster.

I caught an issue with D16464 and lazy/partial parsing of the "Host:" header on the repo tier, deploying a fix for that now.

Sep 3 2016, 5:18 PM · Phacility
epriestley added a comment to T11506: Build smarter CLI caching for instance data in the Phacility cluster.

I've been fiddling with host destroy while letting things settle. Here's load on admin001 over the last week:

Sep 3 2016, 4:36 PM · Phacility
epriestley added a comment to T11506: Build smarter CLI caching for instance data in the Phacility cluster.

Yeah -- I assume they wanted to know as soon as we create a badge, and can't afford to wait more than 50ms!

Sep 3 2016, 3:11 PM · Phacility
epriestley added a comment to T11506: Build smarter CLI caching for instance data in the Phacility cluster.

rCOREddab1d4e shut down the user who was really excited about badges. Looks like they started about 15 hours ago.

Sep 3 2016, 2:17 PM · Phacility
epriestley added a comment to T11506: Build smarter CLI caching for instance data in the Phacility cluster.

Load wasn't dropping as much as I expected, but that seems to be because someone started making 20 requests / second to list badges available on admin in the last 24 hours. Shutting that down now.

Sep 3 2016, 2:02 PM · Phacility
epriestley added a comment to T11506: Build smarter CLI caching for instance data in the Phacility cluster.

I've deployed repo001 and the disk cache appears to be holding. I've checked a bunch of operations and logs without catching anything that looks broken, so I'm going to roll the rest of repo, then db, then web, then look for load effects on admin.

Sep 3 2016, 1:19 PM · Phacility
epriestley added a comment to T11506: Build smarter CLI caching for instance data in the Phacility cluster.

The instance management cache seems OK, new cost is 11 queries in 80ms. The wall-time isn't directly comparable but both numbers being smaller is good.

Sep 3 2016, 12:51 PM · Phacility
epriestley added a comment to T11506: Build smarter CLI caching for instance data in the Phacility cluster.

I've deployed all the auxiliary tiers, admin is up next.

Sep 3 2016, 12:43 PM · Phacility
epriestley added a comment to T11506: Build smarter CLI caching for instance data in the Phacility cluster.

I'm starting this now.

Sep 3 2016, 12:31 PM · Phacility
epriestley added a comment to T11506: Build smarter CLI caching for instance data in the Phacility cluster.

I'm planning to deploy this tomorrow morning. It also looks like the change associated with D16262 (small cache improvement) got a little lost in the switch to bin/host release and never actually deployed, so that's going out too.

Sep 3 2016, 1:22 AM · Phacility
epriestley edited the content of Changelog.
Sep 3 2016, 1:11 AM
epriestley created 2016 Week 36 (Very Early September).
Sep 3 2016, 1:10 AM

Sep 2 2016

epriestley closed T11481: Allow customization of forms for Workboards as Wontfix.
  • T6064 already covers creating tasks with one click instead of two.
  • T10946 covers using EditEngine templates on workboards, I guess. That task is pretty iffy, too. This could probably use a separate, more focused task -- @cspeckmim, if you want to file one describing your use case in a little more detail I can merge T10946 into it if I don't have better ideas for you. (I thought I saw one more of these somewhere while dredging through the backlog to populate Contributor Onboarding but I wasn't immediately able to find it.)
  • We don't currently plan to implement a distinct inline quick edit mode like Trello.
Sep 2 2016, 10:38 PM · Workboards, Feature Request
epriestley closed T11466: Build status on Differential search results as Invalid.

See Contributing Feature Requests and Describing Root Problems.

Sep 2 2016, 10:27 PM · Differential, Feature Request
epriestley closed T11530: Conduit query for Differential revisions mentioning a project as Wontfix.

Broadly, this isn't a use case we intend to support specifically. See T5873, T10363, T11330, T11563#192717 for some related discussion.

Sep 2 2016, 10:26 PM · Herald, Conduit, Differential, Feature Request
epriestley closed T11542: Make remarkup checklists interactive as Invalid.

See Contributing Feature Requests and Describing Root Problems. The context and discussion in T3945 and T9652 may be helpful in formulating a problem description.

Sep 2 2016, 10:25 PM · Remarkup, Feature Request
epriestley closed T11578: Moving many files and changing a few leads to "This diff is very large and affects 111 files. You may load each file individually or Show All Files Inline" as Invalid.

No, it isn't a bug.

Sep 2 2016, 10:23 PM · Feature Request
epriestley closed T11425: Add "Locate File" functionality to branch view in Diffusion as Invalid.

See Contributing Feature Requests and Describing Root Problems.

Sep 2 2016, 10:22 PM · Feature Request
epriestley added a comment to T11578: Moving many files and changing a few leads to "This diff is very large and affects 111 files. You may load each file individually or Show All Files Inline".

So the button already does what you want, but instead of clicking it you filed a bug report?

Sep 2 2016, 9:54 PM · Feature Request
epriestley added a comment to T11578: Moving many files and changing a few leads to "This diff is very large and affects 111 files. You may load each file individually or Show All Files Inline".

(Or how our behavior differs materially from the behavior of git diff, except that you have to click one extra time on "Show All Files Inline".)

Sep 2 2016, 9:43 PM · Feature Request
epriestley added a comment to T11578: Moving many files and changing a few leads to "This diff is very large and affects 111 files. You may load each file individually or Show All Files Inline".

It's because more than 100 total paths were affected by any kind of edit.

Sep 2 2016, 9:40 PM · Feature Request
epriestley added a comment to T11578: Moving many files and changing a few leads to "This diff is very large and affects 111 files. You may load each file individually or Show All Files Inline".

What are you expecting to see there instead, exactly?

Sep 2 2016, 9:30 PM · Feature Request
epriestley added a comment to T11578: Moving many files and changing a few leads to "This diff is very large and affects 111 files. You may load each file individually or Show All Files Inline".

If I make a trivial change to one, I get this:

Sep 2 2016, 9:28 PM · Feature Request
epriestley added a comment to T11578: Moving many files and changing a few leads to "This diff is very large and affects 111 files. You may load each file individually or Show All Files Inline".

Okay. If I diff this:

Sep 2 2016, 9:26 PM · Feature Request
epriestley added a comment to T11578: Moving many files and changing a few leads to "This diff is very large and affects 111 files. You may load each file individually or Show All Files Inline".

The behavior appears to have changed in Git 2.9.0, which was released in mid June of this year:

Sep 2 2016, 9:19 PM · Feature Request
epriestley added a comment to T11578: Moving many files and changing a few leads to "This diff is very large and affects 111 files. You may load each file individually or Show All Files Inline".

I can't reproduce that:

Sep 2 2016, 9:07 PM · Feature Request
epriestley added a comment to T11578: Moving many files and changing a few leads to "This diff is very large and affects 111 files. You may load each file individually or Show All Files Inline".

I can't reproduce that either:

Sep 2 2016, 8:55 PM · Feature Request
epriestley closed T11579: DB column missing default value or should be nullable... as Invalid.

We can't move forward then, sorry.

Sep 2 2016, 8:51 PM · Bug Report (Needs Information)
epriestley added a comment to T11578: Moving many files and changing a few leads to "This diff is very large and affects 111 files. You may load each file individually or Show All Files Inline".

I marked it as a bug because git diff will return something that's pretty small in this scenario.

Sep 2 2016, 8:46 PM · Feature Request
epriestley added a comment to T11579: DB column missing default value or should be nullable....

Does your webserver error log have a long-form version of that error with a stack trace in it?

Sep 2 2016, 8:44 PM · Bug Report (Needs Information)
epriestley edited projects for T11579: DB column missing default value or should be nullable..., added: Bug Report (Needs Information); removed Bug Report.

I can't reproduce this. arc diff is working fire for me and many other users, and 5 different users have created 7 revisions against this install so far today alone (D16482 through D16489).

Sep 2 2016, 8:27 PM · Bug Report (Needs Information)
epriestley added a comment to T11578: Moving many files and changing a few leads to "This diff is very large and affects 111 files. You may load each file individually or Show All Files Inline".

Can you walk me through how this is a bug?

Sep 2 2016, 6:21 PM · Feature Request
epriestley added a comment to T11577: Initializing databases for the first time while already in cluster mode fails.

I believe this should be fixed in HEAD of master. It should promote to stable in about 24 hours.

Sep 2 2016, 3:23 PM · Clusters, Bug Report
epriestley closed T11577: Initializing databases for the first time while already in cluster mode fails as Resolved by committing Restricted Diffusion Commit.
Sep 2 2016, 3:23 PM · Clusters, Bug Report
epriestley added a revision to T11577: Initializing databases for the first time while already in cluster mode fails: Unknown Object (Differential Revision).
Sep 2 2016, 3:08 PM · Clusters, Bug Report
epriestley added a comment to T11577: Initializing databases for the first time while already in cluster mode fails.

A bad half-fix for this is here:

Sep 2 2016, 3:01 PM · Clusters, Bug Report
epriestley renamed T11577: Initializing databases for the first time while already in cluster mode fails from Create db schema in cluster mode to Initializing databases for the first time while already in cluster mode fails.
Sep 2 2016, 2:56 PM · Clusters, Bug Report
epriestley added a comment to T11577: Initializing databases for the first time while already in cluster mode fails.

I can reproduce this. Fixing it will take a bit of work.

Sep 2 2016, 2:56 PM · Clusters, Bug Report
epriestley closed T11576: Typo at calendar transaction as Resolved.

Resolved by D16488.

Sep 2 2016, 1:19 PM · Calendar, Bug Report
epriestley closed T11574: Consider making "Page updated, reload" notification more prominent as Resolved.

We'll take this into consideration and keep an eye open for other feedback, but haven't previously seen other feedback in this vein that I can recall and I think most users find this element fairly visible (e.g., T11141 calls a variant of it "an annoying ... prompt", which suggests it's visible enough to be annoying).

Sep 2 2016, 12:37 PM · Feature Request
epriestley reopened T11575: Make PhutilDocblockParser always return arrays when parsing "@doc-tags" as "Open".
Sep 2 2016, 12:24 PM · Bug Report
epriestley added a comment to T11575: Make PhutilDocblockParser always return arrays when parsing "@doc-tags".

We have a parser for comment docblocks, used to generate documentation and extract metadata from source code. This is a docblock:

Sep 2 2016, 12:24 PM · Bug Report
epriestley renamed T11575: Make PhutilDocblockParser always return arrays when parsing "@doc-tags" from phutil_symbols.php fails when parsing docblocks specifying external symbols to Make PhutilDocblockParser always return arrays when parsing "@doc-tags".
Sep 2 2016, 12:20 PM · Bug Report
epriestley added a comment to T11575: Make PhutilDocblockParser always return arrays when parsing "@doc-tags".

I'm going to retarget this to make the API more consistent.

Sep 2 2016, 12:19 PM · Bug Report
epriestley added a revision to T11575: Make PhutilDocblockParser always return arrays when parsing "@doc-tags": Unknown Object (Differential Revision).
Sep 2 2016, 11:53 AM · Bug Report
epriestley added a comment to T11575: Make PhutilDocblockParser always return arrays when parsing "@doc-tags".

We should probably change this API to always return array(), the "sometimes array, sometimes scalar" return value is pretty unintuitive. And any code which fixed this by adding (array) will just work.

Sep 2 2016, 11:51 AM · Bug Report
epriestley closed T11573: Phabricator goes down with minimal load due to asset delivery issue for some users as Resolved.

I'm going to close this for now since there's no more upstream action available given that the issue either no longer reproduces or disabling APCu appears to fix it and be a reasonable workaround.

Sep 2 2016, 11:38 AM · Bug Report
epriestley added a comment to T11575: Make PhutilDocblockParser always return arrays when parsing "@doc-tags".

Yeah, I think this didn't crop up sooner through a combination of the cache and there being relatively few files with multiple @phutil-external-symbol tags.

Sep 2 2016, 11:20 AM · Bug Report

Sep 1 2016

epriestley added a comment to T11573: Phabricator goes down with minimal load due to asset delivery issue for some users.

We don't really use APCu for very much, so if you are able to isolate it as the issue (or are just suspicious, e.g. based on that launchpad bug looking pretty similar) it's probably OK to turn it off. I'd expect you to lose something like 5% performance with it off, not 50%+.

Sep 1 2016, 9:41 PM · Bug Report
epriestley added a comment to T11573: Phabricator goes down with minimal load due to asset delivery issue for some users.

If you turn APCu back on, does it freeze up again?

Sep 1 2016, 8:42 PM · Bug Report
epriestley added a comment to T11573: Phabricator goes down with minimal load due to asset delivery issue for some users.

I'm not immediately sure about the daemon confusion, although I suspect it's not likely to be a hint at the root issue. Caching for setup issues falls back to some pretty whacky shenanigans with APC/APCu disabled.

Sep 1 2016, 7:08 PM · Bug Report
epriestley added a comment to T11573: Phabricator goes down with minimal load due to asset delivery issue for some users.

That's probably a webhook URI configured in feed.http-hooks (which may no longer be configured).

Sep 1 2016, 7:05 PM · Bug Report
epriestley added a comment to T11573: Phabricator goes down with minimal load due to asset delivery issue for some users.

I don't see anything interesting in Multimeter, it just shows that the host doesn't see much traffic and that we probably need to update some package definitions.

Sep 1 2016, 6:40 PM · Bug Report
epriestley added a comment to T11573: Phabricator goes down with minimal load due to asset delivery issue for some users.

Are you running APC (Config → Cache Status shows APC as the active "Data Cache")?

Sep 1 2016, 6:29 PM · Bug Report
epriestley added a comment to T11573: Phabricator goes down with minimal load due to asset delivery issue for some users.

Also, can you show me what these pages look like?

Sep 1 2016, 6:23 PM · Bug Report
epriestley added a comment to T11573: Phabricator goes down with minimal load due to asset delivery issue for some users.

GET /res/phabricator/86668b8e/rsrc/js/phui/rdar.js HTTP/1.1

Sep 1 2016, 6:20 PM · Bug Report
epriestley updated the answer details for Q484: Does phabricator team do static code analysis on phabricator code base? (Answer 453).
Sep 1 2016, 6:03 PM
epriestley added Q484: Does phabricator team do static code analysis on phabricator code base? (Answer 453).
Sep 1 2016, 6:03 PM
epriestley added a comment to T11572: Herald Rule not inheriting Object policy from Project in a way I understand.

This is a bug with how relative/object policies and inherited/indirect policies interact.

Sep 1 2016, 4:39 PM · Bug Report
epriestley added a project to T11547: Paste query results do not display actual length of listed Pastes (but always "5 lines" if Paste is longer): Contributor Onboarding.
Sep 1 2016, 2:29 PM · Contributor Onboarding, Paste, Bug Report
epriestley renamed T11566: Provide more complete guidance on using regular expressions in Herald from Herald docs require better information around how to use contains, matches regexp, matches regexp pairs...etc to Provide more complete guidance on using regular expressions in Herald.
Sep 1 2016, 2:26 PM · Herald, Documentation
epriestley created T11571: Consider benchmarking hardware during setup.
Sep 1 2016, 2:24 PM · Setup
epriestley closed T11568: Daemons queue usage is low leading to slow imports as Resolved.

I'm going to close this for now since I don't plan to take any further action as the upstream; this appears to be an environmental issue (which we don't offer support for) rather than a scalability limitation (which we do).

Sep 1 2016, 2:21 PM · Diffusion, Bug Report
epriestley added a comment to T11570: `arc patch` download empty binary file from hosted svn repository.

I've just dumped this on the pile of arc patch-related bugs. Some of them are likely duplicates, possibly including this one, but I don't expect to dig through that pile until the next major iteration on arc, since at least some of them are likely not addressable without other changes. T11429 has a rough overview of upcoming plans.

Sep 1 2016, 2:12 PM · Arcanist, Bug Report
epriestley moved T11570: `arc patch` download empty binary file from hosted svn repository from Backlog to arc patch on the Arcanist board.
Sep 1 2016, 2:08 PM · Arcanist, Bug Report