Page MenuHomePhabricator
Feed Advanced Search

Jul 11 2021

cspeckmim added a comment to T12071: Require "E" be defined in variables_order so $_ENV is correctly populated.

One thought here is that updating variables_order is fine on the server, but I really don't want to force arc users to muck with php.ini.

This seems to be resolved already but just wanted to add a note - I believe Windows users currently need to modify php.ini to enable the curl extension for arcanist to work. This is from our internal documentation for installing PHP for arcanist:

Browse to C:\tools\php[some version number]. Edit php.ini as listed below.

  • Note: The following modifications remove the semi-colon at the start of the line. Semi-colons are comments in .ini files and these changes are uncommenting and updating the lines.
    • Find the line ;extension=curl and remove the semicolon.
    • Locate the line ;date.timezone = and replace it with date.timezone = UTC to prevent PHP from yelling at you.
Jul 11 2021, 3:21 PM · Infrastructure

Mar 29 2021

epriestley added a revision to T13630: Move Phacility provisioning to Piledriver: Restricted Differential Revision.
Mar 29 2021, 4:44 PM · Almanac, Infrastructure, Phacility

Mar 26 2021

epriestley added a comment to T13646: Add "E" to "variables_order" in Phacility environments.

D21656 fixes variables_order.

Mar 26 2021, 5:52 PM · Phacility, Infrastructure
epriestley added a revision to T13646: Add "E" to "variables_order" in Phacility environments: Restricted Differential Revision.
Mar 26 2021, 5:19 PM · Phacility, Infrastructure

Mar 25 2021

epriestley triaged T13646: Add "E" to "variables_order" in Phacility environments as Low priority.
Mar 25 2021, 3:31 PM · Phacility, Infrastructure

Mar 16 2021

epriestley added a project to T13630: Move Phacility provisioning to Piledriver: Almanac.
Mar 16 2021, 5:45 PM · Almanac, Infrastructure, Phacility
epriestley triaged T13640: Improve sequencing of Futures in "--trace" output as Low priority.
Mar 16 2021, 5:24 PM · Infrastructure

Mar 13 2021

epriestley updated the task description for T13630: Move Phacility provisioning to Piledriver.
Mar 13 2021, 6:48 PM · Almanac, Infrastructure, Phacility
epriestley updated the task description for T13630: Move Phacility provisioning to Piledriver.
Mar 13 2021, 6:30 PM · Almanac, Infrastructure, Phacility

Mar 11 2021

epriestley closed T12919: Healthcheck endpoint for alternate file domain, a subtask of T13636: Some "well-known" resources can't be served from ResourceSite, as Resolved.
Mar 11 2021, 10:05 PM · Infrastructure
epriestley closed T13636: Some "well-known" resources can't be served from ResourceSite as Resolved by committing rP36c6eb966393: Improve routing of "/robots.txt", "/favicon.ico", "/status/", and 404 on custom….
Mar 11 2021, 10:05 PM · Infrastructure
epriestley added a revision to T13636: Some "well-known" resources can't be served from ResourceSite: D21607: Improve routing of "/robots.txt", "/favicon.ico", and "/status/" on Short and Blog sites.
Mar 11 2021, 10:04 PM · Infrastructure
epriestley added a comment to T13636: Some "well-known" resources can't be served from ResourceSite.

