Almost certain it did. Updated last night and one of my users called this out first thing in the morning. Not sure exactly which version I updated from, but my database dump from the previous update was timestamped phab.20150407_034445Z.sql.gz
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Apr 23 2015
I think we currently keep "someday" tasks open - even if we can't predict when someday is - so I'm re-opening. (I like to update tasks from the "need triage" aggressively so definitely feel free to change my updates if I'm wrong.)
This is doable, but not something the upstream devs would likely build in any reasonable timeframe.
As far as I know this has never worked. See T6700. This is likely a duplicate on how we listen to clicks on all menus.
Ah, okay. We call things applications here so its the "Diffusion application" or you can just say Diffusion.
Create a bot User that has Access to a Repository but not to Diffusion. Try to clone which will fail.
Maybe in a decade or so.
Isn't this a problem with Docker? ("Diffusion module" is some Docker thing of organizing Phabricator?)
@jhurwitz - please don't forget https://secure.phabricator.com/book/phabcontrib/article/feature_requests/#describe-problems in light of your new powers. :D
kk. As a note, in my opinion at least, I think the main burden is not that it has to be clicked, it's that often I don't want to leave the page I'm on. So what I do now usually is just open in new tab and then immediately close the new tab.
I heard you. :D
In T7887#108441, @btrahan wrote:Still very interested in any additional color on the problem here - e.g. examples of useless notifications no one wants to hear about and that you have no way of silencing to begin with
Unless @chad has an idea on how this UI could work, I think this is a wontfix.
@epriestley: Enormous is relative, but yeah I'd say it has an abnormal amount of branches.
Does your remote also have an enormous number of branches?
@epriestley - hate to be "that guy", but can you triage this? It's really impacting our server in an "unbreak this!" kind of way. Slowing down all of Phabricator noticeably and, most importantly, it's preventing all email notifications due to the average CPU load constantly being too high which is crippling our workflow.
This is possibly tricky because the user can enter some unparsable time format in their preferences, but we can assume that users mostly enter reasonable time formats until we have evidence to the contrary.
OK, it does appear to save the correct time. I'm pretty sure it did not use to work in a bit earlier version (like a week ago) of Phabricator where it would just disable the field as if no datetime was entered (or was it some configuration I've changed in my recent installation) – sorry about the confusion.
When you enter "23:00", what does it do? What did you expect it to do?
Couple things offhand:
Here's an updated profile
Here's an updated profile, this time from linting rP:
Works like a charm:
And, if your desired value is larger, would making it easier to activate highlighting be a reasonable alternative approach? Currently you can highlight with:
If it was configurable, what value would you set it to?
Not reproducing on this this install...
I think php_compat_info.json is the biggest easy win.
Those regexps can also be memoized.
This can probably build a single huge regexp and drop time to nearly zero:
The profile likely overstates the cost of functions like idx() and mpull(), but occasionally they're worth reducing to isset() or similar if they're really getting hit tens of thousands of times.
I don't see any huuuuge wins, but:
It looks like the most significant function is AASTNode::getTokens.
Here is a better profile (F379444), see https://secure.phabricator.com/xhprof/profile/PHID-FILE-k7tcfv6t7e7o3itxfwns/.
Apr 22 2015
Let me know if that fixes it when you have a chance? Still not totally sure I've nailed this down but it shouldn't be possible for it to recurse now.
Upgrading fixes this issue.
I think workboard permissions are a little iffy until T6502.
D12511 is a possible fix, although I was only sort of able to reproduce something sort-of similar to the issue you hit.
Works on this install so it looks like I need to upgrade.
Doesn't repro for me at HEAD and I'm pretty sure I remember fixing this. I presume you can't reproduce on this install?
We are at rPd8ab5f59, which is ahead of rP8efdc4aa.
I suspect I'm just not hitting the right edge case, but this stuff did churn a lot recently so I just wanted to double check that it's definitely not me testing different code.
Maybe it's naive of me to expect that our Monday update actually updated to the then-latest HEAD. Let me check and get back to you.
Just to confirm, you're ahead of rP8efdc4aa? I'll keep digging, but I can't immediately reproduce this at HEAD.
Ah, okay. Yeah, looks similar. I'll take a look, thanks!
Request aborted by debug time limit after 15 seconds.
Set debug.time-limit to a value like 15 and hit it again? That should give you a trace.
I'm seeing a similar (possibly the same?) bug. We just updated our install this week, so I presume that we have D12116.
You can change the chunk size constant to 1 to see the effect -- I expect it will lower memory usage (but not provide a huge reduction in peak, which I think is approximately a function of the largest file in the repository at these chunk sizes) but be much slower overall.
I feel that the memory usage could be further improved if we linted by path, because we would only need to store a single XHPAST tree in memory. This means that we wouldn't need chunking.
Can you remind me why we lint by linter instead of by path? As in, we lint all paths for a given linter before moving to the next linter.
I've marked D12509 as fixing this, although it really just obsoletes it. Specifically: it removes this behavior (we no longer default to the first query) and makes scope selection explicit instead (if you want to default to a specific query, just select it from the dropdown).
I'm going to merge this into T4103, although D12509 partially obsoletes it. Hopefully, the explicit control surfaced in D12509 resolves the confusion here on its own.