Page MenuHomePhabricator
Feed All Stories

Apr 8 2020

epriestley added a revision to T11968: Decide the fate of FutureGraph: Unknown Object (Differential Revision).
Apr 8 2020, 7:29 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley added a revision to T13490: Upgrade all "classic" Arcanist workflows to Toolsets: Unknown Object (Differential Revision).
Apr 8 2020, 7:29 PM · Arcanist
epriestley added a revision to T13507: Compress Conduit client requests: Unknown Object (Differential Revision).
Apr 8 2020, 4:21 PM · Performance, Conduit
epriestley claimed T13507: Compress Conduit client requests.
Apr 8 2020, 3:58 PM · Performance, Conduit
epriestley triaged T13507: Compress Conduit client requests as Normal priority.
Apr 8 2020, 3:58 PM · Performance, Conduit
epriestley added a revision to T11968: Decide the fate of FutureGraph: Unknown Object (Differential Revision).
Apr 8 2020, 3:55 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley added a revision to T11968: Decide the fate of FutureGraph: Unknown Object (Differential Revision).
Apr 8 2020, 3:47 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley added a revision to T11968: Decide the fate of FutureGraph: Unknown Object (Differential Revision).
Apr 8 2020, 3:35 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley added a comment to T11968: Decide the fate of FutureGraph.

XHPAST currently can't build an AST for $result = yield ..., even though this is a valid construct. This is probably a straightforward fix.

Apr 8 2020, 1:27 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist

Apr 7 2020

epriestley closed T9753: XHPAST no longer parses heredocs and can't build on OS X (Bison 2.3) as Resolved by committing Restricted Diffusion Commit.
Apr 7 2020, 9:29 PM · XHPAST
epriestley closed T4334: Support PHP5.4+ syntax in XHPAST as Resolved.

Much of this is supported now; T13492 has some general followup.

Apr 7 2020, 9:27 PM · XHPAST
epriestley added a revision to T13492: Upgrade Support Infrastructure to Minimum PHP Version 5.5: Unknown Object (Differential Revision).
Apr 7 2020, 9:24 PM · Infrastructure
epriestley added a comment to T13492: Upgrade Support Infrastructure to Minimum PHP Version 5.5.

XHPAST currently can not parse $x = yield $y;.

Apr 7 2020, 9:21 PM · Infrastructure
epriestley added a revision to T13492: Upgrade Support Infrastructure to Minimum PHP Version 5.5: Unknown Object (Differential Revision).
Apr 7 2020, 9:12 PM · Infrastructure
epriestley added a revision to T13492: Upgrade Support Infrastructure to Minimum PHP Version 5.5: Unknown Object (Differential Revision).
Apr 7 2020, 9:11 PM · Infrastructure
epriestley added a revision to T13492: Upgrade Support Infrastructure to Minimum PHP Version 5.5: Unknown Object (Differential Revision).
Apr 7 2020, 9:08 PM · Infrastructure
epriestley added a revision to T13492: Upgrade Support Infrastructure to Minimum PHP Version 5.5: Unknown Object (Differential Revision).
Apr 7 2020, 9:04 PM · Infrastructure
epriestley renamed T9753: XHPAST no longer parses heredocs and can't build on OS X (Bison 2.3) from XHPAST no longer parses heredocs and can't build on OS X (Bison 2.3) to XHPAST no longer parses heredocs and can't build on OS X (Bison 2.3).
Apr 7 2020, 9:03 PM · XHPAST
epriestley added a revision to T9753: XHPAST no longer parses heredocs and can't build on OS X (Bison 2.3): Unknown Object (Differential Revision).
Apr 7 2020, 9:02 PM · XHPAST
epriestley added a comment to T13492: Upgrade Support Infrastructure to Minimum PHP Version 5.5.

This is entangled with T9753.

Apr 7 2020, 2:08 PM · Infrastructure
epriestley added a comment to T13492: Upgrade Support Infrastructure to Minimum PHP Version 5.5.

XHPAST currently can not parse $x = yield $y;. I suspect this was added to the PHP grammar after XHPAST diverged. I'm hopeful the fix is straightforward.