(Or, rather, BlogSite and ShortSite both deal with 404s in a sensible way. They just don't route "/robots.txt", "/favicon.ico", or "/status/".)

Mar 11 2021, 9:44 PM · Infrastructure
epriestley added a comment to T13636: Some "well-known" resources can't be served from ResourceSite.

This leaves some edge cases doing less-than-ideal things:

Mar 11 2021, 9:42 PM · Infrastructure
epriestley added a revision to T13636: Some "well-known" resources can't be served from ResourceSite: D21606: Improve routing of "/robots.txt", "/favicon.ico", "/status/", and 404 on custom Sites.
Mar 11 2021, 9:42 PM · Infrastructure
epriestley added a comment to T13636: Some "well-known" resources can't be served from ResourceSite.

A related issue is that if you 404 on the ResourceSite, you hit a cookie exception. This isn't ideal.

Mar 11 2021, 9:38 PM · Infrastructure
epriestley added a comment to T13636: Some "well-known" resources can't be served from ResourceSite.

We should probably route /robots.txt, but perhaps prevent it from accessing anything?

Mar 11 2021, 9:07 PM · Infrastructure
epriestley added a subtask for T13636: Some "well-known" resources can't be served from ResourceSite: T12919: Healthcheck endpoint for alternate file domain.
Mar 11 2021, 8:55 PM · Infrastructure
epriestley triaged T13636: Some "well-known" resources can't be served from ResourceSite as Wishlist priority.
Mar 11 2021, 8:55 PM · Infrastructure
epriestley closed T13635: JSON DocumentEngine may confuse "{}" and "[]" as Resolved.
Mar 11 2021, 8:50 PM · Infrastructure
epriestley added a revision to T13635: JSON DocumentEngine may confuse "{}" and "[]": D21605: In JSON DocumentEngine, preserve the distinction between "{}" and "[]".
Mar 11 2021, 8:43 PM · Infrastructure
epriestley added a revision to T13635: JSON DocumentEngine may confuse "{}" and "[]": D21604: Improve "PhutilJSON" handling of PHP-object JSON values.
Mar 11 2021, 7:22 PM · Infrastructure
epriestley triaged T13635: JSON DocumentEngine may confuse "{}" and "[]" as Low priority.
Mar 11 2021, 7:06 PM · Infrastructure

Mar 10 2021

epriestley added a comment to T13630: Move Phacility provisioning to Piledriver.

Can Piledriver be implemented as an Arcanist toolset?

Mar 10 2021, 6:20 PM · Almanac, Infrastructure, Phacility

Mar 6 2021

epriestley triaged T13630: Move Phacility provisioning to Piledriver as Normal priority.
Mar 6 2021, 8:03 PM · Almanac, Infrastructure, Phacility

Mar 4 2021

epriestley closed T13627: Until MySQL 5.7, each MySQL connection may hold only one simultaneous lock as Resolved.

I deployed this to the hosts affected by PHI2009 yesterday, and it appears to have resolved the problem.

Mar 4 2021, 12:07 AM · Infrastructure

Mar 2 2021

epriestley updated the task description for T13627: Until MySQL 5.7, each MySQL connection may hold only one simultaneous lock.
Mar 2 2021, 9:50 PM · Infrastructure
epriestley added a revision to T13627: Until MySQL 5.7, each MySQL connection may hold only one simultaneous lock: D21586: Refuse to acquire a second GlobalLock on a connection.
Mar 2 2021, 9:38 PM · Infrastructure
epriestley added a revision to T13627: Until MySQL 5.7, each MySQL connection may hold only one simultaneous lock: D21585: Never return external connections to the GlobalLock connection pool.
Mar 2 2021, 9:33 PM · Infrastructure
epriestley added a comment to T13627: Until MySQL 5.7, each MySQL connection may hold only one simultaneous lock.

This is actually very subtle.

Mar 2 2021, 9:11 PM · Infrastructure
epriestley added a revision to T13627: Until MySQL 5.7, each MySQL connection may hold only one simultaneous lock: D21584: Prevent external connections from being mutated on held locks.
Mar 2 2021, 8:56 PM · Infrastructure
epriestley added a revision to T13627: Until MySQL 5.7, each MySQL connection may hold only one simultaneous lock: D21583: When a GlobalLock with an external connection is released, don't return it to the pool.
Mar 2 2021, 8:49 PM · Infrastructure
epriestley triaged T13627: Until MySQL 5.7, each MySQL connection may hold only one simultaneous lock as Normal priority.
Mar 2 2021, 7:27 PM · Infrastructure

Feb 8 2021

epriestley added a comment to T13588: PHP 8 Compatibility.

I also don't see any way to really make useful assertions about this parameter statically.

Feb 8 2021, 6:25 PM · Infrastructure
epriestley added a revision to T13588: PHP 8 Compatibility: D21551: In "array_mergev()", guarantee the "call_user_func_array()" parameter list is a natrual list.
Feb 8 2021, 6:17 PM · Infrastructure
epriestley added a comment to T13588: PHP 8 Compatibility.

PHP8 supports named arguments. At a minimum, the builtin function call_user_func_array() has changed behavior. This script:

Feb 8 2021, 6:13 PM · Infrastructure
epriestley added a revision to T13588: PHP 8 Compatibility: D21549: Test if "get_magic_quotes_gpc()" exists before calling it.
Feb 8 2021, 5:29 PM · Infrastructure

Feb 3 2021

epriestley added a comment to T13588: PHP 8 Compatibility.

A new linter should be introduced to detect [private final]...

Feb 3 2021, 10:52 PM · Infrastructure
epriestley added a revision to T13588: PHP 8 Compatibility: D21542: Add a lint check for catching "Exception" without catching "Throwable".
Feb 3 2021, 10:42 PM · Infrastructure
epriestley added a revision to T13588: PHP 8 Compatibility: D21541: Annotate the unusual use of "$callback()" in "xsprintf()".
Feb 3 2021, 10:19 PM · Infrastructure
epriestley added a revision to T13588: PHP 8 Compatibility: D21540: Remove "final" from "private" methods in Phabricator.
Feb 3 2021, 10:11 PM · Infrastructure
epriestley added a revision to T13588: PHP 8 Compatibility: D21539: Detect and correct "final private" methods in lint.
Feb 3 2021, 9:53 PM · Infrastructure
epriestley closed T13598: Lint raises symbol capitalization errors as "Unknown Symbol" errors as Resolved.

I believe that covers all cases of this.

Feb 3 2021, 9:31 PM · Infrastructure, Lint
epriestley added a revision to T13598: Lint raises symbol capitalization errors as "Unknown Symbol" errors: D21538: Allow lint to correct the spelling of builtin symbols.
Feb 3 2021, 9:22 PM · Infrastructure, Lint
epriestley added a revision to T13598: Lint raises symbol capitalization errors as "Unknown Symbol" errors: D21537: When lint identifies an unknown symbol, attempt to correct it if it is miscapitalized.
Feb 3 2021, 4:54 PM · Infrastructure, Lint

Jan 28 2021

epriestley closed T13596: "INSERT INTO ... SELECT" queries require more database locks than "SELECT" queries as Resolved.

This change appears to have resolved the issue in PHI1954.

Jan 28 2021, 6:07 PM · Infrastructure, Projects
artms added a comment to T13596: "INSERT INTO ... SELECT" queries require more database locks than "SELECT" queries.

Repeatable read is required if statement based replication is used - if row replication is used - repeatable read is no longer a requirement for replication consistency...

Jan 28 2021, 9:38 AM · Infrastructure, Projects

Jan 27 2021

epriestley triaged T13598: Lint raises symbol capitalization errors as "Unknown Symbol" errors as Low priority.
Jan 27 2021, 11:22 PM · Infrastructure, Lint
epriestley added a revision to T13596: "INSERT INTO ... SELECT" queries require more database locks than "SELECT" queries: D21527: Execute project membership materialization as "SELECT" + "INSERT", not "INSERT ... SELECT".
Jan 27 2021, 11:20 PM · Infrastructure, Projects
epriestley triaged T13597: Since MySQL 8.0.19, the MySQL client displays "VARBINARY" columns, including PHIDs, in hex as Wishlist priority.
Jan 27 2021, 10:38 PM · Infrastructure
epriestley triaged T13596: "INSERT INTO ... SELECT" queries require more database locks than "SELECT" queries as Normal priority.
Jan 27 2021, 10:30 PM · Infrastructure, Projects

Jan 14 2021

aleb added a comment to T12404: Implement a first-party SMTP client.

Recently smtp-relay.gmail.com stopped accepting email from our Phabricator instance because it turns out Phabricator was sending HELO localhost.localdomain instead of HELO smtp-relay.gmail.com when doing the SMTP connection.

Jan 14 2021, 6:45 PM · Infrastructure, Mail

Jan 12 2021

epriestley added a comment to T13575: PHP built-in webserver fails on POST.

I'm not completely thrilled about maintaining PHP builtin webserver support...

Jan 12 2021, 7:11 PM · Infrastructure

Jan 11 2021

epriestley added a comment to T13575: PHP built-in webserver fails on POST.

I added M1, etc., to the ignored list in D21507.

Jan 11 2021, 8:16 PM · Infrastructure
epriestley closed T13575: PHP built-in webserver fails on POST as Resolved.

I think this is now resolved. I'm not completely thrilled about maintaining PHP builtin webserver support because I think use is very limited, but since I'm currently using it I expect to support it at least until I summon the nerve to deal with Homebrew.

Jan 11 2021, 8:14 PM · Infrastructure
epriestley added a revision to T13575: PHP built-in webserver fails on POST: D20903: Ensure __path__ is set on POST requests when running on CLI webserver.
Jan 11 2021, 6:59 PM · Infrastructure
epriestley added a revision to T13575: PHP built-in webserver fails on POST: D21507: Add "M<digit>" and "P<digit>" to the default Remarkup ignore list.
Jan 11 2021, 6:51 PM · Infrastructure
epriestley added a revision to T13575: PHP built-in webserver fails on POST: D21506: Fix reading of the request path when running the PHP builtin webserver.
Jan 11 2021, 6:34 PM · Infrastructure
epriestley added a comment to T13575: PHP built-in webserver fails on POST.

Guess I should probably add M1 to the remarkup blocklist now.

Jan 11 2021, 5:52 PM · Infrastructure
epriestley added a comment to T13575: PHP built-in webserver fails on POST.

I switched to an M1 Mac Mini on Big Sur, which has motivated me somewhat to try to get this working since I suspect doing another install through Homebrew on M1 silicon will be more adventure than I have stomach for.

Jan 11 2021, 5:45 PM · Infrastructure
epriestley claimed T13575: PHP built-in webserver fails on POST.
Jan 11 2021, 5:43 PM · Infrastructure
epriestley added a comment to T13588: PHP 8 Compatibility.

So I don't forget:

Jan 11 2021, 4:33 AM · Infrastructure
jrtc27 added a comment to T13588: PHP 8 Compatibility.

With the four revisions I've just added, arc lint works with PHP 8 when run inside the arcanist repo, and arc unit --everything has no regressions compared with PHP 7.4 (both do have a few failures but they're the same and relate to pyflakes/jshint/hg, and look environment-specific so nothing to do with PHP 8).

