Page MenuHomePhabricator
Feed All Stories

Sep 10 2015

devurandom added a comment to T9383: Support `git notes`.

Is this related to T8936? I.e. similar cause?

Sep 10 2015, 12:03 PM · KDE, Git, Diffusion
Pawka added a comment to T9382: PhabricatorTaskmasterDaemon getting into MySQL deadlocks when executing PhabricatorApplicationTransactionPublishWorker tasks.

I doubt it is Percona issue. I've just tried perform same queries on my laptop with MySQL 5.6 and small data set. Still getting the same results as above.

Sep 10 2015, 12:00 PM · Daemons
epriestley added a comment to T9382: PhabricatorTaskmasterDaemon getting into MySQL deadlocks when executing PhabricatorApplicationTransactionPublishWorker tasks.

The fact that it's not using the key at all explains why the GC was slow for you and why removing the ORDER BY improved performance, at least, but it seems like it should be able to use the key to execute this query efficiently, and appears to do so in MySQL (we don't have as much data as you do, but I don't recall the GC having any issues when we pushed this change here, and other large installs haven't reported issues but I'd expect them to if the GC was not able to use the key).

Sep 10 2015, 11:56 AM · Daemons
epriestley added a comment to T9382: PhabricatorTaskmasterDaemon getting into MySQL deadlocks when executing PhabricatorApplicationTransactionPublishWorker tasks.

I'm tentatively inclined to think that this is a bug in Percona, since:

Sep 10 2015, 11:52 AM · Daemons
Pawka added a comment to T9382: PhabricatorTaskmasterDaemon getting into MySQL deadlocks when executing PhabricatorApplicationTransactionPublishWorker tasks.

Getting the same as above still.

Sep 10 2015, 11:46 AM · Daemons
epriestley added a comment to T9382: PhabricatorTaskmasterDaemon getting into MySQL deadlocks when executing PhabricatorApplicationTransactionPublishWorker tasks.

Yuck. Can you come up with any query where it uses the key? What if we do something really dumb like this to try to trick it?

Sep 10 2015, 11:44 AM · Daemons
Pawka added a comment to T9382: PhabricatorTaskmasterDaemon getting into MySQL deadlocks when executing PhabricatorApplicationTransactionPublishWorker tasks.

Same

mysql> EXPLAIN SELECT * FROM feed_storynotification WHERE chronologicalKey < 6175228766710272490 ORDER BY chronologicalKey DESC LIMIT 100;
+----+-------------+------------------------+-------+---------------+------------+---------+------+---------+------------------------------------------+
| id | select_type | table                  | type  | possible_keys | key        | key_len | ref  | rows    | Extra                                    |
+----+-------------+------------------------+-------+---------------+------------+---------+------+---------+------------------------------------------+
|  1 | SIMPLE      | feed_storynotification | index | NULL          | userPHID_2 | 133     | NULL | 2941950 | Using where; Using index; Using filesort |
+----+-------------+------------------------+-------+---------------+------------+---------+------+---------+------------------------------------------+
1 row in set (0.00 sec)
Sep 10 2015, 11:41 AM · Daemons
epriestley added a comment to T9382: PhabricatorTaskmasterDaemon getting into MySQL deadlocks when executing PhabricatorApplicationTransactionPublishWorker tasks.

Out of curiosity, what's the query plan for this (DESC instead of ASC)?

Sep 10 2015, 11:40 AM · Daemons
Pawka added a comment to T9382: PhabricatorTaskmasterDaemon getting into MySQL deadlocks when executing PhabricatorApplicationTransactionPublishWorker tasks.

I'm getting different results:

Sep 10 2015, 11:38 AM · Daemons
epriestley added a comment to T9382: PhabricatorTaskmasterDaemon getting into MySQL deadlocks when executing PhabricatorApplicationTransactionPublishWorker tasks.

Hmm, that's surprising. At least on our dataset, I get a worse-looking query plan without the ORDER BY:

