Page MenuHomePhabricator
Feed All Stories

Feb 6 2018

avivey awarded T13063: Maybe render all text with IMPRESSIVE illuminated drop caps a Manufacturing Defect? token.
Feb 6 2018, 1:49 AM · Remarkup

Feb 5 2018

epriestley added a comment to T13053: Plans: Mail Tags and Failover.

The "From" address should also probably be anonymized for flagged mail.

Feb 5 2018, 11:59 PM · Plans, Must Encrypt Mail, Mail
epriestley added a comment to T13053: Plans: Mail Tags and Failover.

Who knows what the Bad People would have one if they'd intercepted it!

Feb 5 2018, 11:39 PM · Plans, Must Encrypt Mail, Mail
epriestley added a comment to T13053: Plans: Mail Tags and Failover.

When an object is updated via an "inverse edge" change (normally: when it is mentioned, or when another object is linked to it) we currently do not fire Herald rules. The corresponding block in the code has this comment:

Feb 5 2018, 11:38 PM · Plans, Must Encrypt Mail, Mail
alexmv added a comment to T13053: Plans: Mail Tags and Failover.

Hrrrm...

Feb 5 2018, 11:37 PM · Plans, Must Encrypt Mail, Mail
epriestley added a comment to T13053: Plans: Mail Tags and Failover.

Hrrrm...

Feb 5 2018, 11:33 PM · Plans, Must Encrypt Mail, Mail
epriestley added a revision to T12677: Support multiple mail delivery services for automatic failover: Unknown Object (Differential Revision).
Feb 5 2018, 10:44 PM · Phacility, Mail
epriestley added a revision to T13053: Plans: Mail Tags and Failover: Unknown Object (Differential Revision).
Feb 5 2018, 10:44 PM · Plans, Must Encrypt Mail, Mail
epriestley closed T13061: Explain more clearly that "arc lint --everything" only lints stuff tracked by the VCS as Resolved by committing Restricted Diffusion Commit.
Feb 5 2018, 8:26 PM · Documentation, Arcanist
epriestley closed T13060: When LANG=POSIX, executing commands with UTF8 characters in the argument list fails as Resolved by committing Restricted Diffusion Commit.
Feb 5 2018, 8:23 PM · Diffusion
epriestley added a revision to T13053: Plans: Mail Tags and Failover: Restricted Differential Revision.
Feb 5 2018, 8:06 PM · Plans, Must Encrypt Mail, Mail
epriestley added a revision to T13053: Plans: Mail Tags and Failover: Unknown Object (Differential Revision).
Feb 5 2018, 7:23 PM · Plans, Must Encrypt Mail, Mail
epriestley added a revision to T13053: Plans: Mail Tags and Failover: Unknown Object (Differential Revision).
Feb 5 2018, 7:03 PM · Plans, Must Encrypt Mail, Mail
epriestley added a revision to T13053: Plans: Mail Tags and Failover: Unknown Object (Differential Revision).
Feb 5 2018, 6:40 PM · Plans, Must Encrypt Mail, Mail
epriestley renamed T13063: Maybe render all text with IMPRESSIVE illuminated drop caps from Maybe render all text with illuminated drop caps to Maybe render all text with IMPRESSIVE illuminated drop caps.
Feb 5 2018, 6:23 PM · Remarkup
epriestley triaged T13063: Maybe render all text with IMPRESSIVE illuminated drop caps as Wishlist priority.
Feb 5 2018, 6:23 PM · Remarkup
epriestley added a comment to T13062: Trying to manage anything in Gsuite is kind of not great?.

🎉🎉🎉 I RECEIVED AN EMAIL AND CLICKED A LINK CONTAINED INSIDE IT 🎉🎉🎉

Feb 5 2018, 4:21 PM · Phacility, Ops
epriestley added a comment to T13062: Trying to manage anything in Gsuite is kind of not great?.

Ah, it looks like Google Groups spam filtered some of the Twitter verification mail!

