Page MenuHomePhabricator
Feed Advanced Search

Jun 23 2017

epriestley added a comment to T12869: Disabled version of "Land to Hosted Repository" has no icon in Differential.

My expectation is that this action can never appear -- this is the pre-Drydock hacky temporary action -- so something troubling is afoot.

Jun 23 2017, 2:01 PM · Drydock, Differential
epriestley created T12869: Disabled version of "Land to Hosted Repository" has no icon in Differential.
Jun 23 2017, 1:59 PM · Drydock, Differential
epriestley added a comment to T12866: Batch repository editing or repository groups for shared access control settings.

See also T10005 (bulk editors for all applications) and T6722.

Jun 23 2017, 1:38 PM · Diffusion, Feature Request
epriestley claimed T12867: Youtube remarkup rule fails to parse "ambiguous URI".

I think a minimal reproduction case which is typical of this example is:

Jun 23 2017, 1:35 PM · Remarkup, Bug Report

Jun 22 2017

epriestley closed T12859: Some means of updating builtin images without a manual purge as Resolved.

Ah, alright. Yeah, behavior is:

Jun 22 2017, 6:24 PM · Design
epriestley reopened T12859: Some means of updating builtin images without a manual purge as "Open".
Jun 22 2017, 6:20 PM · Design
epriestley added a comment to T12859: Some means of updating builtin images without a manual purge.

Oh, maybe I misunderstood. I thought you wanted an easier way to test changes in a development environment, but it sounds like you actually want end users to immediately get the new images instead of needing to wait 7 days for them?

Jun 22 2017, 6:20 PM · Design
epriestley closed T12859: Some means of updating builtin images without a manual purge as Resolved by committing Restricted Diffusion Commit.
Jun 22 2017, 6:14 PM · Design
epriestley closed T12860: Search by tag does not work in Phriction as Resolved by committing Restricted Diffusion Commit.
Jun 22 2017, 6:01 PM · Phriction, Bug Report
epriestley added a comment to T12859: Some means of updating builtin images without a manual purge.

