Page MenuHomePhabricator
Feed Advanced Search

Apr 26 2016

epriestley created T10876: Make the setup warning count cache database-backed.
Apr 26 2016, 1:32 PM · Clusters
epriestley added a revision to T10748: Implement `diffusion.repository.edit`, for creating and editing repositories via the API: Unknown Object (Differential Revision).
Apr 26 2016, 12:45 PM · Prioritized, Restricted Project, Diffusion (v3), Feature Request
epriestley added a comment to T10868: Make a line-linkable view for individual build logs.
  • (T9516) Use the same copy/paste line number stuff that Paste, Diffusion, etc use.
    • (T10179) Make formatting smarter. For example, the "Run CircleCI Build" plan produces logs that we know to be HTTP headers (which we could format as a table) and (almost always) a JSON blob (which we could format as human-readable JSON).
    • (T8656) Make one of the smart formatters "ANSI".
    • I'd like to style this like other stuff (Paste, Diffusion) and let users pick dark themes globally with T5701 if they prefer.
    • Logic for loading the data is clunky, and fetches much more data than it needs.
    • Clicking pager links affects all build logs on the page, this should probably be JS-ish at some point.
    • Pager logic often feels clunky to me. For example, if a log is exactly 21 lines long, we still show pager controls. If a log is 27 lines long, we should probably show the whole thing. "Show more" would be more consistent with how other pagers work, etc.
    • (T6139) Not sure if this is really the right way to frame it, but we often have information about how useful a build log is and can do a better job of organizing them (e.g., successful build logs are usually uninteresting and could be folded by default).
Apr 26 2016, 12:32 PM · Restricted Project, Harbormaster, Feature Request
epriestley added a comment to T10868: Make a line-linkable view for individual build logs.

@hach-que, that plan sounds good to me.

Apr 26 2016, 12:23 PM · Restricted Project, Harbormaster, Feature Request
epriestley added a revision to T10849: Support query timeouts via `max_statement_time` or MYSLQI_ASYNC: Unknown Object (Differential Revision).
Apr 26 2016, 12:16 PM · Infrastructure, Phacility
epriestley merged T10875: Browse in Diffusion doesn't take branch into account into T3216: "Browse in Diffusion" always going to default branch.
Apr 26 2016, 11:56 AM · Differential
epriestley merged task T10875: Browse in Diffusion doesn't take branch into account into T3216: "Browse in Diffusion" always going to default branch.
Apr 26 2016, 11:56 AM · Bug Report
epriestley added a comment to T10874: Add repository or project to email subject.

Not directly to your point, but you can remove or shorten the [Differential] token by adjusting metamta.differential.subject-prefix, if you didn't stumble across that already.

Apr 26 2016, 11:28 AM · Restricted Project, Mail, Feature Request
epriestley closed T10873: New installation fails to create/setup database as Resolved.
Apr 26 2016, 11:27 AM · Bug Report
epriestley added a comment to T10751: Make Phabricator Highly Available.

I'm still not really thrilled with where the documentation situation on repositories is, but it's getting a little more manageable.

Apr 26 2016, 3:18 AM · Restricted Project, Infrastructure, Prioritized
epriestley added a revision to T4292: Implement repository replication: Unknown Object (Differential Revision).
Apr 26 2016, 2:47 AM · Restricted Project, Diffusion
epriestley added a comment to T10869: `arc test` sometimes picks an older (incorrect) parent to apply patch to.

Here are a few ideas that might shed some light on what's happening:

Apr 26 2016, 1:59 AM · Arcanist, Restricted Project, Bug Report
epriestley added a comment to T10869: `arc test` sometimes picks an older (incorrect) parent to apply patch to.

I can't reproduce this. Here's what I did:

Apr 26 2016, 12:49 AM · Arcanist, Restricted Project, Bug Report
epriestley added a comment to T10869: `arc test` sometimes picks an older (incorrect) parent to apply patch to.

arc diff is supported, but most of these reproduction instructions don't make much sense to me in the context of arc diff -- for example, arc diff does not apply patches.

Apr 26 2016, 12:42 AM · Arcanist, Restricted Project, Bug Report
epriestley added a comment to T10869: `arc test` sometimes picks an older (incorrect) parent to apply patch to.