Apr 7 2020, 1:53 PM · Infrastructure
epriestley moved T6925: XHPAST is out of date on Windows from Backlog to Windows on the XHPAST board.
Apr 7 2020, 1:33 PM · Windows, XHPAST
epriestley moved T8653: xhpast generation does not work properly under MinGW if the repo has CRLF line endings from Backlog to Windows on the XHPAST board.
Apr 7 2020, 1:33 PM · XHPAST
epriestley moved T4725: `arc liberate` should throw when encountering (and eventually support) namespaces and traits from Backlog to Future on the XHPAST board.
Apr 7 2020, 1:32 PM · XHPAST, Arcanist
epriestley closed T7301: XHPAST application is not optimized for mobile as Wontfix.

No current plans to pursue this.

Apr 7 2020, 1:32 PM · XHPAST, Mobile
epriestley moved T10971: php lint: catch `"${var}"` vs `"{$var}"` from Backlog to String Variables on the XHPAST board.
Apr 7 2020, 1:32 PM · XHPAST, Lint, Feature Request
epriestley moved T11081: XHPAST doesn't handle complex embedded variables in strings using the same quoting style from Backlog to String Variables on the XHPAST board.
Apr 7 2020, 1:32 PM · XHPAST, Bug Report
epriestley moved T8049: Improve parsing of variables embedded in strings in XHPAST from Backlog to String Variables on the XHPAST board.
Apr 7 2020, 1:32 PM · XHPAST
epriestley triaged T9286: XHPAST fails to recognize inline HTML starting with "<?php" as Wishlist priority.
Apr 7 2020, 1:31 PM · XHPAST
epriestley moved T9286: XHPAST fails to recognize inline HTML starting with "<?php" from Backlog to Future on the XHPAST board.
Apr 7 2020, 1:31 PM · XHPAST
epriestley renamed T8325: XHPASTLinter does not scope parameters to closures correctly from Treat functions with parameters defined in other functions in XHPASTLinter correctly to XHPASTLinter does not scope parameters to closures correctly.
Apr 7 2020, 1:31 PM · XHPAST, Lint
epriestley moved T8325: XHPASTLinter does not scope parameters to closures correctly from Backlog to Future on the XHPAST board.
Apr 7 2020, 1:30 PM · XHPAST, Lint
epriestley closed T9062: Generalize PHPAST application as Wontfix.

No plans to pursue this.

Apr 7 2020, 1:29 PM · XHPAST
epriestley closed T8534: Need a way to retrieve fully qualified class name as Wontfix.

No longer clear what this accomplishes.

Apr 7 2020, 1:29 PM · XHPAST
epriestley closed T6195: Replace XHPAST with a pure PHP implementation as Wontfix.

I don't currently plan to pursue this.

Apr 7 2020, 1:28 PM · XHPAST
epriestley closed T10257: xhpast does not build on ARM hardware as Wontfix.

This is very old and we have no outstanding customer requests for ARM support.

Apr 7 2020, 1:27 PM · XHPAST, Bug Report
artms closed T13506: Task to test breaking remarkup as Invalid.
Apr 7 2020, 10:46 AM
artms triaged T13506: Task to test breaking remarkup as Wishlist priority.
Apr 7 2020, 10:45 AM

Apr 6 2020

epriestley closed T13505: Some Diviner pages on secure.phabricator.com show "RuntimeException: strlen() expects parameter 1 to be string, array given" as Resolved.

I deployed D21062, and the three examples in the original report look good now. I checked about a dozen other pages and couldn't find anything else broken; let me know if I missed anything. Thanks for the report!

Apr 6 2020, 7:02 PM · Diviner
epriestley added a revision to T13505: Some Diviner pages on secure.phabricator.com show "RuntimeException: strlen() expects parameter 1 to be string, array given": Unknown Object (Differential Revision).
Apr 6 2020, 6:50 PM · Diviner
epriestley added a comment to T13505: Some Diviner pages on secure.phabricator.com show "RuntimeException: strlen() expects parameter 1 to be string, array given".

The second issue is that the API still returns a string when there is exactly one @attribute of a given type. This is a bit goofy; PhutilExecChannel is another example case.

Apr 6 2020, 6:47 PM · Diviner
epriestley added a comment to T13505: Some Diviner pages on secure.phabricator.com show "RuntimeException: strlen() expects parameter 1 to be string, array given".