Sep 10 2015, 11:36 AM · Daemons
devurandom updated the task description for T9385: Improvement of message: `A daemon is running as user phd.user while the Phabricator config specifies phd.user to be phd.`.
Sep 10 2015, 11:34 AM · Daemons
Pawka added a comment to T9382: PhabricatorTaskmasterDaemon getting into MySQL deadlocks when executing PhabricatorApplicationTransactionPublishWorker tasks.

Yes, I've solved this way. chronologicalKey already existed on the table but we had over 13 million records there. And performing DELETE query took quite long. Apparently it locked inserts to feed_storynotification table what caused deadlocks.

Sep 10 2015, 11:17 AM · Daemons
devurandom updated the task description for T9385: Improvement of message: `A daemon is running as user phd.user while the Phabricator config specifies phd.user to be phd.`.
Sep 10 2015, 11:11 AM · Daemons
epriestley added a subtask for T6162: Add an "Email and unread notification" option in user's Email Preferences: T9161: How can we fix "too much mail"?.
Sep 10 2015, 11:08 AM · Notifications, llvm, Restricted Project, Mail
epriestley added a parent task for T9161: How can we fix "too much mail"?: T6162: Add an "Email and unread notification" option in user's Email Preferences.
Sep 10 2015, 11:08 AM · Restricted Project, User Preferences, Mail
epriestley updated subscribers of T6162: Add an "Email and unread notification" option in user's Email Preferences.
Sep 10 2015, 11:08 AM · Notifications, llvm, Restricted Project, Mail
epriestley merged task T9384: New Email Preference "Email + Notify" into T6162: Add an "Email and unread notification" option in user's Email Preferences.
Sep 10 2015, 11:08 AM · User Preferences, Notifications
epriestley added a comment to T9383: Support `git notes`.

We do not currently support git notes, and I had never heard of it before this task.

Sep 10 2015, 11:07 AM · KDE, Git, Diffusion
epriestley renamed T9383: Support `git notes` from Diffusion rejects git-notes objects to Support `git notes`.
Sep 10 2015, 11:07 AM · KDE, Git, Diffusion
epriestley added a comment to T9382: PhabricatorTaskmasterDaemon getting into MySQL deadlocks when executing PhabricatorApplicationTransactionPublishWorker tasks.

Yes, this looks consistent with the GC and publisher deadlocking.

Sep 10 2015, 11:03 AM · Daemons
fooishbar added a comment to T1508: When running "arc diff" on a range of commits, preserve the individual commits while still creating a single diff from them.

@ccope Try running this over your branch:
git rebase -i --exec 'arc diff -C HEAD HEAD^' origin/master

Sep 10 2015, 11:03 AM · Restricted Project, Arcanist
epriestley added a comment to T7477: Handle inbound email with phabricator address in the CC.

That just looks like a bug that's only tangentially related, I think Audit and Countdown are both trying to receive mail at C... addresses.

Sep 10 2015, 10:49 AM · llvm, Restricted Project, Restricted Project, Mail
epriestley closed T9386: Embed search results in remarkup as Resolved.

Create a dashboard panel with the query, then embed it with {W...}.

Sep 10 2015, 10:45 AM · Dashboards, Remarkup
devurandom renamed T9385: Improvement of message: `A daemon is running as user phd.user while the Phabricator config specifies phd.user to be phd.` from `A daemon is running as user phd.user while the Phabricator config specifies phd.user to be phd.` to Improvement of message: `A daemon is running as user phd.user while the Phabricator config specifies phd.user to be phd.`.
Sep 10 2015, 10:39 AM · Daemons
devurandom added a comment to T9385: Improvement of message: `A daemon is running as user phd.user while the Phabricator config specifies phd.user to be phd.`.

Alternate style:

A daemon is running as user //observed_username//, while the Phabricator config specifies phd.user to be //expected_username//.
Sep 10 2015, 10:33 AM · Daemons
devurandom added a comment to T9385: Improvement of message: `A daemon is running as user phd.user while the Phabricator config specifies phd.user to be phd.`.

The 3rd paragraph is outright confusing:

phd Daemons will try to use `root` to start as the configured user. Make sure that the user who starts `phd` has the correct sudo permissions to start `root` daemons as `phd`
Sep 10 2015, 10:24 AM · Daemons
ccope added a comment to T1508: When running "arc diff" on a range of commits, preserve the individual commits while still creating a single diff from them.

