Page MenuHomePhabricator
Feed Advanced Search

Jun 20 2019

epriestley added a comment to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date.

I just ran into this for the first time:

Jun 20 2019, 11:04 PM · Daemons, Phacility
epriestley committed rPHU8eaf1b38d417: Replace made-up use of "topographical" ordering with professional, high-quality… (authored by epriestley).
Replace made-up use of "topographical" ordering with professional, high-quality…
Jun 20 2019, 11:02 PM
epriestley closed D20597: Replace made-up use of "topographical" ordering with professional, high-quality academic use of "topological" ordering.
Jun 20 2019, 11:02 PM
epriestley added inline comments to D20607: Stop writing PID files in daemons.
Jun 20 2019, 11:01 PM
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: Unknown Object (Differential Revision).
Jun 20 2019, 10:44 PM · Daemons, Phacility
epriestley added inline comments to D20601: Drive "phd stop" entirely from the process list, not PID files on disk.
Jun 20 2019, 10:40 PM
epriestley added a comment to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date.

I've also never seen anyone use kill -TERM `cat /path/to/pidfile` in real life over some flavor of pkill, which is basically the same thing as "pattern match the process titles".

Jun 20 2019, 10:36 PM · Daemons, Phacility
epriestley added a comment to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date.

provided I'm not missing some secret reason to retain PID files.

Jun 20 2019, 10:34 PM · Daemons, Phacility
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: Unknown Object (Differential Revision).
Jun 20 2019, 10:33 PM · Daemons, Phacility
epriestley requested review of D20608: Remove "phd.pid-directory" configuration and stop passing "piddir" to daemons.
Jun 20 2019, 10:12 PM
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20608: Remove "phd.pid-directory" configuration and stop passing "piddir" to daemons.
Jun 20 2019, 10:11 PM · Daemons, Phacility
epriestley requested review of D20607: Stop writing PID files in daemons.
Jun 20 2019, 10:06 PM
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20607: Stop writing PID files in daemons.
Jun 20 2019, 10:05 PM · Daemons, Phacility
epriestley requested review of D20606: Make "phd start" and "phd reload" use the process list, not PID files.
Jun 20 2019, 9:59 PM
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20606: Make "phd start" and "phd reload" use the process list, not PID files.
Jun 20 2019, 9:57 PM · Daemons, Phacility
epriestley requested review of D20605: Fix two "msort()" vs "msortv()" issues in "arc land".
Jun 20 2019, 9:41 PM
epriestley added a revision to T13303: There is an extra or missing "array_reverse()" somewhere after recent transaction strength sorting changes: D20605: Fix two "msort()" vs "msortv()" issues in "arc land".
Jun 20 2019, 9:41 PM · Transactions
epriestley added a comment to T11037: `bin/phd status` is misleading about local / remote daemons.

I've marked D20604 as resolving this; it does so by making bin/phd status report local process status only. I strongly suspect that this is probably a better / less confusing behavior.

Jun 20 2019, 9:37 PM · Daemons, Restricted Project
epriestley requested review of D20604: Make "bin/phd status" report local daemons from the process list, not a mess of local/remote information.
Jun 20 2019, 9:37 PM
epriestley added a revision to T11037: `bin/phd status` is misleading about local / remote daemons: D20604: Make "bin/phd status" report local daemons from the process list, not a mess of local/remote information.
Jun 20 2019, 9:36 PM · Daemons, Restricted Project
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20604: Make "bin/phd status" report local daemons from the process list, not a mess of local/remote information.
Jun 20 2019, 9:36 PM · Daemons, Phacility
epriestley added a comment to D20601: Drive "phd stop" entirely from the process list, not PID files on disk.
  • "DEAMONS" -> "DAEMONS"
Jun 20 2019, 9:26 PM
epriestley requested review of D20603: Remove "PhutilDaemonOverseer->findRunningDaemons()".
Jun 20 2019, 9:25 PM
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20603: Remove "PhutilDaemonOverseer->findRunningDaemons()".
Jun 20 2019, 9:25 PM · Daemons, Phacility
epriestley requested review of D20602: Deprecate "bin/phd ... --gently" and update documentation.
Jun 20 2019, 9:24 PM
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20602: Deprecate "bin/phd ... --gently" and update documentation.
Jun 20 2019, 9:23 PM · Daemons, Phacility
epriestley requested review of D20601: Drive "phd stop" entirely from the process list, not PID files on disk.
Jun 20 2019, 9:15 PM
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20601: Drive "phd stop" entirely from the process list, not PID files on disk.
Jun 20 2019, 9:14 PM · Daemons, Phacility
D20595: Modularize PhabricatorEditEngineConfigurationTransaction is now accepted and ready to land.