I deployed D21061. First two example pages are good now, third one is hitting a different error. New trace is:

Apr 6 2020, 6:45 PM · Diviner
aklapper awarded T13505: Some Diviner pages on secure.phabricator.com show "RuntimeException: strlen() expects parameter 1 to be string, array given" a Like token.
Apr 6 2020, 6:43 PM · Diviner
epriestley added a revision to T13505: Some Diviner pages on secure.phabricator.com show "RuntimeException: strlen() expects parameter 1 to be string, array given": Unknown Object (Differential Revision).
Apr 6 2020, 6:21 PM · Diviner
epriestley added a comment to T13505: Some Diviner pages on secure.phabricator.com show "RuntimeException: strlen() expects parameter 1 to be string, array given".

Docblocks may have multiple copies of the same @attribute directive, like this:

Apr 6 2020, 6:19 PM · Diviner
epriestley claimed T13505: Some Diviner pages on secure.phabricator.com show "RuntimeException: strlen() expects parameter 1 to be string, array given".
Apr 6 2020, 6:11 PM · Diviner
epriestley added a comment to T13505: Some Diviner pages on secure.phabricator.com show "RuntimeException: strlen() expects parameter 1 to be string, array given".

Here's the full stack trace:

Apr 6 2020, 6:11 PM · Diviner
epriestley added a revision to T13490: Upgrade all "classic" Arcanist workflows to Toolsets: Unknown Object (Differential Revision).
Apr 6 2020, 6:08 PM · Arcanist
aklapper created T13505: Some Diviner pages on secure.phabricator.com show "RuntimeException: strlen() expects parameter 1 to be string, array given".
Apr 6 2020, 2:36 PM · Diviner
epriestley closed T13499: Make "undefined index" PHP errors throw a RuntimeException as Resolved.

One long-standing warning in a unit test cropped up (D21055) but if this does have far-reaching implications, they don't seem terribly obvious/common.

Apr 6 2020, 2:26 PM · Infrastructure
epriestley closed T13504: "proc_open()" may fail to return a resource on Windows if the command isn't executable as Resolved.

Character encoding issues aren't stable yet (see also T13500) but I think everything else here is.

Apr 6 2020, 2:25 PM · Windows

Apr 5 2020

• sshannin added a comment to T13488: Upgrading: Early 2020 Changes to Arcanist.

The new method of installing the shell completion seems to error out for me with EXCEPTION: (Error) Call to undefined method ArcanistShellCompleteWorkflow::getPrompt() on a fresh install:

Apr 5 2020, 3:47 PM · Arcanist, Installing & Upgrading
epriestley added a revision to T11968: Decide the fate of FutureGraph: Unknown Object (Differential Revision).
Apr 5 2020, 12:50 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist

Apr 3 2020

epriestley added a revision to T11968: Decide the fate of FutureGraph: Unknown Object (Differential Revision).
Apr 3 2020, 7:03 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley added a revision to T11968: Decide the fate of FutureGraph: Unknown Object (Differential Revision).
Apr 3 2020, 6:56 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley added a comment to T11968: Decide the fate of FutureGraph.

XHPAST currently can't build an AST for $result = yield ..., even though this is a valid construct. This is probably a straightforward fix.

Apr 3 2020, 2:38 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist

Apr 2 2020

epriestley added a comment to T13500: During startup, guarantee "(string)1.23" is "1.23", not "1,23".

See also T13209.

Apr 2 2020, 11:32 PM · Arcanist
epriestley added a revision to T13209: How To Properly Escape Commands on Windows (A Dark Tragedy): Unknown Object (Differential Revision).
Apr 2 2020, 8:44 PM · Arcanist, Windows
epriestley added a revision to T13504: "proc_open()" may fail to return a resource on Windows if the command isn't executable: Unknown Object (Differential Revision).
Apr 2 2020, 8:44 PM · Windows
epriestley added a revision to T13209: How To Properly Escape Commands on Windows (A Dark Tragedy): Unknown Object (Differential Revision).
Apr 2 2020, 7:40 PM · Arcanist, Windows
epriestley added a revision to T13504: "proc_open()" may fail to return a resource on Windows if the command isn't executable: Unknown Object (Differential Revision).
Apr 2 2020, 7:40 PM · Windows
epriestley added a comment to T13209: How To Properly Escape Commands on Windows (A Dark Tragedy).