Specifically, any effort to reproduce this in the upstream will meet this grizzly fate on the arc test step:

Apr 26 2016, 12:35 AM · Arcanist, Restricted Project, Bug Report
epriestley closed T10869: `arc test` sometimes picks an older (incorrect) parent to apply patch to as Invalid.

Yeah, arc test is not part of the upstream.

Apr 26 2016, 12:33 AM · Arcanist, Restricted Project, Bug Report
epriestley closed T10871: Aphlict does not properly guess root path of installation as Invalid.

This is a Bitnami issue, and you should report it to them. See Contributing Bug Reports:

Apr 26 2016, 12:30 AM · Bug Report

Apr 25 2016

angie awarded T10323: "Action With No Effect" when marking inline comments as done a Love token.
Apr 25 2016, 11:20 PM · Restricted Project, Restricted Project, Bug Report, Differential
epriestley added a comment to T10867: Version daemons more clearly in daemon console so it's clear when `phd reload` has taken effect.

Maybe also reasonable would be something like this:

Apr 25 2016, 10:08 PM · Daemons, Feature Request
epriestley renamed T10867: Version daemons more clearly in daemon console so it's clear when `phd reload` has taken effect from Gracefully handle builds when restarting daemons to Version daemons more clearly in daemon console so it's clear when `phd reload` has taken effect.
Apr 25 2016, 9:53 PM · Daemons, Feature Request
epriestley added a comment to T10867: Version daemons more clearly in daemon console so it's clear when `phd reload` has taken effect.

One thing we could do to improve this is version daemons in /daemon/, so your "go to sleep" routine could be more like:

Apr 25 2016, 9:52 PM · Daemons, Feature Request
epriestley added a comment to T10867: Version daemons more clearly in daemon console so it's clear when `phd reload` has taken effect.

You can use bin/phd reload -- instead of restart -- to instruct daemons to exit and restart only after completing their current tasks, with no time limit on task completion. The semantics on this are necessarily a little fuzzy, but basically:

Apr 25 2016, 9:39 PM · Daemons, Feature Request
epriestley added a revision to T10386: HTTP instructions in "Diffusion User Guide: Repository Hosting" are incomplete: Unknown Object (Differential Revision).
Apr 25 2016, 3:32 PM · Documentation, Bug Report
epriestley added a revision to T10866: Missing Information in Diffusion User Guide: Repo Hosting: Unknown Object (Differential Revision).
Apr 25 2016, 3:32 PM · Diffusion, Documentation, Bug Report
epriestley closed T10602: Adding client side private key addition information to Diffusion Repo Hosting Guide. as Wontfix.

This document is already large and complex and the source of many configuration mistakes. I worry including basic information like this could cause more harm than good, by making the document even larger and making it easy to miss something important.

Apr 25 2016, 3:23 PM · Feature Request
epriestley closed T10865: Remarkup is not rendered in Pholio Application as Resolved by committing Restricted Diffusion Commit.
Apr 25 2016, 3:16 PM · Remarkup, Pholio, Bug Report
epriestley closed T9560: dirname(phabricator-ssh-hook.sh) needs to be owned by root too as Resolved by committing Restricted Diffusion Commit.
Apr 25 2016, 3:16 PM · Diffusion, Documentation
epriestley added a comment to T10866: Missing Information in Diffusion User Guide: Repo Hosting.

That is, we normally navigate complex configuration by verifying every step and just telling you what's wrong and how to fix it (e.g., moving all the MySQL, etc., configuration from documentation to automatic setup issues was a huge step forward), but there's basically no test we can perform on most of this chain.

Apr 25 2016, 2:41 PM · Diffusion, Documentation, Bug Report
epriestley added a comment to T10866: Missing Information in Diffusion User Guide: Repo Hosting.

In general, this configuration is a huge horrible mess but I'm having a hard time coming up with ways to really fix it that don't just tell you to run everything as root.

Apr 25 2016, 2:39 PM · Diffusion, Documentation, Bug Report
epriestley added a comment to T10866: Missing Information in Diffusion User Guide: Repo Hosting.

Oh, I think I have a handle on the first issue -- you can ignore my questions about that.

Apr 25 2016, 2:34 PM · Diffusion, Documentation, Bug Report
epriestley added a comment to T10866: Missing Information in Diffusion User Guide: Repo Hosting.