Feb 5 2018, 4:18 PM · Phacility, Ops
epriestley added a comment to T13062: Trying to manage anything in Gsuite is kind of not great?.

Some of this seems to be that messages sent from my @phacility.com address are sometimes eaten entirely (?) or just not delivered to me (?), presumably because I'm a recipient. I still haven't been able to get the confirmation link from Twitter, but it's possible that's on Twitter's end.

Feb 5 2018, 4:15 PM · Phacility, Ops
epriestley added a comment to T13062: Trying to manage anything in Gsuite is kind of not great?.

I figured some of this might be Safari vs Chrome, even though there's no obvious indication that Safari is having issues (e.g., I didn't catch any JS errors in the console).

Feb 5 2018, 3:59 PM · Phacility, Ops
epriestley added a comment to T13062: Trying to manage anything in Gsuite is kind of not great?.

There's an hourglass icon in the header menu. I don't know what this is for. When I click this, I get a "Loading..." menu which never loads. I reloaded the page, too. There's nothing pertinent in the console error log.

Feb 5 2018, 3:53 PM · Phacility, Ops
epriestley triaged T13062: Trying to manage anything in Gsuite is kind of not great? as Wishlist priority.
Feb 5 2018, 3:51 PM · Phacility, Ops
epriestley added a comment to T11760: Phacility Cluster: Ad-Hoc Query Log.

We received our first credit card dispute on January 31st.

Feb 5 2018, 2:51 PM · Phacility
epriestley added a revision to T13048: Implement a "take action only when this rule didn't match last time" repetition policy for Herald: Unknown Object (Differential Revision).
Feb 5 2018, 2:05 PM · Herald
Twilight added a member for Space Test Users: Twilight.
Feb 5 2018, 6:22 AM

Feb 4 2018

epriestley added a revision to T10448: Modularize mail tags: Unknown Object (Differential Revision).
Feb 4 2018, 5:40 PM · Prioritized, Restricted Project, Mail, User Preferences, Owners, Feature Request
epriestley added a revision to T5554: arc fails with svn/git/hg non english locales: Unknown Object (Differential Revision).
Feb 4 2018, 3:53 PM · Arcanist
epriestley added a revision to T7339: Raise a setup warning when the "en_US.UTF-8" locale is unavailable: Unknown Object (Differential Revision).
Feb 4 2018, 3:53 PM · Diffusion (v3)
epriestley added a revision to T13060: When LANG=POSIX, executing commands with UTF8 characters in the argument list fails: Restricted Differential Revision.
Feb 4 2018, 3:53 PM · Diffusion
epriestley added a comment to T5554: arc fails with svn/git/hg non english locales.

See some additional discussion in T13060 and T7339. Pretty much everything here remains unchanged, but those tasks discover an additional constrain: a parent process has LANG=POSIX (or similar, some non-UTF8 locale), it can not pass UTF8 to subprocesses in argument lists.

Feb 4 2018, 3:11 PM · Arcanist
epriestley added a comment to T12807: Diffusion's "Grep File Content" doesn't work with UTF characters.

See T13060 and T7339 for followups and additional discussion.

Feb 4 2018, 3:01 PM · Diffusion, Bug Report
epriestley added a comment to T7339: Raise a setup warning when the "en_US.UTF-8" locale is unavailable.

D18988 addresses the issue from D18105 (git grep 🐑 fails) more directly by calling @setlocale(LC_ALL, 'en_US.UTF-8') unconditionally during startup. The motivating case in T13060 is:

Feb 4 2018, 2:59 PM · Diffusion (v3)
epriestley added a revision to T13061: Explain more clearly that "arc lint --everything" only lints stuff tracked by the VCS: Unknown Object (Differential Revision).
Feb 4 2018, 2:24 PM · Documentation, Arcanist
epriestley added a revision to T13060: When LANG=POSIX, executing commands with UTF8 characters in the argument list fails: Unknown Object (Differential Revision).
Feb 4 2018, 2:09 PM · Diffusion
epriestley added a revision to T13060: When LANG=POSIX, executing commands with UTF8 characters in the argument list fails: Unknown Object (Differential Revision).
Feb 4 2018, 2:01 PM · Diffusion
epriestley triaged T13061: Explain more clearly that "arc lint --everything" only lints stuff tracked by the VCS as Low priority.
Feb 4 2018, 1:45 PM · Documentation, Arcanist