I tried manually doing the arc diff on each commit in a branch, and discovered I couldn't actually view a single commit in isolation. Comparing two adjacent diffs in the revision still seemed to show all of the file moves which had been done in the other commits.

Sep 10 2015, 10:21 AM · Restricted Project, Arcanist
ralph.van.etten updated subscribers of T9386: Embed search results in remarkup.
Sep 10 2015, 10:20 AM · Dashboards, Remarkup
ralph.van.etten created T9386: Embed search results in remarkup.
Sep 10 2015, 10:19 AM · Dashboards, Remarkup
devurandom created T9385: Improvement of message: `A daemon is running as user phd.user while the Phabricator config specifies phd.user to be phd.`.
Sep 10 2015, 10:11 AM · Daemons
devurandom updated Q125: How to debug `sudo command failed. Starting daemon as current user.`? from to How to debug `sudo command failed. Starting daemon as current user.`?.
Sep 10 2015, 10:04 AM · Daemons
PeteA created T9384: New Email Preference "Email + Notify".
Sep 10 2015, 9:07 AM · User Preferences, Notifications
benjamin.cohen-solal added a comment to T9145: Exception on arc diff with PHPCS linter.

In waiting for an official fix from Phabricator teams, if someone knows how to quickly fix this issue, it should be great to share it.

Sep 10 2015, 8:50 AM · Differential, Arcanist
lfaraone added a project to T1508: When running "arc diff" on a range of commits, preserve the individual commits while still creating a single diff from them: Restricted Project.
Sep 10 2015, 8:49 AM · Restricted Project, Arcanist
Pawka added a comment to T9382: PhabricatorTaskmasterDaemon getting into MySQL deadlocks when executing PhabricatorApplicationTransactionPublishWorker tasks.

My previous Phabricator version was early 2015-May. I see, a bit later FeedStoryNotificationGarbageCollector was introduced (D13233).

Sep 10 2015, 7:52 AM · Daemons
SeMeKh created T9383: Support `git notes`.
Sep 10 2015, 7:21 AM · KDE, Git, Diffusion
Pawka created T9382: PhabricatorTaskmasterDaemon getting into MySQL deadlocks when executing PhabricatorApplicationTransactionPublishWorker tasks.
Sep 10 2015, 6:40 AM · Daemons
jhurwitz added a comment to T7477: Handle inbound email with phabricator address in the CC.

This just bit us again, via a different repro.

Sep 10 2015, 6:24 AM · llvm, Restricted Project, Restricted Project, Mail
dadi added a comment to T9367: Add another accept state for code review.

Thanks for the feedback guys.

Sep 10 2015, 6:03 AM · Differential, Restricted Project
marcus.hambraeus added a comment to T9369: Author of email not added to maniphest subscribers.

Thanks a bunch for solving this so quickly :)