It turned out that the git-user (aka vcs-user) created files as phd:phd

Apr 25 2016, 2:31 PM · Diffusion, Documentation, Bug Report
florianb awarded Blog Post: Development Notes (2016 Week 10) a Piece of Eight token.
Apr 25 2016, 2:22 PM
epriestley added a revision to T4292: Implement repository replication: Unknown Object (Differential Revision).
Apr 25 2016, 1:38 PM · Restricted Project, Diffusion
epriestley added a comment to T9560: dirname(phabricator-ssh-hook.sh) needs to be owned by root too.

This also reproduced locally for me (OS X Yosemite, openssh-6.7p1), and chmod on the parent directory alone was reliably sufficient to prevent SSH from working. The instructions already suggest a root-owned location, but D15794 notes this requirement explicitly.

Apr 25 2016, 12:42 PM · Diffusion, Documentation
epriestley added a revision to T9560: dirname(phabricator-ssh-hook.sh) needs to be owned by root too: Unknown Object (Differential Revision).
Apr 25 2016, 12:40 PM · Diffusion, Documentation
epriestley claimed T9560: dirname(phabricator-ssh-hook.sh) needs to be owned by root too.
Apr 25 2016, 12:33 PM · Diffusion, Documentation
epriestley added a comment to T5463: Could not stat AuthorizedKeysCommand .

I can confirm T9560 locally, at least, so that might be the problem or part of it -- maybe start there? If you can provide details we're happy to fix this properly.

Apr 25 2016, 12:32 PM · Diffusion
epriestley added a comment to T5463: Could not stat AuthorizedKeysCommand .

Yes, you should NOT set AuthorizedKeysCommandUser root, this is needlessly dangerous and gives the script substantially more permission than it needs.

Apr 25 2016, 12:28 PM · Diffusion
epriestley added a revision to T10865: Remarkup is not rendered in Pholio Application: Unknown Object (Differential Revision).
Apr 25 2016, 12:12 PM · Remarkup, Pholio, Bug Report
epriestley claimed T10865: Remarkup is not rendered in Pholio Application.
Apr 25 2016, 11:58 AM · Remarkup, Pholio, Bug Report
epriestley added a comment to T10865: Remarkup is not rendered in Pholio Application.

I also caught this vaguely related downstream report of markup list styles not rendering properly in mock descriptions:

Apr 25 2016, 11:58 AM · Remarkup, Pholio, Bug Report
c.mertins awarded T5474: Support workboard column triggers which activate when a task is dropped into a column a Like token.
Apr 25 2016, 6:40 AM · Workboards (v3), Restricted Project

Apr 24 2016

epriestley lowered the priority of T10860: After an inconsistent cluster repository write, consider just ignoring the lock from Normal to Low.

After we receive a push, try very very very very hard to release the lock if we're the thread holding it, even if we lost the global lock

Apr 24 2016, 6:39 PM · Clusters, Diffusion
epriestley closed T10863: Aphlict fails to start when "logs" option is omitted as Resolved by committing Restricted Diffusion Commit.
Apr 24 2016, 6:20 PM · Aphlict, Bug Report
epriestley claimed T10863: Aphlict fails to start when "logs" option is omitted.
Apr 24 2016, 6:20 PM · Aphlict, Bug Report
epriestley added a revision to T10860: After an inconsistent cluster repository write, consider just ignoring the lock: Unknown Object (Differential Revision).
Apr 24 2016, 5:59 PM · Clusters, Diffusion
epriestley added a revision to T10860: After an inconsistent cluster repository write, consider just ignoring the lock: Unknown Object (Differential Revision).
Apr 24 2016, 4:58 PM · Clusters, Diffusion
epriestley added a revision to T10860: After an inconsistent cluster repository write, consider just ignoring the lock: Unknown Object (Differential Revision).
Apr 24 2016, 4:07 PM · Clusters, Diffusion
epriestley added a revision to T10860: After an inconsistent cluster repository write, consider just ignoring the lock: Unknown Object (Differential Revision).
Apr 24 2016, 3:33 PM · Clusters, Diffusion
epriestley added a revision to T10863: Aphlict fails to start when "logs" option is omitted: Restricted Differential Revision.
Apr 24 2016, 1:35 PM · Aphlict, Bug Report
epriestley closed T10857: Unexisting `protocol` option in Aphlict configuration mentioned in documentation as Resolved by committing Restricted Diffusion Commit.
Apr 24 2016, 1:32 PM · Aphlict, Documentation, Bug Report