One inline thing, but the rest of this looks correct as far as I can tell.

Jun 20 2019, 9:07 PM
epriestley requested review of D20600: Formalize a "Query" class for looking at the process list.
Jun 20 2019, 9:04 PM
epriestley added a revision to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date: D20600: Formalize a "Query" class for looking at the process list.
Jun 20 2019, 9:03 PM · Daemons, Phacility
epriestley added a comment to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date.

I have a patch for this which basically says "don't try to kill any process which doesn't look like a daemon process".

Jun 20 2019, 8:04 PM · Daemons, Phacility
epriestley updated the summary of D20597: Replace made-up use of "topographical" ordering with professional, high-quality academic use of "topological" ordering.
Jun 20 2019, 7:53 PM
yelirekim awarded D20597: Replace made-up use of "topographical" ordering with professional, high-quality academic use of "topological" ordering a Pterodactyl token.
Jun 20 2019, 7:51 PM
epriestley added a comment to T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date.

This is probably somewhat entangled with T13253 and/or T11037 and this whole thing is kind of a mess.

Jun 20 2019, 7:32 PM · Daemons, Phacility
epriestley added a comment to T12543: `phd` can't handle PID properly when there are multiple phabricator daemons..

We've run instances in the Phacility cluster for a long time now, but this is generally not something we really support or plan to support since there's no real customer interest in instancing Phabricator.

Jun 20 2019, 7:25 PM · Daemons, Bug Report
kylec awarded D20596: Fix an issue in Owners where a transaction change could show too many effects a Love token.
Jun 20 2019, 7:20 PM
epriestley added a comment to D20599: Update "phabricator/" for "topological" API changes.

Builds have a hard dependency on D20597.

Jun 20 2019, 7:19 PM
epriestley added a revision to T13325: Various internal APIs calls use the made up word "topographical" when they mean "topological": D20599: Update "phabricator/" for "topological" API changes.
Jun 20 2019, 7:15 PM · Infrastructure
epriestley requested review of D20598: Update "arcanist/" for "topological" API changes.
Jun 20 2019, 7:12 PM
epriestley added a revision to T13325: Various internal APIs calls use the made up word "topographical" when they mean "topological": D20598: Update "arcanist/" for "topological" API changes.
Jun 20 2019, 7:11 PM · Infrastructure
epriestley requested review of D20597: Replace made-up use of "topographical" ordering with professional, high-quality academic use of "topological" ordering.
Jun 20 2019, 7:05 PM
epriestley added a revision to T13325: Various internal APIs calls use the made up word "topographical" when they mean "topological": D20597: Replace made-up use of "topographical" ordering with professional, high-quality academic use of "topological" ordering.
Jun 20 2019, 7:05 PM · Infrastructure
epriestley added a comment to T13325: Various internal APIs calls use the made up word "topographical" when they mean "topological".

The power is in my hands, now.

Jun 20 2019, 6:50 PM · Infrastructure
epriestley added a comment to T13320: Unannounced/unlogged AWS reboots are apparently routine procedure, not cosmic rays / ghosts.

But wait! It says there are two ways! The other way is:

Jun 20 2019, 6:40 PM · Phacility
epriestley added a comment to T13320: Unannounced/unlogged AWS reboots are apparently routine procedure, not cosmic rays / ghosts.

If you are just writing an upstart job that needs to start the service after the basic facilities are up, either of these will work:

start on (local-filesystems and net-device-up IFACE!=lo)
Jun 20 2019, 6:38 PM · Phacility
epriestley requested review of D20596: Fix an issue in Owners where a transaction change could show too many effects.
Jun 20 2019, 6:17 PM
epriestley added a revision to T13324: Owners transactions which edit paths for packages with one or more paths with no trailing slash render incorrectly: D20596: Fix an issue in Owners where a transaction change could show too many effects.
Jun 20 2019, 6:16 PM · Owners
epriestley claimed T13324: Owners transactions which edit paths for packages with one or more paths with no trailing slash render incorrectly.
Jun 20 2019, 6:11 PM · Owners
epriestley added a comment to T5758: Package auditing should only require auditing on closing branches.

