oh hi
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Mar 21 2014
Mar 20 2014
We currently scale the image according to the browser window's size, so that the entire image can fit inside the browser window without scrolling. Some considerations in selecting this rule include:
@dctrwatson hit a case where the pull daemon appeared to cache a repository configuration for 34 minutes. Although we reload repositories periodically, we should probably reload them explicitly before pulling too, to guarantee the smallest cache window we reasonably can. This isn't particularly expensive.
Mar 19 2014
@spicyj expressed interest in restoring the CHANGES SINCE LAST DIFF link, too.
This form fits easily on one screen for me, and you can submit it with tab-return, shift-tab-return, use arc todo, etc.
ExecFuture::isReady() is the method used to detect process exit, so you could try putting print/echo in there. If you added echo "isready\n";, I'd expect to see something like:
Hmm, I'm not convinced that's related. If we loop with select() on bad file descriptors it's not surprising that the program spins, but in resolve() we'll check to see if the process exited after the select() returns, which should prevent us from looping with bad descriptors.
Here's an non-blocking version, similar to what we do in the real code:
Hmm, how about this version? The theory is that either the ticks directive or signal handling might be the issue.
Also, this is a bit of a shot in the dark, but if you send SIGHUP to the phd-daemon process, it should dump a stack trace into phabricator_backtrace_<pid> in a system-dependent temporary directory which you can find with this command:
Ah, I think you're right that we intended to pass $timeout_sec instead of $timeout. I'll fix that (D8567), but I wouldn't expect it to affect behavior (it sounds like it didn't, and I can't trigger any behavioral changes in testing).
I think you can get a proper profile like this (I'm on 5.5.8 and xhprof segfaults immediately when built against 5.5.8, which makes this difficult for me to test properly locally):
Mar 18 2014
Closed by commit rP833b8a78d89f.
I think "Templates" is tricky to make editable for existing projects. For example, if I already have a bunch of custom columns and then change the "template", what does that do?
I can't immediately find too many issues. Here's the stuff I see and/or remember after playing around with it a bit:
Without looking at the code, I'd guess we'd want to do something like:
Oh, sorry, my fault: the profile is misleading -- the phd process is actually being profiled, not the daemon, which we execute as a subprocess. I'll see if I can adjust the --xprofile flag to either propagate to the subprocess, or add a flag to run the daemon in the parent process.
@mbishopim3 reports that diffs linked via projects aren't getting the right repositoryPHIDs set. I can't immediately reproduce this, but it falls into the same general ballpark of code needing to move to more modern places in the pipeline (it should all be in diff creation, now).
You should be able to install xhprof and then run:
The only things that stand out to me there are these:
For what it's worth, P1094 has a five minute hack which adds a very, very rough graph view field when dropped into phabricator/src/extensions/
Four possible approaches on this, although none are especially good:
Mar 17 2014
Closed by commit rP5b2887b69b0e.
Closed by commit rP7167a729bf7e.
I can't immediately reproduce this. Adding a reviewer via Herald (dolphin) generated an email to that user locally without requiring additional updates:
Just to double check, your phabricator/ is ahead of rP0b15624c (Mar 11), right? If you're behind that, that might have fixed this. (I haven't actually tried to reproduce it at HEAD quite yet though so it might just be an issue in general.) I'll see if I can repro now.
Checking the daemon console (/daemon/ on the web) to see which task is currently leased when CPU spikes may also be instructive.
Try stopping the daemons, then run:
@chad might have the best answer here, but let me dig through the security queue and I'll see what I can come up with.
Mar 15 2014
Closed by commit rPb3b0ef3647e8.
Closed by commit rPHU44faddd048df.
Closed by commit rARC46fe94db9f8c.
Mar 14 2014
This is really nice in practice, especially once we smooth out the dialog. Nice work!
They should be respected in the handwavey sense that users will never be able to see any content from those applications. Obviously, it would be nice not to show the empty boxes either.
Cool, let us know if you see more issues.
Closed by commit rP3bea0958dd31.
Closed by commit rP7be740cd306e.
Closed by commit rP559c0fe88663.
If you kill all the high activity processes, do they reappear? They might be leftovers from setup. We haven't seen any reports of this kind of behavior from established installs.