Apr 23 2016

epriestley added a comment to T10832: Evaluate Git remote execution vulnerabilities with 2GB pathnames.

Any test we execute must be distributed with phabricator/ and run on the first page load after an upgrade. That generally means it needs to be small, very fast, and completely conclusive. Compare to the test for Shellshock here, which runs in a few milliseconds, requires 10 lines of code, and is totally conclusive:

Apr 23 2016, 5:18 PM · Ops, Git, Phacility, Security
epriestley merged task T10833: arc which broken with subversion into T6635: The `arc which` command triggers notices.
Apr 23 2016, 2:33 PM · FreeBSD, Restricted Project, Subversion, Arcanist, Bug Report
epriestley merged T10833: arc which broken with subversion into T6635: The `arc which` command triggers notices.
Apr 23 2016, 2:33 PM · Subversion, Arcanist
epriestley triaged T10859: Wiki page title is not updated in preview as Wishlist priority.

We'll fix this eventually, but probably not until the next time we do major work on Phriction (T9379) since the impact is very minor.

Apr 23 2016, 1:44 PM · Feature Request, Phriction
epriestley created T10861: Provide a tool to rewind the push log for a repository.
Apr 23 2016, 1:42 PM · Diffusion
epriestley created T10860: After an inconsistent cluster repository write, consider just ignoring the lock.
Apr 23 2016, 1:06 PM · Clusters, Diffusion
epriestley added Q377: Is there a right way to define edit engines with separate "create" and "edit" modes? (Answer 367).
Apr 23 2016, 12:38 PM
epriestley closed T10858: Wrong path to the `Notification Servers` status page in the documentation as Resolved.
Apr 23 2016, 12:22 PM · Documentation, Aphlict, Bug Report
epriestley claimed T10857: Unexisting `protocol` option in Aphlict configuration mentioned in documentation.
Apr 23 2016, 12:18 PM · Aphlict, Documentation, Bug Report
epriestley added a comment to T10857: Unexisting `protocol` option in Aphlict configuration mentioned in documentation.

Thanks! The intended instruction was just "don't specify ssl.key, ssl.cert, etc.". D15787 should fix it.

Apr 23 2016, 12:18 PM · Aphlict, Documentation, Bug Report
epriestley added a revision to T10857: Unexisting `protocol` option in Aphlict configuration mentioned in documentation: Unknown Object (Differential Revision).
Apr 23 2016, 12:16 PM · Aphlict, Documentation, Bug Report
epriestley added a comment to T10858: Wrong path to the `Notification Servers` status page in the documentation.

I don't have to click "Cluster", it's just a subheader. Are you seeing something different?

Apr 23 2016, 11:33 AM · Documentation, Aphlict, Bug Report
yaserkh awarded T8783: Unprototype Nuance (v1) a Love token.
Apr 23 2016, 7:50 AM · Nuance, Restricted Project
epriestley edited the content of Changelog.
Apr 23 2016, 12:09 AM
epriestley created 2016 Week 17 (Very Late April).
Apr 23 2016, 12:09 AM

Apr 22 2016

joshuaspence added a comment to T9640: Make Phabricator compatible with PHP7.

FWIW I have updated to Ubuntu 16.04 locally and haven't had any issues with Arcanist.

Apr 22 2016, 11:05 PM · Prioritized, Restricted Project, Infrastructure
epriestley added a comment to T10855: Allow external systems to edit the content of dashboard panels so they can publish information.

A few things that might motivate writing an API panel (which pulls from external sources) instead:

Apr 22 2016, 5:53 PM · Dashboards, Restricted Project, Conduit, Feature Request
epriestley added a comment to T10855: Allow external systems to edit the content of dashboard panels so they can publish information.

(I agree that this is a bad solution for notifying users of downtime/maintenance on the current instance, and that rooster/broadcast is better.)

Apr 22 2016, 5:42 PM · Dashboards, Restricted Project, Conduit, Feature Request
epriestley added a comment to T10855: Allow external systems to edit the content of dashboard panels so they can publish information.