Jan 11 2021, 2:24 AM · Infrastructure
jrtc27 added a revision to T13588: PHP 8 Compatibility: D21499: Fix PhutilTypeSpec's regex handling for PHP 8.
Jan 11 2021, 2:21 AM · Infrastructure
jrtc27 added a revision to T13588: PHP 8 Compatibility: D21500: Fix ArcanistFormattedStringXHPASTLinterRule for PHP 8.
Jan 11 2021, 2:21 AM · Infrastructure
jrtc27 added a revision to T13588: PHP 8 Compatibility: D21501: Fix PhutilUTF8TestCase::testUTF8Convert for PHP 8.
Jan 11 2021, 2:20 AM · Infrastructure
jrtc27 added a revision to T13588: PHP 8 Compatibility: D21502: Fix PhutilOAuth1FutureTestCase::testOAuth1SigningWithJIRAExamples for PHP 8.
Jan 11 2021, 2:20 AM · Infrastructure

Jan 10 2021

epriestley added a comment to T13588: PHP 8 Compatibility.

In D21496, declaring a method private final (which is redundant, as a private method may never be overridden) causes an issue in PHP8.

Jan 10 2021, 10:25 PM · Infrastructure
epriestley added revisions to T13588: PHP 8 Compatibility: D21498: Fix error handler on PHP 8, D21497: Suppress PHP 8 deprecation warning in __arcanist_init_script__, D21496: Remove final from private functions for PHP 8 compatibility.
Jan 10 2021, 10:23 PM · Infrastructure
epriestley triaged T13588: PHP 8 Compatibility as Low priority.
Jan 10 2021, 10:23 PM · Infrastructure