See also:

Apr 2 2020, 7:35 PM · Arcanist, Windows
epriestley added a comment to T13209: How To Properly Escape Commands on Windows (A Dark Tragedy).

See also:

Apr 2 2020, 6:12 PM · Arcanist, Windows
epriestley added a project to T13504: "proc_open()" may fail to return a resource on Windows if the command isn't executable: Windows.
Apr 2 2020, 6:12 PM · Windows
epriestley added a revision to T13504: "proc_open()" may fail to return a resource on Windows if the command isn't executable: Unknown Object (Differential Revision).
Apr 2 2020, 3:20 PM · Windows
epriestley reopened T13504: "proc_open()" may fail to return a resource on Windows if the command isn't executable as "Open".

PHI1667 has a couple of adjacent issues that I think aren't fully covered here.

Apr 2 2020, 3:13 PM · Windows

Apr 1 2020

epriestley closed T13504: "proc_open()" may fail to return a resource on Windows if the command isn't executable as Resolved by committing Restricted Diffusion Commit.
Apr 1 2020, 11:11 PM · Windows
epriestley added a revision to T13504: "proc_open()" may fail to return a resource on Windows if the command isn't executable: Unknown Object (Differential Revision).
Apr 1 2020, 11:06 PM · Windows
epriestley added a comment to T13504: "proc_open()" may fail to return a resource on Windows if the command isn't executable.

This may partly have arisen from changes to Future behavior, not just bypass_shell changes. In particular, ExecFuture already had approximately the desired behavior, but was documented like this:

Apr 1 2020, 10:58 PM · Windows
epriestley added a comment to T13504: "proc_open()" may fail to return a resource on Windows if the command isn't executable.

A subproblem here is that start <url> fails on Windows with bypass_shell. The likely fix is to make cmd /c start, not start, the default "browser" on Windows.

Apr 1 2020, 10:41 PM · Windows
epriestley added a comment to T13504: "proc_open()" may fail to return a resource on Windows if the command isn't executable.

Another possibility is to do a Filesystem::binaryExists() functional test on the subprocess binary, assume the failure is "missing binary" if that test fails, and assume the failure is catastrophic otherwise.

Apr 1 2020, 10:37 PM · Windows
epriestley triaged T13504: "proc_open()" may fail to return a resource on Windows if the command isn't executable as Normal priority.
Apr 1 2020, 10:36 PM · Windows
jparise edited the content of Community Resources.
Apr 1 2020, 10:09 PM
epriestley added a revision to T11968: Decide the fate of FutureGraph: Unknown Object (Differential Revision).
Apr 1 2020, 5:33 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
avivey updated the task description for T10038: Plan the mid-term pathway for unit-test/linter bindings.
Apr 1 2020, 1:50 PM · Lint, Arcanist

Mar 29 2020

epriestley added a comment to T13500: During startup, guarantee "(string)1.23" is "1.23", not "1,23".

I made some effort to find an approach here, but I think it needs to wait until Toolsets define our config/caching better. In particular, guaranteeing this naively in arc requires running a subprocess (to execute locale -a, to enumerate available locales on the system) and possibly functionally-testing hundreds of locales (or, in the general case, an arbitrarily enormous number of locales). The functional test for UTF8 behavior requires running another subprocess, to echo 🐑.

Mar 29 2020, 5:10 PM · Arcanist

Mar 26 2020

ccappstest updated ccappstest.
Mar 26 2020, 4:24 AM

Mar 22 2020

epriestley lowered the priority of T13499: Make "undefined index" PHP errors throw a RuntimeException from Normal to Wishlist.

D21044 may resolve this alone, but I suspect there will be at least a little bit of followup work so I'm going to leave this open for the moment.

Mar 22 2020, 7:43 PM · Infrastructure

Mar 20 2020