This was effectively resolved in 2019 Week 17 (Very Late April). Now, only ancestors of "Permanent Refs" trigger any publishing behavior (audits, notifications, feed, etc).

Jun 20 2019, 5:45 PM · Restricted Project, Owners
epriestley added a comment to T11012: Audit not Triggered Sometimes in Owners/Packages Application.

This is very old and it doesn't look like we ever found a working set of reproduction steps.

Jun 20 2019, 5:43 PM · Restricted Project, Owners, Bug Report
epriestley created T13325: Various internal APIs calls use the made up word "topographical" when they mean "topological".
Jun 20 2019, 5:37 PM · Infrastructure
epriestley added a comment to D20595: Modularize PhabricatorEditEngineConfigurationTransaction.

To avoid the extreme case of ComComComJava-itis we could maybe just drop the word Configuration from these classes? No other type of EditEngine ... Transaction is ever likely to exist or make sense.

Jun 20 2019, 5:33 PM
epriestley created T13324: Owners transactions which edit paths for packages with one or more paths with no trailing slash render incorrectly.
Jun 20 2019, 5:27 PM · Owners
epriestley created T13323: Remove the "CAN_EDIT on a parent project implies CAN_EDIT on a child project" policy rule.
Jun 20 2019, 5:20 PM · Policy, Projects
epriestley created T13322: Allow parent projects to have direct members.
Jun 20 2019, 5:11 PM · Projects
epriestley edited projects for T10427: Errors when adding person to subproject, added: Projects; removed Bug Report.
Jun 20 2019, 4:49 PM · Projects
epriestley created T13321: "bin/phd" may try to kill processes it does not own if the daemon PID logfiles on disk are out of date.
Jun 20 2019, 3:20 PM · Daemons, Phacility
epriestley updated the task description for T13320: Unannounced/unlogged AWS reboots are apparently routine procedure, not cosmic rays / ghosts.
Jun 20 2019, 3:17 PM · Phacility
epriestley created T13320: Unannounced/unlogged AWS reboots are apparently routine procedure, not cosmic rays / ghosts.
Jun 20 2019, 2:58 PM · Phacility
spawnlt awarded T13039: Support numeric fields in Herald a Party Time token.
Jun 20 2019, 5:26 AM · Herald

Jun 19 2019

epriestley changed the visibility for D3219: Add View, Edit and Join policies to PhabricatorProject.
Jun 19 2019, 9:45 PM
epriestley committed rP37e26f1b4531: Improve rendering of "default value changed" custom form transactions to at… (authored by epriestley).
Improve rendering of "default value changed" custom form transactions to at…
Jun 19 2019, 8:47 PM
epriestley closed D20594: Improve rendering of "default value changed" custom form transactions to at least have all the information.
Jun 19 2019, 8:47 PM
epriestley added a comment to T13318: Phacility developer setup documentation omits "local.*" hosts.

🐫 Does this button work ------>>^^^

Jun 19 2019, 8:36 PM · Phacility
epriestley requested review of D20594: Improve rendering of "default value changed" custom form transactions to at least have all the information.
Jun 19 2019, 8:29 PM
epriestley added a revision to T13319: Transactions which modify EditEngine form default values don't include details about the old and new values: D20594: Improve rendering of "default value changed" custom form transactions to at least have all the information.
Jun 19 2019, 8:27 PM · EditEngine
epriestley added a comment to T13319: Transactions which modify EditEngine form default values don't include details about the old and new values.

There are a few pieces here, since we have to thread the needle through many layers to get where we want to go.