A slightly more aggressive fix would be to make these have a 5 second TTL in development or something (or hash the file modification time into the builtin key? But that's a bit tricky...) so you'd never have to purge the cache, but I think this arises rarely enough that it isn't too valuable.

Jun 22 2017, 5:58 PM · Design
epriestley added a comment to T12859: Some means of updating builtin images without a manual purge.

Strictly speaking, you still have to do a "manual purge" (with bin/cache ...) after D18146, but I assume you just didn't want to have to fish around in the DB.

Jun 22 2017, 5:57 PM · Design
epriestley added a revision to T12859: Some means of updating builtin images without a manual purge: Unknown Object (Differential Revision).
Jun 22 2017, 5:56 PM · Design
epriestley added a revision to T12859: Some means of updating builtin images without a manual purge: Unknown Object (Differential Revision).
Jun 22 2017, 5:44 PM · Design
epriestley added a revision to T12860: Search by tag does not work in Phriction: Unknown Object (Differential Revision).
Jun 22 2017, 5:26 PM · Phriction, Bug Report

Jun 21 2017

epriestley added a comment to T12859: Some means of updating builtin images without a manual purge.
$engine = new PhabricatorDestructionEngine();
$engine->destroyObject($file);
Jun 21 2017, 8:13 PM · Design
epriestley added a comment to T12859: Some means of updating builtin images without a manual purge.

Also not sure how to "retire" ones from Projects I don't intend to replace (low value).

Jun 21 2017, 6:57 PM · Design
epriestley added a comment to T12857: Temporary directory fullness can cause daemon issues?.

If you want to move forward with that:

Jun 21 2017, 6:35 PM · Diffusion, Ops, Daemons, Phacility
epriestley added a comment to T12861: How to intergrate Infer's analysis result into Phabricator?.

Great! Please mail support at support@phacility.com and identify which instance you're paying us for, then we're happy to help you. We won't help you here, since this isn't the right way for customers to get support.

Jun 21 2017, 6:27 PM · Phacility, Feature Request
epriestley added a comment to T12857: Temporary directory fullness can cause daemon issues?.

Every repo host is equally affected, so I'd like to deploy crontabs as part of the regular deployment process if we use them as part of the approach here. That would require first codifying a handful of custom crontabs, including one on secure which regenerates documentation daily on only one host. This codification should happen anyway eventually, but it's a little bit of work, and wasted effort if we're switching to Chef/Salt/Ansible/etc soon anyway.

Jun 21 2017, 5:57 PM · Diffusion, Ops, Daemons, Phacility
epriestley merged T12862: Diffusion: change to a flat project structure view into T10767: fold empty directories in Browse view.
Jun 21 2017, 5:23 PM · Restricted Project, Diffusion, Feature Request
epriestley merged task T12862: Diffusion: change to a flat project structure view into T10767: fold empty directories in Browse view.
Jun 21 2017, 5:23 PM · Diffusion, Feature Request
epriestley closed T12861: How to intergrate Infer's analysis result into Phabricator? as Invalid.

If you're a Phacility customer, please mail support at support@phacility.com (and identify your instance).

Jun 21 2017, 5:22 PM · Phacility, Feature Request
epriestley added a comment to T12835: Improve parsing of unusual "git diff --no-index --no-prefix" diffs.

Why is git diff --no-index being used instead of and diff, and why is --no-prefix being used?

Jun 21 2017, 4:59 PM · Arcanist, Bug Report
• tomekj2ee awarded T7924: Unprototype Calendar (v1) a Love token.
Jun 21 2017, 4:14 PM · Restricted Project, Prioritized, Calendar
epriestley closed T12858: test as Invalid.
Jun 21 2017, 10:56 AM

Jun 20 2017

epriestley added a revision to T12124: Counterintuitive priority setting via maniphest.edit conduit call: Unknown Object (Differential Revision).
Jun 20 2017, 10:27 PM · Maniphest, Conduit, Bug Report
20after4 awarded T12855: In PHP7, "Throwable" and "Error" are exciting new exception classes a Baby Tequila token.
Jun 20 2017, 8:12 PM · Infrastructure
epriestley added a comment to T12857: Temporary directory fullness can cause daemon issues?.

Here's another clue, from the relevant host's error log:

Jun 20 2017, 1:02 PM · Diffusion, Ops, Daemons, Phacility
epriestley closed T12849: No way to have an empty row in a remarkup table as Resolved by committing Restricted Diffusion Commit.
Jun 20 2017, 12:44 PM · Remarkup, Bug Report
epriestley added a comment to T920: Provide SMS Support.

Yeah, I'm pretty pessimistic about the security of SMS (or voice) as a factor. See also T7639 and T6549#97130. The article identifies these vectors:

Jun 20 2017, 11:51 AM · Restricted Project, Herald

Jun 19 2017

epriestley added a revision to T12849: No way to have an empty row in a remarkup table: Unknown Object (Differential Revision).
Jun 19 2017, 10:23 PM · Remarkup, Bug Report
epriestley claimed T12849: No way to have an empty row in a remarkup table.

I'm not really sold on this use case, but I think the result is unintuitive/buggy enough to fix anyway.

Jun 19 2017, 10:13 PM · Remarkup, Bug Report
epriestley added a revision to T12857: Temporary directory fullness can cause daemon issues?: Unknown Object (Differential Revision).
Jun 19 2017, 9:53 PM · Diffusion, Ops, Daemons, Phacility
epriestley added a revision to T12857: Temporary directory fullness can cause daemon issues?: Unknown Object (Differential Revision).
Jun 19 2017, 9:45 PM · Diffusion, Ops, Daemons, Phacility
epriestley created T12857: Temporary directory fullness can cause daemon issues?.
Jun 19 2017, 9:28 PM · Diffusion, Ops, Daemons, Phacility
epriestley added a revision to T12855: In PHP7, "Throwable" and "Error" are exciting new exception classes: Unknown Object (Differential Revision).
Jun 19 2017, 8:05 PM · Infrastructure
epriestley added a revision to T12855: In PHP7, "Throwable" and "Error" are exciting new exception classes: Unknown Object (Differential Revision).
Jun 19 2017, 7:59 PM · Infrastructure
epriestley added a revision to T12124: Counterintuitive priority setting via maniphest.edit conduit call: Unknown Object (Differential Revision).
Jun 19 2017, 7:40 PM · Maniphest, Conduit, Bug Report
epriestley added a revision to T12124: Counterintuitive priority setting via maniphest.edit conduit call: Unknown Object (Differential Revision).
Jun 19 2017, 7:25 PM · Maniphest, Conduit, Bug Report
epriestley added a comment to T12124: Counterintuitive priority setting via maniphest.edit conduit call.

Oh, sorry, maybe I wasn't clear. My plan is this:

Jun 19 2017, 6:19 PM · Maniphest, Conduit, Bug Report
epriestley added a comment to T12124: Counterintuitive priority setting via maniphest.edit conduit call.

Yes, we could migrate these instead.

Jun 19 2017, 6:02 PM · Maniphest, Conduit, Bug Report
epriestley created 2017 Week 24 (Mid June).
Jun 19 2017, 5:31 PM
epriestley claimed T12845: Convert remaining ancient configuration type classes to modern modular type classes.

I think this is a general problem with all JSON config types. The code for this is a bit messy and mixes "builtin" and "custom" types, but should probably just be rebuilt to not have all that weird magic.

Jun 19 2017, 5:06 PM · Infrastructure, Config
epriestley added a comment to T12851: The feed query '2HfUlTnoqZbw' causes an exception in PhabricatorSearchCheckboxesField.

This came from D18028, when I changed the Include stories about projects I am a member of. checkbox to be a CheckboxesField. I think the issue is that existing saved queries may have the old value for the field stored (true), instead of the new value (array('self')). These queries would be impossible to construct in the UI now.

Jun 19 2017, 5:04 PM · Feed, Bug Report
epriestley added a subtask for T12101: Phabricator PHP 7 Compatibility: T12855: In PHP7, "Throwable" and "Error" are exciting new exception classes.
Jun 19 2017, 4:24 PM · Infrastructure, Guides
epriestley added a parent task for T12855: In PHP7, "Throwable" and "Error" are exciting new exception classes: T12101: Phabricator PHP 7 Compatibility.
Jun 19 2017, 4:24 PM · Infrastructure
epriestley created T12855: In PHP7, "Throwable" and "Error" are exciting new exception classes.
Jun 19 2017, 4:24 PM · Infrastructure
epriestley reopened T12124: Counterintuitive priority setting via maniphest.edit conduit call as "Open".

I'll see if I can smooth this over a little before installs figure it out.

Jun 19 2017, 4:16 PM · Maniphest, Conduit, Bug Report
epriestley added a comment to T12124: Counterintuitive priority setting via maniphest.edit conduit call.

After some additional poking, there are a couple of other compatibility issues here:

Jun 19 2017, 4:15 PM · Maniphest, Conduit, Bug Report
epriestley added a revision to T12851: The feed query '2HfUlTnoqZbw' causes an exception in PhabricatorSearchCheckboxesField: Unknown Object (Differential Revision).
Jun 19 2017, 3:56 PM · Feed, Bug Report
epriestley closed T12798: Decommission cluster host `repo012` as Resolved.
  • I filed T12854 for final cleanup.
  • I stopped repo012.phacility.net.
  • The repo tier now has a discontinuity. --timeout will "fix" it but this should be fixed properly, except that we're presumably throwing away Phage in favor of Chef/Puppet/Ansible in T12847 which will moot this.
Jun 19 2017, 3:34 PM · Ops, Phacility
epriestley created T12854: Clean up resources for decommissioned `repo012`.
Jun 19 2017, 3:29 PM · Ops, Phacility
epriestley added a comment to T12798: Decommission cluster host `repo012`.

I started the instance, then used bin/remote deploy to deploy it. Everything came back up cleanly with no additional steps. Things were back online after about 10 minutes (maybe a bit less).

Jun 19 2017, 3:28 PM · Ops, Phacility
epriestley added a comment to T12798: Decommission cluster host `repo012`.

AWS stopped the instance; I'm starting it again now.

Jun 19 2017, 3:13 PM · Ops, Phacility

Jun 16 2017

epriestley added a comment to T12847: A Pathway Towards Private Clusters.

Another possibility is that since we need only a very small number of connections between subnets (database replication and VCS over SSH only, I think), we could enumerate everything and then tunnel/forward them with something like stunnel/ssh/haproxy rather than a full-blown VPN. That also feels like kind of a mess, but maybe not as much of a mess as doing a full VPN setup. It would probably look something like the OpenSWAN diagram, except the OpenSWAN boxes would be haproxy/stunnel boxes or whatever instead that just forwarded a specific set of ports between devices:

Jun 16 2017, 7:22 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

If we do VPC-level VPNs, what network level safeguard prevents web001.evil-attacker.us-west.phacility.com from connecting directly to db001-master.wholesome-good-company.us-east.phacilty.com? Subnet ACLs can no longer enforce this, right? All the traffic arriving on the east coast will originate from the local VPN endpoint, not from the corresponding west-coast subnet? Or am I misunderstanding how this works?

Jun 16 2017, 5:45 PM · Plans, Ops, Phacility
epriestley added a comment to T12799: Consider an "API Utilities" application.

We also technically do something like this in the production cluster today with bin/services sync, which (among other things) synchronizes Almanac services from the admin tier. The script currently just cheats and forces them to allocate with the same PHIDs, so we know local service X is the same as remote service X because they have the same PHID. I'm not sure we'd necessarily change this if we had a real "utilities" API but it's definitely a bit hacky as written today.

Jun 16 2017, 11:09 AM · Conduit
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

I'm a bit out of my depth here -- what's the alternative you're suggesting? That we have VPC <-> VPC VPNs instead of subnet <-> subnet VPNs? What, specifically, is the "just use TLS" plan?

Jun 16 2017, 10:59 AM · Plans, Ops, Phacility
20after4 awarded T11439: Retrieve Diff PHID via phid.lookup a Love token.
Jun 16 2017, 8:30 AM · Feature Request
chad awarded T12847: A Pathway Towards Private Clusters a Baby Tequila token.
Jun 16 2017, 4:32 AM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

I think the worst possible outcome is that we throw it all away for some reason we don't currently forsee, you learn a lot more about how the cluster works in the process, and I can answer "Why aren't you using Chef/Ansible/Puppet?" when we make the next hire.

Jun 16 2017, 12:36 AM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

I think we just have two very different models of where operational risk lies and how to hedge against it -- the risks you associate with first-party tooling are risks I associate with third-party tooling. We can't really objectively prove that either model is better because failures are rare in either case. I think we're worse off trying to compromise the two models than picking either one and sticking to it.

Jun 16 2017, 12:33 AM · Plans, Ops, Phacility

Jun 15 2017

epriestley added a comment to T12847: A Pathway Towards Private Clusters.

I'll also suggest that we should implement some kind of "infrastructure as code" tool

Jun 15 2017, 10:29 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

Today, we read config from admin.phacility.com on each request. This is generally good for shared clusters, although T12646 discusses some issues.

Jun 15 2017, 10:27 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

Instances should probably still have short display names (like "epriestley" corresponding to epriestley.phacility.com) for tooling consistency and, at least today, for mail. It's annoying/inconvenient if we can never call this instance "epriestley" and always have to call it "phabricator.epriestley.com". After T11413, they will also have possibly-different internal names, perhaps inst-abc or PHID-INST-abcdfe.

Jun 15 2017, 10:21 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

Each private cluster should be on its own subnet. If/when we let installs run custom code on an instance and it's a security nightmare and roots the box, no other customer should be vulnerable.

Jun 15 2017, 10:05 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

At least, not until we launch Phacility Apps for Domains and rebrand it to PSuite a few years later.

Jun 15 2017, 9:40 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

(We can't ever host bugs@epriestley.com directly anyway -- that always has to forward -- and that's probably what installs would want if they care about any of this.)

Jun 15 2017, 9:39 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

no lol

Jun 15 2017, 9:38 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

The main domain name, phabricator.epriestley.com, must be pointed at the ALB.

Jun 15 2017, 9:33 PM · Plans, Ops, Phacility
epriestley added a comment to Q627: What is the SSH fingerprint of vault.phacility.com?.

8a:7a:a7:de:52:8e:eb:7a:de:9b:73:c4:9f:88:13:9d

Jun 15 2017, 9:31 PM · Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

SSL Certificates and Load Balancers

Jun 15 2017, 9:23 PM · Plans, Ops, Phacility
epriestley added a comment to T12847: A Pathway Towards Private Clusters.

I think there are broadly two halves to this which we can think about mostly separately:

Jun 15 2017, 9:10 PM · Plans, Ops, Phacility
epriestley created T12847: A Pathway Towards Private Clusters.
Jun 15 2017, 9:02 PM · Plans, Ops, Phacility
epriestley added a revision to T8250: Would like to see all comments and their status in a list: Unknown Object (Differential Revision).
Jun 15 2017, 1:35 PM · Inline Comments, Prioritized, Restricted Project, Differential
epriestley added a revision to T12733: (2017 Week 20) Inline Comments Errata / Feedback: Unknown Object (Differential Revision).
Jun 15 2017, 1:35 PM · Inline Comments, Installing & Upgrading, Differential
epriestley added a comment to T12799: Consider an "API Utilities" application.

Maybe another capability here is just letting callers put a random bag of properties on any object. I don't reaaaaally have use cases for that but it "seems powerful" if we're building all of this already at some point.

Jun 15 2017, 12:35 PM · Conduit
epriestley closed T8909: Provide ability to hide all inline or done comments as Resolved by committing Restricted Diffusion Commit.
Jun 15 2017, 12:23 PM · Inline Comments, Prioritized, Restricted Project, Restricted Project, Differential, FreeBSD
epriestley added a comment to T12117: Conduit API method audit.query fails with 'Undefined class constant CONCERN_ACCEPTED'.

No.

Jun 15 2017, 12:20 PM · Audit, Diffusion, Conduit, Bug Report
epriestley added a revision to T8909: Provide ability to hide all inline or done comments: Unknown Object (Differential Revision).
Jun 15 2017, 12:03 PM · Inline Comments, Prioritized, Restricted Project, Restricted Project, Differential, FreeBSD
epriestley added a revision to T12733: (2017 Week 20) Inline Comments Errata / Feedback: Unknown Object (Differential Revision).
Jun 15 2017, 12:03 PM · Inline Comments, Installing & Upgrading, Differential
epriestley added a revision to T12733: (2017 Week 20) Inline Comments Errata / Feedback: Unknown Object (Differential Revision).
Jun 15 2017, 11:31 AM · Inline Comments, Installing & Upgrading, Differential
epriestley added a revision to T12733: (2017 Week 20) Inline Comments Errata / Feedback: Unknown Object (Differential Revision).
Jun 15 2017, 11:19 AM · Inline Comments, Installing & Upgrading, Differential
tetrapus awarded T5474: Support workboard column triggers which activate when a task is dropped into a column a Like token.
Jun 15 2017, 1:29 AM · Workboards (v3), Restricted Project

Jun 14 2017

epriestley closed T12846: arc unit uses the config of the current installation when running tests as Resolved.

I think this is worth acting on (by changing MySQL sandboxing or config sandboxing or some combination of things) if:

Jun 14 2017, 10:23 PM · Bug Report
epriestley added a comment to T12846: arc unit uses the config of the current installation when running tests.

Oh, I don't think anyone should ever be running unit tests with actual production credentials. You should assume that arc unit will immediately escape all sandboxing and destroy all the data it can touch, then run BENCHMARK() for an hour and then crash the server. But you should assume arc unit will do this even if it is "supposed" to be Totally Seriously Sandboxed 100% into SQLite.

Jun 14 2017, 10:17 PM · Bug Report
epriestley added a comment to T11664: Add option to allow owner packages to be added as reviewers to diffs, when the diff author is in the owner package.

I'm not particularly strongly opposed to adding more options here, I just want to avoid the dropdown becoming this:

Jun 14 2017, 10:08 PM · Restricted Project, Feature Request
epriestley added a comment to T11664: Add option to allow owner packages to be added as reviewers to diffs, when the diff author is in the owner package.

For the compliance case, you should already be able to trigger this stronger rule ("always add the package as a reviewer, even if an owner authored it") with Herald, by writing this rule:

Jun 14 2017, 9:58 PM · Restricted Project, Feature Request
epriestley added a comment to T12846: arc unit uses the config of the current installation when running tests.

I can't really come up with a problem that would prevent, even theoretically -- do you have a specific scenario in mind offhand where some kind of MySQL configuration could mask a test failure locally?

Jun 14 2017, 9:38 PM · Bug Report
epriestley added a comment to T12846: arc unit uses the config of the current installation when running tests.

This is semi-intended, because we have to pull a lot of config (like mysql.host) from your local install for things to make sense: we can't create test fixtures if we don't know how to connect to the database.

Jun 14 2017, 8:24 PM · Bug Report
epriestley added a comment to T11664: Add option to allow owner packages to be added as reviewers to diffs, when the diff author is in the owner package.

The use case in this task's description does not make sense to me.

Jun 14 2017, 7:28 PM · Restricted Project, Feature Request
epriestley closed T12844: MetaMTA worker can win a race against MTAMail despite both being inserted in the same transaction, because they aren't actually inserted in the same transaction as Resolved by committing Restricted Diffusion Commit.
Jun 14 2017, 7:27 PM · Daemons, Mail, Restricted Project, Bug Report
epriestley renamed T12844: MetaMTA worker can win a race against MTAMail despite both being inserted in the same transaction, because they aren't actually inserted in the same transaction from MetaMTA worker can win a race against MTAMail despite both being inserted in the same transaction to MetaMTA worker can win a race against MTAMail despite both being inserted in the same transaction, because they aren't actually inserted in the same transaction.
Jun 14 2017, 7:19 PM · Daemons, Mail, Restricted Project, Bug Report
epriestley added a revision to T12844: MetaMTA worker can win a race against MTAMail despite both being inserted in the same transaction, because they aren't actually inserted in the same transaction: Unknown Object (Differential Revision).
Jun 14 2017, 7:15 PM · Daemons, Mail, Restricted Project, Bug Report
epriestley added a comment to T12844: MetaMTA worker can win a race against MTAMail despite both being inserted in the same transaction, because they aren't actually inserted in the same transaction.

Oh, this doesn't isolate things because they're on different databases, and thus we establish different connections. The daemon insert does not happen inside a transaction.

Jun 14 2017, 7:10 PM · Daemons, Mail, Restricted Project, Bug Report
lvital awarded T12844: MetaMTA worker can win a race against MTAMail despite both being inserted in the same transaction, because they aren't actually inserted in the same transaction a Burninate token.
Jun 14 2017, 7:02 PM · Daemons, Mail, Restricted Project, Bug Report
epriestley created T12844: MetaMTA worker can win a race against MTAMail despite both being inserted in the same transaction, because they aren't actually inserted in the same transaction.
Jun 14 2017, 6:59 PM · Daemons, Mail, Restricted Project, Bug Report
• stima awarded E1537: Dentist a Love token.
Jun 14 2017, 1:55 PM
epriestley added a comment to T12799: Consider an "API Utilities" application.

We actually do this ourselves in the "Locations" technical interview scenario: the script tries to create a set of tasks, or update them if they already exist. It currently uses title-based search to accomplish this, but could more reliably use "utility labels" if they existed.

Jun 14 2017, 12:16 PM · Conduit
epriestley added a comment to T12843: Add support for creating workboard columns from the Conduit API.

We do something similar ourselves for technical interviews, but I just related all the tasks by embedding them in the description of a central task:

Jun 14 2017, 12:15 PM · Conduit, Projects, Workboards, Feature Request