epriestley added a revision to T13499: Make "undefined index" PHP errors throw a RuntimeException: Unknown Object (Differential Revision).
Mar 20 2020, 7:38 PM · Infrastructure
epriestley closed T13498: "arc diff" may fail with Toolsets code when trying to build a ConduitEngine to upload files as Resolved by committing Restricted Diffusion Commit.
Mar 20 2020, 7:19 PM · Arcanist
epriestley added a revision to T13498: "arc diff" may fail with Toolsets code when trying to build a ConduitEngine to upload files : Unknown Object (Differential Revision).
Mar 20 2020, 7:18 PM · Arcanist
epriestley triaged T13503: Index Paste documents in Ferret as Low priority.
Mar 20 2020, 7:12 PM · Search, Paste
epriestley triaged T13502: Guidance on installing Excel export support requires clicking a button labeled "Download Data" as Low priority.
Mar 20 2020, 7:06 PM · Data Exporters
epriestley added a member for Blessed Committers: ptarjan.
Mar 20 2020, 6:45 PM
avivey edited the content of Community Resources.
Mar 20 2020, 3:12 PM

Mar 18 2020

epriestley added a comment to T13243: Writing to streams can run into issues with EINTR.

It's true that it has been 12 years, but I'm sure fwrite() will start returning an error code when it encounters a permanent, fatal EPIPE error condition soon.

Mar 18 2020, 10:10 PM · Infrastructure

Mar 11 2020

epriestley closed T7697: Drag and drop a text fragment to top-right search box adds it to the placeholder as Resolved.
Mar 11 2020, 3:38 PM · Firefox
dereckson added a comment to T7697: Drag and drop a text fragment to top-right search box adds it to the placeholder.

The issue doesn't appear in the current code base with Firefox 73. That's not unexpected, as the UI has been tweaked several times between 2015 and now.

Mar 11 2020, 12:58 PM · Firefox

Mar 9 2020

epriestley added a comment to T13501: Improve search index normalization of "é" and other characters with variants or multiple representations.

We also have two separate pieces of ngram extraction code:

Mar 9 2020, 5:43 PM · Search
epriestley added a comment to T13501: Improve search index normalization of "é" and other characters with variants or multiple representations.

For now, I'm going to change the ngram slicing to be character-oriented. This should never be worse than the current behavior, and moves us closer to effective normalization.

Mar 9 2020, 5:38 PM · Search
epriestley added a comment to T13501: Improve search index normalization of "é" and other characters with variants or multiple representations.

This appears to be the unicode normalization chart:

Mar 9 2020, 5:27 PM · Search
epriestley triaged T13501: Improve search index normalization of "é" and other characters with variants or multiple representations as Low priority.
Mar 9 2020, 5:16 PM · Search

Mar 6 2020

epriestley added a subtask for T7339: Raise a setup warning when the "en_US.UTF-8" locale is unavailable: T13500: During startup, guarantee "(string)1.23" is "1.23", not "1,23".
Mar 6 2020, 5:53 PM · Diffusion (v3)
epriestley added a parent task for T13500: During startup, guarantee "(string)1.23" is "1.23", not "1,23": T7339: Raise a setup warning when the "en_US.UTF-8" locale is unavailable.
Mar 6 2020, 5:53 PM · Arcanist
epriestley triaged T13500: During startup, guarantee "(string)1.23" is "1.23", not "1,23" as Normal priority.
Mar 6 2020, 5:46 PM · Arcanist
epriestley triaged T13499: Make "undefined index" PHP errors throw a RuntimeException as Normal priority.
Mar 6 2020, 5:22 PM · Infrastructure
epriestley triaged T13498: "arc diff" may fail with Toolsets code when trying to build a ConduitEngine to upload files as Normal priority.
Mar 6 2020, 5:10 PM · Arcanist
epriestley closed T13497: Arc may fail on startup with a error about missing "default" config, a subtask of T13490: Upgrade all "classic" Arcanist workflows to Toolsets, as Resolved.
Mar 6 2020, 4:33 PM · Arcanist
epriestley closed T13497: Arc may fail on startup with a error about missing "default" config as Resolved.
Mar 6 2020, 4:33 PM · Arcanist
epriestley added a comment to T13497: Arc may fail on startup with a error about missing "default" config.

If you're affected by this and arc upgrade doesn't work, the easiest fix is to run git pull in arcanist/.

Mar 6 2020, 4:33 PM · Arcanist