Feb 3 2018

epriestley added a comment to T10817: Allow more characters for built-in `filename` linter.

(Future me, see also PHI343.)

Feb 3 2018, 8:09 PM · Lint, Feature Request
swisspol added a comment to T10817: Allow more characters for built-in `filename` linter.

The above workaround is not reliable since it skips the files entirely vs checking the remaining characters.

Feb 3 2018, 7:58 PM · Lint, Feature Request
epriestley added a comment to T13060: When LANG=POSIX, executing commands with UTF8 characters in the argument list fails.

I think I didn't kick Apache hard enough since I eventually rammed this through with setlocale().

Feb 3 2018, 4:20 PM · Diffusion
epriestley added a comment to T13060: When LANG=POSIX, executing commands with UTF8 characters in the argument list fails.

setlocale(...) doesn't (?) appear to work from within Apache (?).

Feb 3 2018, 4:15 PM · Diffusion
epriestley renamed T13060: When LANG=POSIX, executing commands with UTF8 characters in the argument list fails from Commits may partially fail to import when affecting files with UTF8 characters to When LANG=POSIX, executing commands with UTF8 characters in the argument list fails.
Feb 3 2018, 4:07 PM · Diffusion
epriestley added a comment to T13060: When LANG=POSIX, executing commands with UTF8 characters in the argument list fails.

Thankfully, it seems that setlocale(LC_ALL, 'en_US.UTF-8'); from within PHP does work, so we don't need to figure out what PAM initialization cache file Ubuntu is actually reading LANG settings from.

Feb 3 2018, 4:02 PM · Diffusion
epriestley added a comment to T13060: When LANG=POSIX, executing commands with UTF8 characters in the argument list fails.

sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 also does not work, although this is apparently just a Perl script that rewrites /etc/default/locale for you.

Feb 3 2018, 3:54 PM · Diffusion
epriestley added a comment to T13060: When LANG=POSIX, executing commands with UTF8 characters in the argument list fails.

Setting LANG in /etc/environment had no effect on anything.

Feb 3 2018, 3:50 PM · Diffusion
epriestley added a comment to T13060: When LANG=POSIX, executing commands with UTF8 characters in the argument list fails.

I now strongly believe this is some kind of terminal environment problem. This script has different behavior in production and on my laptop:

Feb 3 2018, 3:39 PM · Diffusion
epriestley added a comment to T13060: When LANG=POSIX, executing commands with UTF8 characters in the argument list fails.

No luck, I don't even see any bugs in Differential locally with that change (the en-dash decodes and renders properly). So this might be in the realm of T7339.

Feb 3 2018, 2:04 PM · Diffusion
epriestley added a comment to T13060: When LANG=POSIX, executing commands with UTF8 characters in the argument list fails.

Same result.

Feb 3 2018, 1:57 PM · Diffusion
epriestley added a comment to T13060: When LANG=POSIX, executing commands with UTF8 characters in the argument list fails.

Same results for spaces.

Feb 3 2018, 1:54 PM · Diffusion
epriestley added a comment to T13060: When LANG=POSIX, executing commands with UTF8 characters in the argument list fails.

To try to reproduce this, I did this:

Feb 3 2018, 1:53 PM · Diffusion
epriestley triaged T13060: When LANG=POSIX, executing commands with UTF8 characters in the argument list fails as Normal priority.
Feb 3 2018, 1:47 PM · Diffusion
ekubischta edited the content of Organizations Using Phabricator.
Feb 3 2018, 5:02 AM

Feb 2 2018