Jun 19 2019, 8:16 PM · EditEngine
epriestley created T13319: Transactions which modify EditEngine form default values don't include details about the old and new values.
Jun 19 2019, 7:54 PM · EditEngine
epriestley committed rPcaaa1394ef15: Don't count "Cc: x@y.com" as a legitimate recipient if the user who has "x@y. (authored by epriestley).
Don't count "Cc: x@y.com" as a legitimate recipient if the user who has "x@y.
Jun 19 2019, 7:51 PM
epriestley closed D20593: Don't count "Cc: x@y.com" as a legitimate recipient if the user who has "x@y.com" attached to their account has not verified the address.
Jun 19 2019, 7:51 PM
epriestley closed T13317: Unverified/nonsense account emails can trigger inbound CCs (was: Inbound support pact email sometimes CCs disabled user `@maxhodges` in Phacility) as Resolved by committing rPcaaa1394ef15: Don't count "Cc: x@y.com" as a legitimate recipient if the user who has "x@y..
Jun 19 2019, 7:51 PM · Mail, Phacility
epriestley added a comment to D20592: Don't handle JIRA/Asana URIs with anchors or query parameters in a special way (with Doorkeeper).

If JIRA links are mostly/all in the form ?page=com.jira.jira.plugin.extension.gateway-to-realms-of-wonder&exec=rm -rf / that might also mean that "links which don't really link to the task" are common and that "task + params" is more like "portal to arbitrary plugin behavior", although I'm not having much luck digging up more information about this by Googling.

Jun 19 2019, 7:48 PM
epriestley added a comment to D20592: Don't handle JIRA/Asana URIs with anchors or query parameters in a special way (with Doorkeeper).

Also, practically, I can't actually figure out how to get either modern JIRA or Asana to generate any URI with any parameters or fragments at all. Neither appears to support linking directly to a comment.

Jun 19 2019, 7:17 PM
epriestley added a comment to D20592: Don't handle JIRA/Asana URIs with anchors or query parameters in a special way (with Doorkeeper).

I guess my assumption is that ?a=b may, in the general case, completely change the meaning of the link. Although I think this has mostly been purged from the web now, an example was #! fragments before the widespread use of the history API, where https://example.com/a/#!b actually meant "Page B", not "Page A", and labeling the link "Page A" would be misleading.

Jun 19 2019, 7:09 PM
epriestley added a comment to D20592: Don't handle JIRA/Asana URIs with anchors or query parameters in a special way (with Doorkeeper).

It's meaningfully more work, but the bigger thing stopping me is that I'm not sure what the best display behavior is.

Jun 19 2019, 6:53 PM
epriestley added inline comments to D20593: Don't count "Cc: x@y.com" as a legitimate recipient if the user who has "x@y.com" attached to their account has not verified the address.
Jun 19 2019, 6:22 PM
epriestley added a comment to T4411: Adding a CC to a Maniphest Task should give View rights for that user.

See also T13317.

Jun 19 2019, 6:20 PM · Wikimedia, Policy
epriestley requested review of D20593: Don't count "Cc: x@y.com" as a legitimate recipient if the user who has "x@y.com" attached to their account has not verified the address.
Jun 19 2019, 6:17 PM
epriestley added a revision to T13317: Unverified/nonsense account emails can trigger inbound CCs (was: Inbound support pact email sometimes CCs disabled user `@maxhodges` in Phacility): D20593: Don't count "Cc: x@y.com" as a legitimate recipient if the user who has "x@y.com" attached to their account has not verified the address.
Jun 19 2019, 6:15 PM · Mail, Phacility
epriestley requested review of D20592: Don't handle JIRA/Asana URIs with anchors or query parameters in a special way (with Doorkeeper).
Jun 19 2019, 5:48 PM
epriestley added a revision to T13291: Implement a "{src ...}" rule in Remarkup for referencing source files in Diffusion: D20592: Don't handle JIRA/Asana URIs with anchors or query parameters in a special way (with Doorkeeper).
Jun 19 2019, 5:46 PM · Remarkup, Diffusion
epriestley committed rP9f44ee393343: Use "link.getAttribute('href')", not "link.href", to bypass dark browser magic (authored by epriestley).
Use "link.getAttribute('href')", not "link.href", to bypass dark browser magic
Jun 19 2019, 5:45 PM
epriestley closed D20590: Use "link.getAttribute('href')", not "link.href", to bypass dark browser magic.
Jun 19 2019, 5:45 PM
epriestley added a revision to T13291: Implement a "{src ...}" rule in Remarkup for referencing source files in Diffusion: D20591: Don't handle JIRA/Asana URIs with anchors or query parameters in a special way (with Doorkeeper).
Jun 19 2019, 5:44 PM · Remarkup, Diffusion
epriestley added a comment to T13291: Implement a "{src ...}" rule in Remarkup for referencing source files in Diffusion.