Nov 3 2020

epriestley added a revision to T2312: Modifying PHP: D21487: Guarantee terms in PhabricatorAuthPasswordEngine are strings.
Nov 3 2020, 6:37 PM · Infrastructure
epriestley added a comment to T2312: Modifying PHP.

See https://discourse.phabricator-community.org/t/strpos-throwing-in-phabricatorauthpasswordengine/4335, and D21477.

Nov 3 2020, 6:19 PM · Infrastructure

Sep 4 2020

epriestley added a revision to T13573: When printing, render dates in an absolute, context-free format: D21451: When printing timestamps on paper: use an absolute, context-free date format.
Sep 4 2020, 11:25 PM · Infrastructure

Aug 20 2020

Firehed added a comment to T13575: PHP built-in webserver fails on POST.

For what it's worth, the only reason I was trying to figure out stuff with the built-in server was because at the time trying to get Phabricator running in Docker correctly was... not nearly as easy as I would have liked. Quickly skimming online suggests that's improved in the interim.

Aug 20 2020, 8:06 PM · Infrastructure
avivey added a comment to T13575: PHP built-in webserver fails on POST.

Yeah, it might make sense to drop it; I use it because it's easier to setup then Apache and the error log is right in my console, but setting up a real server isn't that much of a bother, except for Apple changing the rugs on you every other day (Soon with both x86 and ARM versions!)