Maybe T8145 / T5231, but I think the driving use case there was "notify users of Phabricator downtime" specifically. I'm imagining the driving use cases here not affecting all users and not directly impacting Phabricator, just having wide enough impact that there's interest in surfacing them more broadly. e.g., "We're having a production incident affecting video upload, ops is investigating" is important, but not "every Phabricator user must be notified" important.

Apr 22 2016, 5:42 PM · Dashboards, Restricted Project, Conduit, Feature Request
epriestley added a comment to T10855: Allow external systems to edit the content of dashboard panels so they can publish information.

Doing a Phriction panel, an iframe panel, or a custom API panel would also be reasonable approaches.

Apr 22 2016, 5:39 PM · Dashboards, Restricted Project, Conduit, Feature Request
epriestley added a comment to T10855: Allow external systems to edit the content of dashboard panels so they can publish information.

Here's an example I could imagine us doing: we have some button on admin.phacility.com that says "Start a deploy". When that's pressed it causes these actions to occur:

Apr 22 2016, 5:38 PM · Dashboards, Restricted Project, Conduit, Feature Request
epriestley renamed T10855: Allow external systems to edit the content of dashboard panels so they can publish information from Provide a dashboards conduit API to Allow external systems to edit the content of dashboard panels so they can publish information.
Apr 22 2016, 5:34 PM · Dashboards, Restricted Project, Conduit, Feature Request
epriestley added a comment to T10855: Allow external systems to edit the content of dashboard panels so they can publish information.

This one seems OKish to me -- I think those use cases are pretty reasonable and root-problem-ish? I'm assuming "waht's currently broken" and "can we do deploys" are information known by some other system or tool.

Apr 22 2016, 5:30 PM · Dashboards, Restricted Project, Conduit, Feature Request
epriestley added a project to T10853: Make `setCWD('/does/not/exist')` safer on ExecFuture: Infrastructure.
Apr 22 2016, 12:58 PM · Infrastructure
epriestley added a revision to T4292: Implement repository replication: Unknown Object (Differential Revision).
Apr 22 2016, 12:41 PM · Restricted Project, Diffusion
epriestley added a revision to T10853: Make `setCWD('/does/not/exist')` safer on ExecFuture: Unknown Object (Differential Revision).
Apr 22 2016, 12:26 PM · Infrastructure
epriestley created T10853: Make `setCWD('/does/not/exist')` safer on ExecFuture.
Apr 22 2016, 12:11 PM · Infrastructure
epriestley added a comment to T7789: Support Git Large File Storage.

I think D15784 should fix the issue. It should land in master later today and be available in stable in about 24 hours. Let me know if you're still seeing issues once you update past that.

Apr 22 2016, 11:47 AM · Customer Impact, Restricted Project, Files, Diffusion
epriestley added a revision to T7789: Support Git Large File Storage: Unknown Object (Differential Revision).
Apr 22 2016, 11:45 AM · Customer Impact, Restricted Project, Files, Diffusion
epriestley added a comment to T7789: Support Git Large File Storage.

I think I know what's going on, although I'm unsure why the <2MB files would work, unless you happened to push those to a public ("Visible To: Public (No Login Required)") repository and pushed the large files to a private repository?