epriestley added a comment to T13053: Plans: Mail Tags and Failover.

Vaguely related, the subject line for this mail is currently something like:

Feb 2 2018, 11:07 PM · Plans, Must Encrypt Mail, Mail
epriestley added a comment to T13053: Plans: Mail Tags and Failover.

🐱 🐟

Feb 2 2018, 11:03 PM · Plans, Must Encrypt Mail, Mail
epriestley added a project to T13053: Plans: Mail Tags and Failover: Must Encrypt Mail.
Feb 2 2018, 11:02 PM · Plans, Must Encrypt Mail, Mail
epriestley created Must Encrypt Mail.
Feb 2 2018, 10:56 PM
epriestley edited the content of Changelog.
Feb 2 2018, 9:29 PM
epriestley created 2018 Week 5 (Very Early February).
Feb 2 2018, 9:28 PM
ofbeaton added a comment to T12359: Registration does not accept valid email addresses.

We have also found legitimate users who have valid email addresses (Irish users) that are not accepted.

Feb 2 2018, 8:35 PM · Bug Report
ofbeaton added a comment to T12718: Local email validation with apostrophe.

For those visiting from the future via search, I have decided to publish an unofficial bug patch in a github repo, as it breaks once in awhile due to upstream changes.

Feb 2 2018, 8:31 PM · Bug Report
ofbeaton added a comment to T10598: Options to display Real Name instead of username everywhere.

For those visiting from the future via search, I have decided to publish the unofficial patch in a github repo, as it breaks once in awhile due to upstream changes.

Feb 2 2018, 6:40 PM · Feature Request
epriestley updated the task description for T13059: Write a lint rule for detecting unreachable blocks.
Feb 2 2018, 5:12 PM · Arcanist, Lint
epriestley triaged T13059: Write a lint rule for detecting unreachable blocks as Normal priority.
Feb 2 2018, 5:07 PM · Arcanist, Lint
cmmata added a comment to T12785: Arc unit command fails with PHPUnit 6.

Thanks @mcorteel, I'll take a look.

Feb 2 2018, 5:01 PM · Arcanist, Bug Report
epriestley added a comment to T13053: Plans: Mail Tags and Failover.

contains complex HTML elements (like inline comments) which would also need to be stored in a structured way and then rendered just-in-time

Feb 2 2018, 4:30 PM · Plans, Must Encrypt Mail, Mail
epriestley added a comment to T13053: Plans: Mail Tags and Failover.

While it's on my mind -- these messages link to /mail/whatever/123/ right now, but that page doesn't hyperlink links in the mail body, which is a fairly significant usability issue since the workflow is: click the link to go to the mail, read the mail body, copy paste the link in the mail body into your address bar.

Feb 2 2018, 4:25 PM · Plans, Must Encrypt Mail, Mail

Feb 1 2018

epriestley closed T11138: mail is not delivered if metamta.placeholder-to-recipient is null as Invalid.

This report doesn't include working reproduction instructions so we can't move forward.

Feb 1 2018, 10:58 PM · Mail, Bug Report
epriestley closed T12630: Phabricator fails with a fatal PHP error if it receives a mail with no plain text part as Resolved.

I can't reproduce this; it may have been fixed by D18776 + D18778.

Feb 1 2018, 10:54 PM · Mail, Bug Report
epriestley closed T13037: An attacker gained staff access to Mailgun and was able to read customer API keys as Resolved.

My call with Mailgun was generally reassuring. Based on an uncharitable reading of the January 5th disclosure, my major concern was that they might be starting from a cultural position which was blind to internal actors as threats and everyone just used root / hunter2 written on a sticky note to log in to everything or something like that.

Feb 1 2018, 9:42 PM · Phacility, Security, Mail
epriestley added a revision to T13053: Plans: Mail Tags and Failover: Unknown Object (Differential Revision).
Feb 1 2018, 8:04 PM · Plans, Must Encrypt Mail, Mail
epriestley added a revision to T13053: Plans: Mail Tags and Failover: Unknown Object (Differential Revision).
Feb 1 2018, 7:37 PM · Plans, Must Encrypt Mail, Mail
jbrownEP added a comment to T11415: Would like people who can't edit Harbormaster plans to be able to run them.