Aug 20 2020, 7:39 PM · Infrastructure
epriestley added a project to T13575: PHP built-in webserver fails on POST: Infrastructure.
Aug 20 2020, 6:48 PM · Infrastructure

Aug 17 2020

epriestley added a comment to T13573: When printing, render dates in an absolute, context-free format.

See also T9854: Support date/time reformatting in Remarkup for a related change, although I think neither feature directly impacts the other.

Aug 17 2020, 3:34 PM · Infrastructure
epriestley updated the task description for T13573: When printing, render dates in an absolute, context-free format.
Aug 17 2020, 3:33 PM · Infrastructure
epriestley triaged T13573: When printing, render dates in an absolute, context-free format as Normal priority.
Aug 17 2020, 3:32 PM · Infrastructure

Aug 11 2020

epriestley triaged T13565: Filesystem write failure error messages lack tailoring, notably in DeferredLog as Normal priority.
Aug 11 2020, 6:04 PM · Infrastructure

Jul 23 2020

epriestley closed T13554: Undefined offset exception in "PhutilProseDifferenceEngine::stitchPieces()" as Resolved by committing rPfcb75d0503c6: Fix an issue where prose diffing may fail after hitting the PCRE backtracking….
Jul 23 2020, 2:46 PM · Infrastructure
epriestley added a revision to T13554: Undefined offset exception in "PhutilProseDifferenceEngine::stitchPieces()": D21422: Fix an issue where prose diffing may fail after hitting the PCRE backtracking limit.
Jul 23 2020, 2:40 PM · Infrastructure
epriestley added a comment to T13554: Undefined offset exception in "PhutilProseDifferenceEngine::stitchPieces()".

This is a PCRE backtracking issue. It reproduces on an input corpus of length 3,277 bytes with only "x", " " (space), and "\n" (newline) characters, and disappears if I increase pcre.backtrack_limit.

Jul 23 2020, 2:36 PM · Infrastructure
epriestley triaged T13554: Undefined offset exception in "PhutilProseDifferenceEngine::stitchPieces()" as Low priority.
Jul 23 2020, 1:41 PM · Infrastructure

Jul 3 2020

