In T11968#251717, @epriestley wrote:XHPAST currently can't build an AST for $result = yield ..., even though this is a valid construct. This is probably a straightforward fix.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed All Stories
All Stories
All Stories
Apr 8 2020
Apr 8 2020
epriestley added a revision to T11968: Decide the fate of FutureGraph: Unknown Object (Differential Revision).
epriestley added a revision to T13490: Upgrade all "classic" Arcanist workflows to Toolsets: Unknown Object (Differential Revision).
epriestley added a revision to T13507: Compress Conduit client requests: Unknown Object (Differential Revision).
epriestley added a revision to T11968: Decide the fate of FutureGraph: Unknown Object (Differential Revision).
epriestley added a revision to T11968: Decide the fate of FutureGraph: Unknown Object (Differential Revision).
epriestley added a revision to T11968: Decide the fate of FutureGraph: Restricted Differential Revision.
Apr 7 2020
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.
Much of this is supported now; T13492 has some general followup.
epriestley added a revision to T13492: Upgrade Support Infrastructure to Minimum PHP Version 5.5: Unknown Object (Differential Revision).
In T13492#251814, @epriestley wrote:XHPAST currently can not parse $x = yield $y;.
epriestley added a revision to T13492: Upgrade Support Infrastructure to Minimum PHP Version 5.5: Unknown Object (Differential Revision).
epriestley added a revision to T13492: Upgrade Support Infrastructure to Minimum PHP Version 5.5: Unknown Object (Differential Revision).
epriestley added a revision to T13492: Upgrade Support Infrastructure to Minimum PHP Version 5.5: Restricted Differential Revision.
epriestley added a revision to T13492: Upgrade Support Infrastructure to Minimum PHP Version 5.5: Unknown Object (Differential Revision).
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).
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).
This is entangled with T9753.
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.
epriestley moved T6925: XHPAST is out of date on Windows from Backlog to Windows on the XHPAST board.
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.
epriestley moved T4725: `arc liberate` should throw when encountering (and eventually support) namespaces and traits from Backlog to Future on the XHPAST board.
No current plans to pursue this.
epriestley moved T10971: php lint: catch `"${var}"` vs `"{$var}"` from Backlog to String Variables on the XHPAST board.
epriestley moved T8049: Improve parsing of variables embedded in strings in XHPAST from Backlog to String Variables on the XHPAST board.
epriestley triaged T9286: XHPAST fails to recognize inline HTML starting with "<?php" as Wishlist priority.
epriestley moved T9286: XHPAST fails to recognize inline HTML starting with "<?php" from Backlog to Future on the XHPAST board.
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.
epriestley moved T8325: XHPASTLinter does not scope parameters to closures correctly from Backlog to Future on the XHPAST board.
No plans to pursue this.
No longer clear what this accomplishes.
I don't currently plan to pursue this.
This is very old and we have no outstanding customer requests for ARM support.
Apr 6 2020
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!
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).
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.
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:
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).
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:
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:
epriestley added a revision to T13490: Upgrade all "classic" Arcanist workflows to Toolsets: Unknown Object (Differential Revision).
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.
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 5 2020
Apr 5 2020
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:
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
Apr 3 2020
epriestley added a revision to T11968: Decide the fate of FutureGraph: Unknown Object (Differential Revision).
epriestley added a revision to T11968: Decide the fate of FutureGraph: Unknown Object (Differential Revision).
XHPAST currently can't build an AST for $result = yield ..., even though this is a valid construct. This is probably a straightforward fix.
Apr 2 2020
Apr 2 2020
epriestley added a comment to T13500: During startup, guarantee "(string)1.23" is "1.23", not "1,23".
See also T13209.
epriestley added a revision to T13209: How To Properly Escape Commands on Windows (A Dark Tragedy): Unknown Object (Differential Revision).
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).
epriestley added a revision to T13209: How To Properly Escape Commands on Windows (A Dark Tragedy): Unknown Object (Differential Revision).
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).
See also:
See also:
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).
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 1 2020
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.
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).
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:
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.
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.
epriestley triaged T13504: "proc_open()" may fail to return a resource on Windows if the command isn't executable as Normal priority.
epriestley added a revision to T11968: Decide the fate of FutureGraph: Unknown Object (Differential Revision).
avivey updated the task description for T10038: Plan the mid-term pathway for unit-test/linter bindings.
Mar 29 2020
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 26 2020
Mar 26 2020
Mar 22 2020
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 20 2020
Mar 20 2020
epriestley added a revision to T13499: Make "undefined index" PHP errors throw a RuntimeException: Unknown Object (Differential Revision).
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.
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 18 2020
Mar 18 2020
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 11 2020
Mar 11 2020
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 9 2020
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:
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.
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 6 2020
Mar 6 2020
epriestley triaged T13500: During startup, guarantee "(string)1.23" is "1.23", not "1,23" as Normal priority.
epriestley triaged T13499: Make "undefined index" PHP errors throw a RuntimeException as Normal priority.
epriestley triaged T13498: "arc diff" may fail with Toolsets code when trying to build a ConduitEngine to upload files as Normal priority.
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.
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/.