Apr 22 2016, 11:17 AM · Customer Impact, Restricted Project, Files, Diffusion
epriestley added a comment to T7789: Support Git Large File Storage.
  • Is security.alternate-file-domain configured on your install?
  • When you say "redirect to the correct file", do you mean you get taken to the file detail page /F1234?
  • Also, do you have rP37b93f4 locally (April 7)? (You can grab the hashes in Config → Versions if you aren't immediately sure and I can figure it out from there.)
Apr 22 2016, 11:08 AM · Customer Impact, Restricted Project, Files, Diffusion
epriestley added a revision to T4292: Implement repository replication: Unknown Object (Differential Revision).
Apr 22 2016, 11:03 AM · Restricted Project, Diffusion
epriestley added a comment to T7789: Support Git Large File Storage.

You shouldn't need to configure diffusion.allow-http-auth -- the auth token is basically the first [shortened] in the URI, so that appears to be working properly.

Apr 22 2016, 10:51 AM · Customer Impact, Restricted Project, Files, Diffusion
epriestley triaged T10852: Updating a very large diff continues to warn against updating very large diffs as Wishlist priority.
Apr 22 2016, 10:44 AM · Restricted Project, Feature Request, Arcanist
epriestley added a comment to T10852: Updating a very large diff continues to warn against updating very large diffs.

I think we generate this warning long before attaching the diff to a revision, so it isn't trivial to know where to look for a "you already confirmed this prompt once for the current revision" flag.

Apr 22 2016, 10:44 AM · Restricted Project, Feature Request, Arcanist
epriestley closed T10848: Notification mails containing old links after changing phabricator.base-uri as Resolved.
Apr 22 2016, 10:25 AM · Bug Report
salvian awarded T7789: Support Git Large File Storage a Like token.
Apr 22 2016, 4:47 AM · Customer Impact, Restricted Project, Files, Diffusion
Jacksgong awarded T5132: Document the special syntax you can use in commit messages to cause effects a Like token.
Apr 22 2016, 4:11 AM · Guides, Diffusion
cspeckmim awarded T10847: 30GB Phacility instance caused a series of cascading failures which left web services unreachable a Like token.
Apr 22 2016, 2:02 AM · Ops, Phacility
epriestley closed T10695: OOM killer nuked `mysql` on `secure.phabricator.com` after apache2 spawned 75+ workers as Resolved.

We appear to be stable here now:

Apr 22 2016, 12:28 AM · Phacility, Ops
epriestley added a comment to T10849: Support query timeouts via `max_statement_time` or MYSLQI_ASYNC.

This is also maybe a good time to fix all the bad old mysql vs mysqli stuff, mostly:

Apr 22 2016, 12:25 AM · Infrastructure, Phacility

Apr 21 2016

epriestley added a comment to T10848: Notification mails containing old links after changing phabricator.base-uri.

I can't reproduce this. For example, this host does not reproduce the issue:

Apr 21 2016, 11:21 PM · Bug Report
epriestley added a comment to T10849: Support query timeouts via `max_statement_time` or MYSLQI_ASYNC.

D15781 is promising and it looks like we can do this purely on the client if it has relatively old PHP, without requiring relatively new MySQL and special configuration on the server.

Apr 21 2016, 11:18 PM · Infrastructure, Phacility
epriestley added a revision to T10849: Support query timeouts via `max_statement_time` or MYSLQI_ASYNC: Unknown Object (Differential Revision).
Apr 21 2016, 11:18 PM · Infrastructure, Phacility
epriestley added a comment to T10751: Make Phabricator Highly Available.

Mixed progress. Repository clustering has been stable in production since the last update, and appears to actually work, which is good. We've hit a few minor snags (like a missing sync-before-read in diffusion.querycommits) but all pretty much expected stuff and nothing troubling.

Apr 21 2016, 9:06 PM · Restricted Project, Infrastructure, Prioritized
epriestley added a comment to T8952: Hide "Herald added subscribers..." stories from feed completely.

Like just don't show it at all? That seems reasonable to me, although 0.00000000001 is very funny and we would be losing a truly great joke at such a young age.

Apr 21 2016, 8:11 PM · Feed, Herald
epriestley added a comment to T8952: Hide "Herald added subscribers..." stories from feed completely.

That's because it was deliberate self-subscribe which is so completely boring that we normally wouldn't even show it. I think it's arguably correct to show the Herald story? Maybe?

Apr 21 2016, 7:50 PM · Feed, Herald
epriestley added a comment to T10847: 30GB Phacility instance caused a series of cascading failures which left web services unreachable.

Thanks, I think that should be fixed now. Not clear if it was related to everything else and I can't immediately come up with a way that it would have been -- I'll keep an eye on it. We've made some changes to the Aphlict server recently and it might have some issues that still need to be worked out, so it could be purely coincidental.

Apr 21 2016, 7:15 PM · Ops, Phacility
epriestley added a comment to T4292: Implement repository replication.

The diffusion.querycommits method needs to sync-before-read (at least, if bypassCache is provided?) but currently does not. This can lead to tasks failing on the daemon on an un-synchronized node. Things self-heal, but it would be nice to prevent this.

Apr 21 2016, 6:59 PM · Restricted Project, Diffusion