epriestley added a comment to T13551: "debug.time-limit" no longer functions in PHP7.

A sometimes-suitable replacement would be some bin/request mechanism which simulates a web request in process. There are some limits to how authentic this can be, but for some substantial subset of hangs it may still be useful.

Jul 3 2020, 6:02 PM · Infrastructure

Jul 1 2020

epriestley triaged T13551: "debug.time-limit" no longer functions in PHP7 as Wishlist priority.
Jul 1 2020, 7:32 PM · Infrastructure

May 26 2020

epriestley closed T13076: Plans: Phacility cluster caching, renaming, and rebalance/compaction as Resolved.

Continued in T13542.

May 26 2020, 8:13 PM · Plans, Ops, Infrastructure, Phacility

May 18 2020

epriestley closed T13536: In or around 8.0.19, MySQL has removed integer display width information, changing the syntax of "SHOW CREATE TABLE" as Resolved by committing rPf86d822a37ea: Update MySQL schema inspection code for deprecation of integer display widths.
May 18 2020, 7:10 PM · Infrastructure
epriestley updated the task description for T13536: In or around 8.0.19, MySQL has removed integer display width information, changing the syntax of "SHOW CREATE TABLE".
May 18 2020, 7:10 PM · Infrastructure
epriestley added a revision to T13536: In or around 8.0.19, MySQL has removed integer display width information, changing the syntax of "SHOW CREATE TABLE": D21265: Update MySQL schema inspection code for deprecation of integer display widths.
May 18 2020, 7:09 PM · Infrastructure
epriestley added a comment to T13536: In or around 8.0.19, MySQL has removed integer display width information, changing the syntax of "SHOW CREATE TABLE".

The actual query we use to inspect table information is:

May 18 2020, 6:46 PM · Infrastructure

May 17 2020

epriestley renamed T13536: In or around 8.0.19, MySQL has removed integer display width information, changing the syntax of "SHOW CREATE TABLE" from MySQL "SHOW CREATE TABLE" syntax has changed for integers to In or around 8.0.19, MySQL has removed integer display width information, changing the syntax of "SHOW CREATE TABLE".
May 17 2020, 3:53 PM · Infrastructure
epriestley triaged T13536: In or around 8.0.19, MySQL has removed integer display width information, changing the syntax of "SHOW CREATE TABLE" as Low priority.
May 17 2020, 3:53 PM · Infrastructure

May 14 2020

epriestley triaged T13535: Investigate PHP 7.4 Preloading as Wishlist priority.
May 14 2020, 6:26 PM · Infrastructure
epriestley closed T13533: Support arbitrary cURL options, for Kerberos auth as Resolved by committing rARCb76b9c4065bb: Add "HTTPSFuture->addCurlOption()" for raw access to "curl_setopt()".
May 14 2020, 4:16 PM · Infrastructure
epriestley added a revision to T13533: Support arbitrary cURL options, for Kerberos auth: D21251: Add "HTTPSFuture->addCurlOption()" for raw access to "curl_setopt()".
May 14 2020, 4:14 PM · Infrastructure
epriestley triaged T13533: Support arbitrary cURL options, for Kerberos auth as Wishlist priority.
May 14 2020, 3:54 PM · Infrastructure

Apr 30 2020

epriestley closed T13527: "mb_check_encoding()" may rase a warning if passed an object which implements "__toString()" as Resolved by committing rARC696ec3f97585: Work around "mb_check_encoding(<stringlike-object>)" warning in particular….
Apr 30 2020, 2:19 PM · Infrastructure
epriestley added a revision to T13527: "mb_check_encoding()" may rase a warning if passed an object which implements "__toString()": D21193: Work around "mb_check_encoding(<stringlike-object>)" warning in particular versions of PHP.
Apr 30 2020, 2:14 PM · Infrastructure
epriestley triaged T13527: "mb_check_encoding()" may rase a warning if passed an object which implements "__toString()" as Low priority.
Apr 30 2020, 2:11 PM · Infrastructure