Page MenuHomePhabricator
Feed Advanced Search

Mar 29 2020

epriestley closed D21033: Resolve all futures inside FutureIterator.
Mar 29 2020, 5:18 PM
epriestley committed rARC3df48c9257c3: Remove the "timeout" parameter from "Future->resolve()" (authored by epriestley).
Remove the "timeout" parameter from "Future->resolve()"
Mar 29 2020, 5:14 PM
epriestley closed D21031: Remove the "timeout" parameter from "Future->resolve()".
Mar 29 2020, 5:14 PM
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 25 2020

epriestley accepted D21045: Run ls-files from the root of the directory.

Thanks!

Mar 25 2020, 9:13 PM
epriestley added a comment to D21045: Run ls-files from the root of the directory.

If that doesn't immediately work, yell at me and I can grab this and figure out what's up.

Mar 25 2020, 8:51 PM
epriestley added a comment to D21045: Run ls-files from the root of the directory.

(Actual change makes perfect sense.)

Mar 25 2020, 8:50 PM
epriestley requested changes to D21045: Run ls-files from the root of the directory.

Try something like this:

Mar 25 2020, 8:49 PM

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
epriestley committed rARC4c12c3119b7a: Treat all PHP language-level errors as exceptions by default (authored by epriestley).
Treat all PHP language-level errors as exceptions by default
Mar 22 2020, 7:41 PM
epriestley closed D21044: Treat all PHP language-level errors as exceptions by default.
Mar 22 2020, 7:41 PM

Mar 20 2020

epriestley added a comment to D21041: Use a named remote and branches for staging to help git-lfs.