Sep 10 2015, 5:39 AM · Mail, Maniphest
• porcoesphino added a comment to T9190: Unhandled Exception ("FilesystemException") - File system entity `/var/repo/PHABES/' does not exist..

Looking T9080: Service-based repositories in Phacility cluster fail too abruptly if cloning fails this isn't fixed for me. Until the UI allows you to configure the repository, I don't think this should be closed.

Sep 10 2015, 4:03 AM · Daemons, Diffusion
chad closed T9381: Whether review code can be automatically generated or not? as Invalid.

Please use Ponder or Conpherence (Z1336) for asking general questions about Phabricator. We prefer to keep Maniphest for tasks (bugs and features).

Sep 10 2015, 3:57 AM · Arcanist
• frankth1 created T9381: Whether review code can be automatically generated or not?.
Sep 10 2015, 3:54 AM · Arcanist
epriestley closed T9380: lint/unit failures cause confusing error message as Resolved by committing Restricted Diffusion Commit.
Sep 10 2015, 2:18 AM · Arcanist, Harbormaster, Restricted Project
epriestley added a revision to T9380: lint/unit failures cause confusing error message: Unknown Object (Differential Revision).
Sep 10 2015, 2:17 AM · Arcanist, Harbormaster, Restricted Project
meitros added a comment to T9380: lint/unit failures cause confusing error message.

Renaming to arc lint + arc unit sounds good and clearer to me.

Sep 10 2015, 2:13 AM · Arcanist, Harbormaster, Restricted Project
epriestley closed T7304: Add CORS support to Conduit API as Wontfix.

I don't plan to pursue this. We'll offer JS access to the OAuth API instead (see T7303).

Sep 10 2015, 1:35 AM · Restricted Project, Conduit
epriestley added a comment to T9380: lint/unit failures cause confusing error message.

Maybe renaming "Arcanist Client Results to "arc lint + arc unit" would be clear enough? It sounds like this workflow is generally fine, users are just not making the connection between "Arcanist Client Results" and the "arc" client?

Sep 10 2015, 1:31 AM · Arcanist, Harbormaster, Restricted Project
epriestley added projects to T9380: lint/unit failures cause confusing error message: Harbormaster, Arcanist.
Sep 10 2015, 1:30 AM · Arcanist, Harbormaster, Restricted Project
epriestley added a comment to T9380: lint/unit failures cause confusing error message.

I don't see an especially clear way forward here:

Sep 10 2015, 1:30 AM · Arcanist, Harbormaster, Restricted Project
meitros created T9380: lint/unit failures cause confusing error message.
Sep 10 2015, 1:20 AM · Arcanist, Harbormaster, Restricted Project
epriestley added a comment to T7477: Handle inbound email with phabricator address in the CC.

This is not blocked, although it's a moderate amount of work (4-6 hours?) and not adjacent to other work.

Sep 10 2015, 1:19 AM · llvm, Restricted Project, Restricted Project, Mail
epriestley added a comment to T8162: Option to disable "Generate Keypair".

This is 1-2 hours of work and can be slipped in somewhere if approved.

Sep 10 2015, 1:18 AM · Restricted Project, Passphrase, Auth
epriestley added a comment to T8172: "Edit" button shouldn't be hidden in "Actions".

We can look at this as part of the next Phriction iteration, although other changes likely impact the eventual design here.

Sep 10 2015, 1:17 AM · FreeBSD, Restricted Project, Phriction
epriestley moved T6502: Policy to define who can move cards in a workboard from Backlog to Projects v3 on the Projects board.
Sep 10 2015, 12:59 AM · Projects, Wikimedia, Policy, Workboards
epriestley added a project to T6502: Policy to define who can move cards in a workboard: Projects.
Sep 10 2015, 12:59 AM · Projects, Wikimedia, Policy, Workboards
epriestley moved T9379: Build Phriction v3 from Backlog to Preflight on the Prioritized board.
Sep 10 2015, 12:57 AM · Phriction
epriestley moved T7005: Find somewhat simple way to have Phriction be a part of new Projects layout from Backlog to Next on the Phriction board.
Sep 10 2015, 12:56 AM · FreeBSD, Phriction, Projects
epriestley moved T8900: Copying contents from Phriction history diff doesn't work from Backlog to Next on the Phriction board.
Sep 10 2015, 12:56 AM · Restricted Project, Infrastructure, Differential, Phriction
epriestley moved T9102: Show comment and link to diff for Phriction changes in Feed from Backlog to Next on the Phriction board.
Sep 10 2015, 12:56 AM · Phriction
epriestley moved T3353: Make Phriction Document changes reviewable from Backlog to Next on the Phriction board.
Sep 10 2015, 12:51 AM · Restricted Project, Prioritized, Phriction
epriestley created T9379: Build Phriction v3.
Sep 10 2015, 12:51 AM · Phriction
epriestley edited projects for T3353: Make Phriction Document changes reviewable, added: Phriction; removed Files, Applications.
Sep 10 2015, 12:49 AM · Restricted Project, Prioritized, Phriction
epriestley moved T4274: Creating a document from a link doesn't preserve case from Backlog to Next on the Phriction board.
Sep 10 2015, 12:47 AM · Phriction
epriestley moved T4815: Navigation buttons "Next version" and "Previous version" for phriction-documents from Backlog to Next on the Phriction board.
Sep 10 2015, 12:47 AM · Badge Awarded, Phriction
epriestley closed T5003: Feature request: jointJS or Draw2D support in Phabricator wiki as Wontfix.

I don't anticipate implementing these in the upstream. Remarkup is extensible enough that these could be implemented as extensions.

Sep 10 2015, 12:47 AM · Remarkup, Phriction
epriestley moved T5254: Allow top-level wiki doc to display entire document hierarchy instead of only 2 levels from Backlog to Next on the Phriction board.
Sep 10 2015, 12:46 AM · Phriction
epriestley moved T6284: Allow manual reordering of documents in the document hierarchy from Backlog to Next on the Phriction board.
Sep 10 2015, 12:46 AM · Phriction
epriestley moved T7638: Archiving wiki pages in Phriction from Backlog to Next on the Phriction board.
Sep 10 2015, 12:46 AM · Phriction
epriestley moved T7783: phriction diffs don't default to remarkup from Backlog to Next on the Phriction board.
Sep 10 2015, 12:45 AM · Remarkup, Phriction
epriestley moved T8082: Exception when moving Phriction document into place of old one from Backlog to Next on the Phriction board.
Sep 10 2015, 12:45 AM · Restricted Project, Support Impact, Phriction
epriestley moved T7878: strange "moved from" signal in [Phriction] diff from Backlog to Next on the Phriction board.
Sep 10 2015, 12:45 AM · Differential
epriestley moved T8172: "Edit" button shouldn't be hidden in "Actions" from Backlog to Next on the Phriction board.
Sep 10 2015, 12:45 AM · FreeBSD, Restricted Project, Phriction
epriestley moved T8552: Increase user control over document hierarchy in Phriction from Backlog to Next on the Phriction board.
Sep 10 2015, 12:45 AM · Phriction, Restricted Project
epriestley moved T8708: Undefined variable: message when trying to move a phriction page to a lower level from Backlog to Next on the Phriction board.
Sep 10 2015, 12:45 AM · Phriction, Restricted Project
epriestley closed T8835: Replacement for actAsUser in Conduit API as Wontfix.

See above.

Sep 10 2015, 12:44 AM · Restricted Project, Conduit
dgoldstein added a comment to T7776: Loading delta between two diffs in Differential can result in diffs for large files failing to load.

@jhurwitz do you remember a diff that we saw this on?

Sep 10 2015, 12:43 AM · Restricted Project, Restricted Project, Differential
epriestley added a comment to T7776: Loading delta between two diffs in Differential can result in diffs for large files failing to load.

Did D12730 resolve this?

Sep 10 2015, 12:41 AM · Restricted Project, Restricted Project, Differential
epriestley closed T6930: Build Multimeter, a "why is Phabricator slow?" toolset as Resolved.

This exist and has at least been minimally useful in making it easier to improve package definitions, if nothing else.

Sep 10 2015, 12:38 AM · Restricted Project, Performance, Infrastructure, Phacility
epriestley merged task T1849: Show file history beyond moves and copies into T8570: Improve browsability of directories which change name frequently.
Sep 10 2015, 12:33 AM · Diffusion
epriestley updated subscribers of T8570: Improve browsability of directories which change name frequently.
Sep 10 2015, 12:33 AM · Diffusion (v3), Restricted Project, Restricted Project
epriestley added a comment to T8570: Improve browsability of directories which change name frequently.

This is the same as T1849 but I'm just going to merge that here since this one is sort of more complete, even though T1849 has a great screenshot.

Sep 10 2015, 12:33 AM · Diffusion (v3), Restricted Project, Restricted Project
epriestley added a comment to T7719: Impossible to submit "Done" inline comment state without adding a comment.

At HEAD, I get this:

Sep 10 2015, 12:31 AM · Restricted Project, Audit, Differential
epriestley added a comment to T8572: Prompt for incomplete/unsaved inline comments upon creating a new comment instead of doing nothing.

We've never seen other reports of this, but it's <1 hour to fix. We can weave it in somewhere if approved.

Sep 10 2015, 12:27 AM · Prioritized, Differential, Restricted Project
epriestley added a comment to T8573: All reviewers should be allowed to mark a comment as done.

Some discussion in T9367.

Sep 10 2015, 12:26 AM · Restricted Project, Differential, Restricted Project
epriestley added a comment to T8592: "View on previous revision" button on ghosted comment can jump to wrong place.

This is likely the same as T5030, but I haven't observed it myself and haven't spent the time to try to reproduce it.

Sep 10 2015, 12:13 AM · Differential, Restricted Project
epriestley added a comment to T8594: Develop system for dumping/backing up Phriction documents.

This is a fairly huge amount of complexity for a very niche use case, which makes me hesitant to pursue it in the upstream. I expect the number of installs which would use this feature is on the order of 1, and that it essentially amounts to custom development.

Sep 10 2015, 12:12 AM · Phriction, Restricted Project

Sep 9 2015

epriestley assigned T8607: Half-done comments on posted on arc diff to angie.

We don't understand this use case, so we aren't sure how to proceed here.

Sep 9 2015, 11:59 PM · Restricted Project
epriestley added a comment to T5031: Draft Comment Persists After Submission.

This is fairly straightforward but blocked on T9132, which is prioritized elsewhere. This is likely to be completed adjacently with T9132 anyway.

Sep 9 2015, 11:59 PM · Restricted Project, Support Impact, Mobile
epriestley added a comment to T8610: No threaded comments --hard to follow in line comments when two bugs exist on one line.

We're aware of requests in this vein but unlikely to implement the specific suggestions here, for a variety of reasons. The product pathway forward here is generally a murky one. We will likely need to resolve T1460 (itself, murky) before having more clarity here. Resolving it may also introduce satisfactory threading.

Sep 9 2015, 11:58 PM · Restricted Project
epriestley added a comment to T8646: Provide more context for search results, particularly wiki documents.

This is technically straightforward but probably needs some design work. I'd guess it's on the order of 2-4 hours depending how messy application/customfield stuff ends up, although that may happen in a technical block and a separate design block. This can be slipped in if approved.

Sep 9 2015, 11:55 PM · Design, Search, Restricted Project
epriestley added a comment to T8660: Top search bar is not consistent about searching open vs closed document types.

This is easy to change but I'm not really convinced it's better, even though it is inconsistent.

Sep 9 2015, 11:52 PM · FreeBSD, Search, Restricted Project
epriestley added a comment to T8830: `bin/remove destroy` is dangerous and leaves dangling edges.

I plan to try to collect the above into documentation to try to better explain this, but I don't think that has any specific impact on anyone. I don't plan to make any behavioral changes. I'm open to suggestions here, but we can't write a bin/time rewind and can not fully redact data which has been committed to the system and published to email and other external channels.

Sep 9 2015, 11:44 PM · Infrastructure, Restricted Project
epriestley closed T8854: Display unit test results on home view as Invalid.

Presuming this is a problem with extensions since there's a warning in the upstream.

Sep 9 2015, 11:39 PM · Unit, Arcanist, Restricted Project
epriestley added a comment to T9012: Nag users who reply-all.

This should probably wait for T3980 and be reevaluated after that.

Sep 9 2015, 11:38 PM · llvm, Mail, Restricted Project
epriestley added a comment to T5181: Parse in-line replies in email responses.

In particular, I think we're going to hit cases like this:

Sep 9 2015, 11:38 PM · llvm, Restricted Project, Mail
epriestley added a comment to T5181: Parse in-line replies in email responses.

Well, there's an unrelated bug.

Sep 9 2015, 11:37 PM · llvm, Restricted Project, Mail
epriestley added a comment to T5181: Parse in-line replies in email responses.

(Just creating an example via email for my next reply.)

Sep 9 2015, 11:32 PM · llvm, Restricted Project, Mail
epriestley assigned T9026: arc land might identify wrong revision if branch is missing revision to angie.

I do this routinely without errors and am not sure how to reproduce it.

Sep 9 2015, 11:30 PM · Restricted Project, Arcanist
epriestley added a comment to T5591: Add default domain to Google auth.

This is straightforward and probably <1 hour of work. It can be squeezed in if approved for prioritization.

Sep 9 2015, 11:27 PM · Restricted Project, Restricted Project, Auth