See PHI1312. The modified JIRA rules reportedly misfire on URIs with anchors or parameters. For now, the plan is to just skip these URIs. In the future, we might specialize URIs which (for example) link to comments on foreign objects.

Jun 19 2019, 5:33 PM · Remarkup, Diffusion
epriestley closed T9720: Provide a way to link to Diffusion files, a subtask of T5378: Phabricator full task URLs for that instance do not provide hover/popup text (like T1234 does), as Resolved.
Jun 19 2019, 5:32 PM · Customer Impact, Restricted Project, Restricted Project, Hovercards, Remarkup, Wikimedia
epriestley added a comment to T9720: Provide a way to link to Diffusion files.

I'm going to close this in favor of T13291. Referencing files by full URI currently works, and relative references and other behavior is planned.

Jun 19 2019, 5:32 PM · Restricted Project, Remarkup
epriestley closed T9720: Provide a way to link to Diffusion files, a subtask of T13291: Implement a "{src ...}" rule in Remarkup for referencing source files in Diffusion, as Resolved.
Jun 19 2019, 5:32 PM · Remarkup, Diffusion
epriestley added a parent task for T9720: Provide a way to link to Diffusion files: T13291: Implement a "{src ...}" rule in Remarkup for referencing source files in Diffusion.
Jun 19 2019, 5:31 PM · Restricted Project, Remarkup
epriestley added a subtask for T13291: Implement a "{src ...}" rule in Remarkup for referencing source files in Diffusion: T9720: Provide a way to link to Diffusion files.
Jun 19 2019, 5:31 PM · Remarkup, Diffusion
epriestley added a comment to T13305: Migration "20180208.maniphest.02.populate.php" may fail when queueing indexing tasks.

Getting rid of the indirect writes on handle reads would probably be nice eventually, but doesn't directly accomplish anything today.

Jun 19 2019, 5:30 PM · Installing & Upgrading, Database
epriestley added a comment to T13303: There is an extra or missing "array_reverse()" somewhere after recent transaction strength sorting changes.

I think that might be everything? Not entirely sure, but haven't seen any more since the last deploy.

Jun 19 2019, 5:29 PM · Transactions
epriestley added a task to D20587: Fix more "msort()" vs "msortv()" callsites: T13303: There is an extra or missing "array_reverse()" somewhere after recent transaction strength sorting changes.
Jun 19 2019, 5:29 PM
epriestley added a revision to T13303: There is an extra or missing "array_reverse()" somewhere after recent transaction strength sorting changes: D20587: Fix more "msort()" vs "msortv()" callsites.
Jun 19 2019, 5:29 PM · Transactions
epriestley requested review of D20590: Use "link.getAttribute('href')", not "link.href", to bypass dark browser magic.
Jun 19 2019, 5:26 PM
epriestley added a revision to T13302: When a user clicks a link in a dialog: we close the dialog; but might prefer to transition it away with the navigation event under Quicksand so "Back" can reopen it: D20590: Use "link.getAttribute('href')", not "link.href", to bypass dark browser magic.
Jun 19 2019, 5:24 PM · Quicksand
epriestley added a comment to T13302: When a user clicks a link in a dialog: we close the dialog; but might prefer to transition it away with the navigation event under Quicksand so "Back" can reopen it.

D20573 has one issue where the "Select" buttons in the "Merge Duplicates In" dialog are now closing the dialog. We might be missing a JX.pass() / e.prevent() (hopefully) or might need to get slightly more creative in distinguishing between navigation links and javascript magic links.

Jun 19 2019, 2:51 PM · Quicksand

Jun 18 2019

epriestley added a comment to D20568: Parse remarkup tables with something like a real parser instead of regular expressions.

Yeah, there's a lot of very ambiguous behavior here in the face of ambiguous inputs. I think we're probably not walking into too much of a minefield, but I'm not confident I picked the best behavior for all malformed/suspicious inputs.

Jun 18 2019, 11:30 PM
epriestley closed T13308: Phacility account import flow can misfire when both invites and account links are present as Resolved by committing Restricted Diffusion Commit.
Jun 18 2019, 10:49 PM · Phacility