I am also interested in this; it's not uncommon that an engineer is testing a regression somewhere and wants to trigger a full CI build of an old revision. Today, their options are (a) have admin access to the Harbormaster Build Plan, which requires a large amount of trust or (b) bother someone who does have admin access to press buttons.

Feb 1 2018, 7:31 PM · Restricted Project, Harbormaster, Feature Request
jbrownEP added a comment to T9821: Allow Harbormaster build plans to run on branch push instead of per-commit.

I would also be interested in this feature; here's our use-case if you possibly find it more persuasive than OP's:

Feb 1 2018, 7:23 PM · Restricted Project, Harbormaster
epriestley added a revision to T13053: Plans: Mail Tags and Failover: Unknown Object (Differential Revision).
Feb 1 2018, 5:34 PM · Plans, Must Encrypt Mail, Mail
epriestley added a comment to T13053: Plans: Mail Tags and Failover.

I suppose another reasonable attacker is "laptop thieves", but deleting any locally stored mail which was accidentally transmitted in the open seems like a reasonable way to recover from any confusion that arises until we figure out how foolproof the behavior needs to be.

Feb 1 2018, 5:05 PM · Plans, Must Encrypt Mail, Mail
epriestley added a comment to T13053: Plans: Mail Tags and Failover.

The intended trigger for "Must Encrypt" is Herald rules like this:

Feb 1 2018, 5:03 PM · Plans, Must Encrypt Mail, Mail
epriestley added a revision to T13053: Plans: Mail Tags and Failover: Unknown Object (Differential Revision).
Feb 1 2018, 4:39 PM · Plans, Must Encrypt Mail, Mail
epriestley added a comment to T13053: Plans: Mail Tags and Failover.

The "Must Encrypt" change will necessarily link into the existing /mail/ web UI so users can read the mail content, so it's probably worth considering possible improvements.

Feb 1 2018, 4:08 PM · Plans, Must Encrypt Mail, Mail
epriestley updated the task description for T13053: Plans: Mail Tags and Failover.
Feb 1 2018, 3:26 PM · Plans, Must Encrypt Mail, Mail
epriestley added a comment to T13053: Plans: Mail Tags and Failover.

Although I'm suppressing the X-Phabricator-To and X-Phabricator-Cc headers for "Must Encrypt" mail (and the "To: ..." and "Cc: ..." footers in the body), the recipients will still be visible in the actual "To" and "Cc" lines if metamta.one-mail-per-recipient has been configured to false instead of the default (which is true).

Feb 1 2018, 3:24 PM · Plans, Must Encrypt Mail, Mail
epriestley added a comment to T13053: Plans: Mail Tags and Failover.

On Thread-Topic, this very old thread suggests that Outlook can show the header in some cases: https://bugzilla.mozilla.org/show_bug.cgi?id=411601

Feb 1 2018, 3:14 PM · Plans, Must Encrypt Mail, Mail
epriestley updated the task description for T13053: Plans: Mail Tags and Failover.
Feb 1 2018, 3:02 PM · Plans, Must Encrypt Mail, Mail
mcorteel added a comment to T12785: Arc unit command fails with PHPUnit 6.

@cmmata here is my diff. It can probably be improved, but it works for me:

1diff --git a/src/unit/engine/PhpunitTestEngine.php b/src/unit/engine/PhpunitTestEngine.php
2index 8206b787..ef01fda4 100644
3--- a/src/unit/engine/PhpunitTestEngine.php
4+++ b/src/unit/engine/PhpunitTestEngine.php
5@@ -52,7 +52,7 @@ final class PhpunitTestEngine extends ArcanistUnitTestEngine {
6 if (!Filesystem::pathExists($test_path)) {
7 continue;
8 }
9- $json_tmp = new TempFile();
10+ $xml_tmp = new TempFile();
11 $clover_tmp = null;
12 $clover = null;
13 if ($this->getEnableCoverage() !== false) {
14@@ -64,10 +64,10 @@ final class PhpunitTestEngine extends ArcanistUnitTestEngine {
15
16 $stderr = '-d display_errors=stderr';
17
18- $futures[$test_path] = new ExecFuture('%C %C %C --log-json %s %C %s',
19- $this->phpunitBinary, $config, $stderr, $json_tmp, $clover, $test_path);
20+ $futures[$test_path] = new ExecFuture('%C %C %C --log-junit %s %C %s',
21+ $this->phpunitBinary, $config, $stderr, $xml_tmp, $clover, $test_path);
22 $tmpfiles[$test_path] = array(
23- 'json' => $json_tmp,
24+ 'xml' => $xml_tmp,
25 'clover' => $clover_tmp,
26 );
27 }
28@@ -81,7 +81,7 @@ final class PhpunitTestEngine extends ArcanistUnitTestEngine {
29
30 $results[] = $this->parseTestResults(
31 $test,
32- $tmpfiles[$test]['json'],
33+ $tmpfiles[$test]['xml'],
34 $tmpfiles[$test]['clover'],
35 $stderr);
36 }
37@@ -90,17 +90,17 @@ final class PhpunitTestEngine extends ArcanistUnitTestEngine {
38 }
39
40 /**
41- * Parse test results from phpunit json report.
42+ * Parse test results from phpunit XML report.
43 *
44 * @param string $path Path to test
45- * @param string $json_tmp Path to phpunit json report
46+ * @param string $xml_tmp Path to phpunit XML report
47 * @param string $clover_tmp Path to phpunit clover report
48 * @param string $stderr Data written to stderr
49 *
50 * @return array
51 */
52- private function parseTestResults($path, $json_tmp, $clover_tmp, $stderr) {
53- $test_results = Filesystem::readFile($json_tmp);
54+ private function parseTestResults($path, $xml_tmp, $clover_tmp, $stderr) {
55+ $test_results = Filesystem::readFile($xml_tmp);
56 return id(new ArcanistPhpunitTestResultParser())
57 ->setEnableCoverage($this->getEnableCoverage())
58 ->setProjectRoot($this->projectRoot)
59diff --git a/src/unit/parser/ArcanistPhpunitTestResultParser.php b/src/unit/parser/ArcanistPhpunitTestResultParser.php
60index 5ccff970..3d7fcd77 100644
61--- a/src/unit/parser/ArcanistPhpunitTestResultParser.php
62+++ b/src/unit/parser/ArcanistPhpunitTestResultParser.php
63@@ -9,10 +9,10 @@
64 final class ArcanistPhpunitTestResultParser extends ArcanistTestResultParser {
65
66 /**
67- * Parse test results from phpunit json report
68+ * Parse test results from phpunit XML report
69 *
70 * @param string $path Path to test
71- * @param string $test_results String containing phpunit json report
72+ * @param string $test_results String containing phpunit XML report
73 *
74 * @return array
75 */
76@@ -25,7 +25,7 @@ final class ArcanistPhpunitTestResultParser extends ArcanistTestResultParser {
77 return array($result);
78 }
79
80- $report = $this->getJsonReport($test_results);
81+ $report = simplexml_load_string($test_results);
82
83 // coverage is for all testcases in the executed $path
84 $coverage = array();
85@@ -36,56 +36,36 @@ final class ArcanistPhpunitTestResultParser extends ArcanistTestResultParser {
86 $last_test_finished = true;
87
88 $results = array();
89- foreach ($report as $event) {
90- switch (idx($event, 'event')) {
91- case 'test':
92- break;
93- case 'testStart':
94- $last_test_finished = false;
95- // fall through
96- default:
97- continue 2; // switch + loop
98- }
99-
100+ foreach ($report->testsuite as $test_suite) {
101 $status = ArcanistUnitTestResult::RESULT_PASS;
102 $user_data = '';
103
104- if ('fail' == idx($event, 'status')) {
105+ if ((int)$test_suite['failures'] > 0) {
106 $status = ArcanistUnitTestResult::RESULT_FAIL;
107- $user_data .= idx($event, 'message')."\n";
108- foreach (idx($event, 'trace') as $trace) {
109- $user_data .= sprintf(
110- "\n%s:%s",
111- idx($trace, 'file'),
112- idx($trace, 'line'));
113+ foreach ($test_suite->testcase as $test_case) {
114+ foreach ($test_case->failure as $failure) {
115+ $user_data .= sprintf(
116+ "\n%s",
117+ (string)$failure);
118+ }
119 }
120- } else if ('error' == idx($event, 'status')) {
121- if (strpos(idx($event, 'message'), 'Skipped Test') !== false) {
122- $status = ArcanistUnitTestResult::RESULT_SKIP;
123- $user_data .= idx($event, 'message');
124- } else if (strpos(
125- idx($event, 'message'),
126- 'Incomplete Test') !== false) {
127- $status = ArcanistUnitTestResult::RESULT_SKIP;
128- $user_data .= idx($event, 'message');
129- } else {
130- $status = ArcanistUnitTestResult::RESULT_BROKEN;
131- $user_data .= idx($event, 'message');
132- foreach (idx($event, 'trace') as $trace) {
133- $user_data .= sprintf(
134- "\n%s:%s",
135- idx($trace, 'file'),
136- idx($trace, 'line'));
137+ } else if ($test_suite['errors'] > 0) {
138+ $status = ArcanistUnitTestResult::RESULT_BROKEN;
139+ foreach ($test_suite->testcase as $test_case) {
140+ foreach ($test_case->error as $error) {
141+ $user_data .= sprintf(
142+ "\n%s",
143+ (string)$error);
144 }
145 }
146 }
147
148- $name = preg_replace('/ \(.*\)/s', '', idx($event, 'test'));
149+ $name = preg_replace('/ \(.*\)/s', '', $test_suite['name']);
150
151 $result = new ArcanistUnitTestResult();
152 $result->setName($name);
153 $result->setResult($status);
154- $result->setDuration(idx($event, 'time'));
155+ $result->setDuration((float)$test_suite['time']);
156 $result->setCoverage($coverage);
157 $result->setUserData($user_data);
158
159@@ -95,7 +75,7 @@ final class ArcanistPhpunitTestResultParser extends ArcanistTestResultParser {
160
161 if (!$last_test_finished) {
162 $results[] = id(new ArcanistUnitTestResult())
163- ->setName(idx($event, 'test')) // use last event
164+ ->setName($test_suite['name']) // use last event
165 ->setUserData($this->stderr)
166 ->setResult(ArcanistUnitTestResult::RESULT_BROKEN);
167 }
168@@ -161,28 +141,4 @@ final class ArcanistPhpunitTestResultParser extends ArcanistTestResultParser {
169 return $reports;
170 }
171
172- /**
173- * We need this non-sense to make json generated by phpunit
174- * valid.
175- *
176- * @param string $json String containing JSON report
177- * @return array JSON decoded array
178- */
179- private function getJsonReport($json) {
180-
181- if (empty($json)) {
182- throw new Exception(
183- pht(
184- 'JSON report file is empty, it probably means that phpunit '.
185- 'failed to run tests. Try running %s with %s option and then run '.
186- 'generated phpunit command yourself, you might get the answer.',
187- 'arc unit',
188- '--trace'));
189- }
190-
191- $json = preg_replace('/}{\s*"/', '},{"', $json);
192- $json = '['.$json.']';
193- return phutil_json_decode($json);
194- }
195-
196 }

Feb 1 2018, 11:00 AM · Arcanist, Bug Report
mcorteel created P2084 T12785 patch.
Feb 1 2018, 10:58 AM
cmmata added a comment to T12785: Arc unit command fails with PHPUnit 6.

@mcorteel I have the same problem, arc unit only works with phpunit 5.7. If I use 6.5, it fails. Do you have that patch anywhere with public access so we can use it while it's not published?

Feb 1 2018, 9:47 AM · Arcanist, Bug Report
yelirekim added a comment to T13058: Indicate that the "upload file" modal dialog is doing something when uploading large files.

Here I was thinking I found a helpful public bug.

Feb 1 2018, 3:18 AM
epriestley added a comment to T13058: Indicate that the "upload file" modal dialog is doing something when uploading large files.

From rereading D18600, maybe "ridiculously strong" is an understatement and it was actually so powerful it took effect even if you didn't enable it.

Feb 1 2018, 3:16 AM
epriestley added a comment to T13058: Indicate that the "upload file" modal dialog is doing something when uploading large files.

Locally, seems like "No Notifications" correctly has no effect on the "Upload" bubble being shown at HEAD of master.

Feb 1 2018, 3:15 AM
yelirekim added a comment to T13058: Indicate that the "upload file" modal dialog is doing something when uploading large files.

Hm, actually the problem here is that the notification bubble doesn't show up for any file uploads on our current version. I suppose it could actually be "on our current version + extensions". I'll get a reproduction matrix together tomorrow.

Feb 1 2018, 3:15 AM
epriestley added a comment to T13058: Indicate that the "upload file" modal dialog is doing something when uploading large files.

Not unless something super weird/buggy is going on.

Feb 1 2018, 3:13 AM
yelirekim added a comment to T13058: Indicate that the "upload file" modal dialog is doing something when uploading large files.

We don't have a notifications server, does that make it like that?

Feb 1 2018, 3:12 AM
epriestley added a comment to T13058: Indicate that the "upload file" modal dialog is doing something when uploading large files.

It's possible that adjusting Settings → Notifications to No Notifications disables this bubble, if that's a compounding factor here. D18600 pulled back some of the aggressiveness of that setting but I'd guess it might still be hitting the upload progress bubbles.

Feb 1 2018, 3:11 AM
yelirekim added a comment to T13058: Indicate that the "upload file" modal dialog is doing something when uploading large files.

Ok I actually get a dialog on secure., it's probably because we're out of date with the upstream.

Feb 1 2018, 3:11 AM
epriestley added a comment to T13058: Indicate that the "upload file" modal dialog is doing something when uploading large files.

What browser are you using? I get a progress bubble in the lower left immediately. Here's a screenshot -- note the blue upload progress element in the lower left corner.

Feb 1 2018, 3:07 AM
yelirekim created T13058: Indicate that the "upload file" modal dialog is doing something when uploading large files.
Feb 1 2018, 2:57 AM

Jan 31 2018

epriestley closed T12800: When Excel opens a CSV file, it just runs whatever arbitrary code might be in the file as Resolved by committing Restricted Diffusion Commit.
Jan 31 2018, 11:33 PM · Security
arend.danielek awarded T6609: Support math (LaTeX) equation in Remarkup a Love token.
Jan 31 2018, 11:23 PM · Restricted Project, Remarkup
arend.danielek awarded T10354: Remarkup block elements may not contain other block elements (like lists and tables inside tables) a Love token.
Jan 31 2018, 11:23 PM · Feature Request, Remarkup
simon.galkov awarded T6008: Editing files and contributing changes via web a Mountain of Wealth token.
Jan 31 2018, 9:49 PM · Restricted Project, Wikimedia, Diffusion, Differential
epriestley added a revision to T13057: Formalize "reverts" and "resurrects" between revisions: Unknown Object (Differential Revision).
Jan 31 2018, 8:27 PM · Differential
epriestley updated the task description for T13053: Plans: Mail Tags and Failover.
Jan 31 2018, 7:26 PM · Plans, Must Encrypt Mail, Mail