Maybe it might be a good idea to allow people to create own Guides? Could be helpful for recuring setup stuff for newusers for example, like we got it at our instance.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Sep 2 2016
I can make it a feature request. I marked it as a bug because git diff will return something that's pretty small in this scenario.
Can you walk me through how this is a bug?
All notifications currently show up in the same place, so I think the consistency here is better than something new. I'd be more apt to try new treatments in general vs. moving it. We'll probably need to revisit "something on the page changes" UI if we ever build realtime workboards.
We'll take this into consideration and keep an eye open for other feedback,
For people who suffer from this: Note that D16483 might have actually made things a little worse, by searching the DB for old messages (Not loading them though); I tested with 1M messages on an SSD drive, and I didn't see any changes, but YMMV.
The shell is probably eating away the ". Try surrounding the whole argument with ' to stop it.
I believe this should be fixed in HEAD of master. It should promote to stable in about 24 hours.
A bad half-fix for this is here:
I can reproduce this. Fixing it will take a bit of work.
Resolved by D16488.
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).
We have a parser for comment docblocks, used to generate documentation and extract metadata from source code. This is a docblock:
I'm going to retarget this to make the API more consistent.
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.
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.
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.
Hi Avivey, many thanks for the feedback.
I'm not sure how this wasn't reported earlier, I guess the module cache prevented everyone from encountering it?
Sep 1 2016
FWIW, PHP 7.1.0 RC1 was released today, and it includes the async signal change. The following amended script from T11270#184087 seems to work:
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%+.
Just some quick googling revealed this issue with a prior version of APCu.
I turned it back on and ran additional load tests but Apache was able to handle everything. To be honest, I was surprised how well the site held up with APCu turned off. The numbers are about the same.
If you turn APCu back on, does it freeze up again?
I've been running load tests for the past 2-3 hours and for some reason, I can't bring it down anymore. You can probably mark this bug as 'unable to reproduce'. I'll continue looking into the issue and see if there's a definitive way to reproduce.
In T11530#192966, @chad wrote:Maybe create a bot user called @shipit to trigger herald? Mentioning users CCs them to the object, but mentioning projects does nothing currently.
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.
That's probably a webhook URI configured in feed.http-hooks (which may no longer be configured).
I've started the load tests without APC. One odd item I didn't notice before that may or may not be related is that Phabricator is having a hard time knowing that daemons are running (e.g. you have 2 unresolved setup issues instead of just 1 because APC is turned off). I checked the daemon logs and see they are flooded with this with one entry occurring a lot. I can't track down the source because I don't know what address it's trying to reach out to (is this a repository pull or a herald rule?). Again, this may be completely unrelated and a different issue all together.
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.
In T11573#192996, @epriestley wrote:Are you running APC (Config → Cache Status shows APC as the active "Data Cache")?
If so, can you reproduce it if you disable APC (apc.enabled=0 in php.ini), restart apache, verify that no "Data Cache" is available any more in Config → Cache Status, and then use the takedown script?
Here's the output. I removed "events" from some of them to improve formatting.
Are you running APC (Config → Cache Status shows APC as the active "Data Cache")?
I've added a simple javascript file on the installation I grabbed this report from. As part of the troubleshooting process, I installed a vanilla installation of Phabricator on a separate machine with no modifications (version referenced in the bug report) and was able to reproduce the problem.
Also, can you show me what these pages look like?
GET /res/phabricator/86668b8e/rsrc/js/phui/rdar.js HTTP/1.1
This is a bug with how relative/object policies and inherited/indirect policies interact.
Maybe create a bot user called @shipit to trigger herald? Mentioning users CCs them to the object, but mentioning projects does nothing currently.
looks like a duplicate of T8647
Okay, thank you for the pointers, we have indeed a huge performance improvement using standard mysql replication, which seems to increase the queue usage.
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).
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.
- Try to come up with a way that - can do something dangerous when injected into a CSS rule.
- See D7274#47131 for a template of how to attack this.
- If you can come up with any attacks, don't implement this.
- Adjust the regular expression in PhabricatorMonospacedFontSetting::filterMonospacedCSSRule() to include -.
- Adjust the error text in PhabricatorMonospacedFontSetting->validateTransactionValue() to say "..., hyphens, ..." or similar.
Thanks a lot, that's what I was looking for :)
Most of my "Needs Triage" tickets are people randomly putting things
Hello to all,
Most of my "Needs Triage" tickets are people randomly putting things (it's really like a wishlist), if something is really urgent it's either marked with "Unbreak Now" (99% of the time) or people spam everybody with it.
params="
{
\"buildTargetPHID\": \"$PHID\",
\"artifactKey\": \"jenkins.uri.$PHID\",
\"artifactType\": \"uri\",
\"artifactData\": {
\"uri\": \"http://build:8080/job/$JOB_NAME/$BUILD_NUMBER\",
\"name\": \"Jenkins Build\",
\"ui.external\": true
},
\"__conduit__\": { \"token\": \"$CONDUIT_API_TOKEN\" }
}"Aug 31 2016
In T10456#184273, @jack.chung wrote:if it helps anyone, the workaround "fix" is to place the following code in the file "src/applications/conduit/parametertype/ConduitBoolParameterType.php "
$value = (boolean) $value;at about line 9 just before the following piece of code:
if (!is_bool($value)) {Its a bit of a hack, so I'm not sure how much to trust this workaround for a production instance of Phabricator, but hopefully, it helps someone out there. The issue is (I think) basically related to http://stackoverflow.com/questions/27446946/preserve-data-type-of-post-fields-when-sending-data-using-php-and-curl where PHP converts the curl input as a string.
I'm not entirely sure, but it seems plausible. We compute "Queue Utilization" as basically:
Okay, seems bad indeed, do you think it might explain why the queue is capped at 20-30% ?
No, not updated yet.
This instance isn't updated yet, is it? We got that error still....