(Also, hello after all this time! Hope you're all doing well over at phacility.)

Mar 20 2020, 7:46 PM
epriestley updated the diff for D21044: Treat all PHP language-level errors as exceptions by default.
  • For completeness, explicitly handle "Undefined offset" (raised for undefined numeric offsets) in addition to "Undefined index" (raised for undefined string indexes).
Mar 20 2020, 7:40 PM
epriestley requested review of D21044: Treat all PHP language-level errors as exceptions by default.
Mar 20 2020, 7:38 PM
epriestley added a revision to T13499: Make "undefined index" PHP errors throw a RuntimeException: D21044: Treat all PHP language-level errors as exceptions by default.
Mar 20 2020, 7:38 PM · Infrastructure
epriestley committed rARC18799c182921: Switch file uploader in "arc diff" to use ConduitEngine (authored by epriestley).
Switch file uploader in "arc diff" to use ConduitEngine
Mar 20 2020, 7:19 PM
epriestley closed T13498: "arc diff" may fail with Toolsets code when trying to build a ConduitEngine to upload files as Resolved by committing rARC18799c182921: Switch file uploader in "arc diff" to use ConduitEngine.
Mar 20 2020, 7:19 PM · Arcanist
epriestley closed D21043: Switch file uploader in "arc diff" to use ConduitEngine.
Mar 20 2020, 7:19 PM
epriestley requested review of D21043: Switch file uploader in "arc diff" to use ConduitEngine.
Mar 20 2020, 7:19 PM
epriestley added a revision to T13498: "arc diff" may fail with Toolsets code when trying to build a ConduitEngine to upload files : D21043: Switch file uploader in "arc diff" to use ConduitEngine.
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 comment to D21041: Use a named remote and branches for staging to help git-lfs.

For my own internal reference, PHI1234 has related discussion.

Mar 20 2020, 7:02 PM
epriestley accepted D21041: Use a named remote and branches for staging to help git-lfs.

Thanks! I added you to Blessed Committers, so you should be able to land this. See that project description for help if you run into issues, or you can likely use "Land Revision" from the web UI here, or I can land it for you if all of that is more trouble than it's worth.

Mar 20 2020, 6:47 PM
epriestley added a member for Blessed Committers: ptarjan.
Mar 20 2020, 6:45 PM
epriestley added inline comments to D21041: Use a named remote and branches for staging to help git-lfs.
Mar 20 2020, 4:25 PM
epriestley added inline comments to D21041: Use a named remote and branches for staging to help git-lfs.
Mar 20 2020, 1:10 AM
epriestley added a comment to D21041: Use a named remote and branches for staging to help git-lfs.

Hmm, I can't immediately find any upstream version of arc that has ever not had --no-verify: D13020 in 2015 had it, and it was version-checked but retained in D14033 (also in 2015) and seems untouched since then. If you're working with a fork, maybe blame/log to figure out why it was removed?

Mar 20 2020, 1:07 AM
epriestley added inline comments to D21041: Use a named remote and branches for staging to help git-lfs.
Mar 20 2020, 1:00 AM
epriestley added a comment to D21041: Use a named remote and branches for staging to help git-lfs.

Instead of GIT_LFS_SKIP_SMUDGE=1, try git push --no-verify -- <remote-uri> ...? That just skips the pre-push hook, which seems to work locally:

Mar 20 2020, 12:48 AM
epriestley added a comment to D21041: Use a named remote and branches for staging to help git-lfs.

As much as possible I'd like arc to have the property that interrupting/killing/aborting/striking-it-with-lightning at any point during execution leaves you in the least-surprising state we can leave you in, and "arc uninstalled LFS as a side effect" seems highly-surprising, so I'm hesitant to go down that path. Let me take a quick look and see if I can find some other way to trick LFS here -- maybe there's a clever --config flag or something like that.

Mar 20 2020, 12:40 AM

Mar 19 2020

epriestley added a comment to D21041: Use a named remote and branches for staging to help git-lfs.

That is, the sequence would look something like this, if the description above was muddy:

Mar 19 2020, 11:30 PM
epriestley added a comment to D21041: Use a named remote and branches for staging to help git-lfs.

Part of this change -- pushing to a branch rather than a tag -- breaks a million things and can't come upstream without significant changes elsewhere.

Mar 19 2020, 11:24 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

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
epriestley accepted D21040: According to Jira Project keys must start with an uppercase letter, followed by one or more uppercase alphanumeric characters.
Mar 9 2020, 2:55 PM

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 committed rARC66a6128239e2: Remove the "preg_quote()" lint rule and update the "__CLASS__" lint rule (authored by epriestley).
Remove the "preg_quote()" lint rule and update the "__CLASS__" lint rule
Mar 6 2020, 5:14 PM
epriestley closed D21032: Remove the "preg_quote()" lint rule and update the "__CLASS__" lint rule.
Mar 6 2020, 5:14 PM
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
epriestley committed rARC31653f6b7749: Fix an issue where "arc" may fail on startup when trying to read older… (authored by epriestley).
Fix an issue where "arc" may fail on startup when trying to read older…
Mar 6 2020, 4:31 PM
epriestley closed D21039: Fix an issue where "arc" may fail on startup when trying to read older "default" config.
Mar 6 2020, 4:31 PM
epriestley added a revision to T13497: Arc may fail on startup with a error about missing "default" config: D21039: Fix an issue where "arc" may fail on startup when trying to read older "default" config.
Mar 6 2020, 4:31 PM · Arcanist
epriestley added a task to D21039: Fix an issue where "arc" may fail on startup when trying to read older "default" config: T13497: Arc may fail on startup with a error about missing "default" config.
Mar 6 2020, 4:31 PM
epriestley added a parent task for T13497: Arc may fail on startup with a error about missing "default" config: T13490: Upgrade all "classic" Arcanist workflows to Toolsets.
Mar 6 2020, 4:30 PM · Arcanist
epriestley added a subtask for T13490: Upgrade all "classic" Arcanist workflows to Toolsets: T13497: Arc may fail on startup with a error about missing "default" config.
Mar 6 2020, 4:30 PM · Arcanist
epriestley triaged T13497: Arc may fail on startup with a error about missing "default" config as Normal priority.
Mar 6 2020, 4:30 PM · Arcanist
epriestley requested review of D21039: Fix an issue where "arc" may fail on startup when trying to read older "default" config.
Mar 6 2020, 3:23 PM

Mar 2 2020

epriestley renamed T13496: Print the object destruction log to stdout/stderr when run interactively via `bin/remove destroy` from Print the objet destruction log to stdout/stderr when run interactively via `bin/remove destroy` to Print the object destruction log to stdout/stderr when run interactively via `bin/remove destroy`.
Mar 2 2020, 5:39 PM · Infrastructure
epriestley triaged T13496: Print the object destruction log to stdout/stderr when run interactively via `bin/remove destroy` as Wishlist priority.
Mar 2 2020, 5:18 PM · Infrastructure
epriestley added a comment to T13111: Periodically run `git prune` on Git working copies.

Does using --max-pack-size to reduce the maximum packfile size really let Git "checkpoint" after each packfile, so the process is effectively resumable?

Mar 2 2020, 4:36 PM · Phacility, Diffusion
epriestley added a comment to T13111: Periodically run `git prune` on Git working copies.

PHI1655 identifies a specific case where enormous packfiles may create problems:

Mar 2 2020, 3:56 PM · Phacility, Diffusion
epriestley updated the task description for T13156: Plans: Improve Phacility UI for managing instance managers and cards.
Mar 2 2020, 2:30 PM · Plans, Phacility

Feb 28 2020

epriestley added a comment to T11968: Decide the fate of FutureGraph.

I have some code which runs and looks plausible (i.e., not covered in piles of callback garbage), at least:

Feb 28 2020, 4:58 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley added a comment to T7339: Raise a setup warning when the "en_US.UTF-8" locale is unavailable.

See https://discourse.phabricator-community.org/t/data-truncated-when-pushing-into-repository/3586/ for what is likely to be a related issue.

Feb 28 2020, 2:54 PM · Diffusion (v3)
epriestley added a comment to T5816: Unhandled Exception ("AphrontQueryException").

The real root cause of this issue may have been a locale setting which uses comma as a decimal separator, see T7339.

Feb 28 2020, 2:51 PM · Aphront, Maniphest

Feb 27 2020

epriestley added a comment to T11968: Decide the fate of FutureGraph.

Here's an actual example of loadHardpoints($objects, $hardpoint):

Feb 27 2020, 5:21 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley added a comment to T11968: Decide the fate of FutureGraph.

In the specific case of the Hardpoints, we currently often have code which loads objects but doesn't do anything with them. For example, most Query classes use didFilterResults() to fill things-that-sure-look-like-hardpoints, but few do anything with the results.

Feb 27 2020, 3:30 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley closed T13177: ServiceProfiler integration should be a configurable part of Future, not hard-coded into subclasses (HTTPSFuture, ExecFuture) as Resolved.

I'm going to mark this as resolved, since:

Feb 27 2020, 3:06 PM · Infrastructure
epriestley requested review of D21038: Integrate "ServiceProfiler" into the base "Future".
Feb 27 2020, 2:53 PM
epriestley added a revision to T11968: Decide the fate of FutureGraph: D21038: Integrate "ServiceProfiler" into the base "Future".
Feb 27 2020, 2:53 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley added a revision to T13177: ServiceProfiler integration should be a configurable part of Future, not hard-coded into subclasses (HTTPSFuture, ExecFuture): D21038: Integrate "ServiceProfiler" into the base "Future".
Feb 27 2020, 2:53 PM · Infrastructure
epriestley updated the diff for D21036: Make "FutureIterator" queue management more formal.
  • Fix a unit test issue where a future was explicitly started before being added to an Iterator.
Feb 27 2020, 2:50 PM
epriestley committed rARC5451d2875221: When "ArcanistRuntime" exits with a nonzero exit code, emit that exit code (authored by epriestley).
When "ArcanistRuntime" exits with a nonzero exit code, emit that exit code
Feb 27 2020, 2:17 PM
epriestley closed D21037: When "ArcanistRuntime" exits with a nonzero exit code, emit that exit code.
Feb 27 2020, 2:17 PM
epriestley requested review of D21036: Make "FutureIterator" queue management more formal.
Feb 27 2020, 2:13 PM
epriestley added a revision to T11968: Decide the fate of FutureGraph: D21036: Make "FutureIterator" queue management more formal.
Feb 27 2020, 2:13 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley requested review of D21035: Make "exception" on Future a private property.
Feb 27 2020, 12:17 AM
epriestley added a revision to T11968: Decide the fate of FutureGraph: D21035: Make "exception" on Future a private property.
Feb 27 2020, 12:17 AM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist

Feb 26 2020

epriestley requested review of D21034: Make the "result" property on Future private.
Feb 26 2020, 8:30 PM
epriestley added a revision to T11968: Decide the fate of FutureGraph: D21034: Make the "result" property on Future private.
Feb 26 2020, 8:30 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley updated the diff for D21033: Resolve all futures inside FutureIterator.
  • Also remove uncalled "checkException()" method.
Feb 26 2020, 7:41 PM
epriestley requested review of D21033: Resolve all futures inside FutureIterator.
Feb 26 2020, 7:35 PM
epriestley added a revision to T11968: Decide the fate of FutureGraph: D21033: Resolve all futures inside FutureIterator.
Feb 26 2020, 7:34 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley requested review of D21032: Remove the "preg_quote()" lint rule and update the "__CLASS__" lint rule.
Feb 26 2020, 4:59 PM
epriestley added a revision to T11968: Decide the fate of FutureGraph: D21032: Remove the "preg_quote()" lint rule and update the "__CLASS__" lint rule.
Feb 26 2020, 4:59 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley updated the task description for T13488: Upgrading: Early 2020 Changes to Arcanist.
Feb 26 2020, 4:52 PM · Arcanist, Installing & Upgrading
epriestley updated the task description for T13488: Upgrading: Early 2020 Changes to Arcanist.
Feb 26 2020, 4:52 PM · Arcanist, Installing & Upgrading
epriestley requested review of D21031: Remove the "timeout" parameter from "Future->resolve()".
Feb 26 2020, 4:40 PM
epriestley added a revision to T11968: Decide the fate of FutureGraph: D21031: Remove the "timeout" parameter from "Future->resolve()".
Feb 26 2020, 4:39 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley updated the task description for T13488: Upgrading: Early 2020 Changes to Arcanist.
Feb 26 2020, 4:38 PM · Arcanist, Installing & Upgrading
epriestley added a comment to T11968: Decide the fate of FutureGraph.

The core idea in D5104 + D5105 is that $future->resolve() and id(new FutureIterator(array($future)))->next() (like, roughly) execute meaningfully different code paths.

Feb 26 2020, 4:29 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley committed rARC1b97f8b4086d: Update "arc upload" for Toolsets (authored by epriestley).
Update "arc upload" for Toolsets
Feb 26 2020, 4:22 PM
epriestley closed D21030: Update "arc upload" for Toolsets.
Feb 26 2020, 4:22 PM
epriestley added a comment to T11968: Decide the fate of FutureGraph.

Somewhere in experimental or wilds, I introduced ArcanistConduitEngine. This has some weird fake future stuff going on, so this is probably now ripe.

Feb 26 2020, 4:14 PM · Diffusion, Performance, Conduit, Infrastructure, Restricted Project, Arcanist
epriestley requested review of D21030: Update "arc upload" for Toolsets.
Feb 26 2020, 4:12 PM
epriestley added a revision to T13490: Upgrade all "classic" Arcanist workflows to Toolsets: D21030: Update "arc upload" for Toolsets.
Feb 26 2020, 4:11 PM · Arcanist

Feb 25 2020

epriestley committed rARC9bd5c23b2a3e: Improve error handling in ArcanistRuntime when failing to load libraries (authored by epriestley).
Improve error handling in ArcanistRuntime when failing to load libraries
Feb 25 2020, 10:07 PM
epriestley closed D21029: Improve error handling in ArcanistRuntime when failing to load libraries.
Feb 25 2020, 10:07 PM
epriestley requested review of D21029: Improve error handling in ArcanistRuntime when failing to load libraries.
Feb 25 2020, 9:51 PM