Page MenuHomePhabricator
Feed All Stories

Jun 25 2015

epriestley added a comment to T8673: Maniphest Task Edit Edge Transactions should create metadata based on edit type (add or remove) .

If there were a reflexive write of task transaction metadata to some project specific storage, (even some form of non-db log), this would be very useful, and much more elegant and smaller than having to query millions of Facts for the same information.

Jun 25 2015, 1:03 PM · Projects, Maniphest, Wikimedia, Transactions
epriestley added a comment to T8673: Maniphest Task Edit Edge Transactions should create metadata based on edit type (add or remove) .

Maybe I'm still just not understanding what you need. You can get all the data you want today like this, right?

Jun 25 2015, 12:59 PM · Projects, Maniphest, Wikimedia, Transactions
epriestley added a subtask for T8657: Harbormaster v1 Errata: T8670: Harbormaster autoplan targets do not always complete.
Jun 25 2015, 12:53 PM · Harbormaster
epriestley added a parent task for T8670: Harbormaster autoplan targets do not always complete: T8657: Harbormaster v1 Errata.
Jun 25 2015, 12:53 PM · Harbormaster
epriestley moved T8657: Harbormaster v1 Errata from Backlog to v1 on the Harbormaster board.
Jun 25 2015, 12:53 PM · Harbormaster
epriestley updated subscribers of T8670: Harbormaster autoplan targets do not always complete.

@joshuaspence is hitting this reliably. I think this is the root cause:

Jun 25 2015, 12:52 PM · Harbormaster
ChristopherHJohnson added a comment to T8673: Maniphest Task Edit Edge Transactions should create metadata based on edit type (add or remove) .

Can you walk me through how the data is useless? The data is not in a queryable form, but it is complete: it fully captures the state change -- and we use that fact to render strings like "added project x" and "removed project y". To find adds and removes, you perform set differences on the "old value" and "new value". PHIDs only present in one of the two values were added or removed.

Jun 25 2015, 12:52 PM · Projects, Maniphest, Wikimedia, Transactions
epriestley added a comment to T8614: Provide Assistive/Accessible UI options in User Settings.

They're cached: when you update a Postprocessor without touching CSS, that doesn't dirty the caches, so this server still has a cached version of my old colors. It'll fix itself eventually, but I can look at making it smarter.

Jun 25 2015, 12:42 PM · PHUI
lukasz.solarski added a comment to T5578: Add Test Manager Application.

Thanks for the response! I hope this task will help increase the demand for this. I think manual QA will always be a part of software development, as you can't automate everything.

Jun 25 2015, 12:17 PM
epriestley added a comment to T8673: Maniphest Task Edit Edge Transactions should create metadata based on edit type (add or remove) .

But I do not understand the reasoning for having such arcane and basically useless metadata for maniphest transactions.

Jun 25 2015, 12:11 PM · Projects, Maniphest, Wikimedia, Transactions
ChristopherHJohnson added a comment to T8673: Maniphest Task Edit Edge Transactions should create metadata based on edit type (add or remove) .

I think that promoting Facts to address this problem is a red herring. I agree that Facts offers many advantages for offline processing of transactions. But I do not understand the reasoning for having such arcane and basically useless metadata for maniphest transactions. If you are trying to discourage the direct usage of transaction queries for performance reasons, this is also sensible. However, we need more descriptive data about task history that can only be provided with transaction metadata. Why not fix the problem where it exists? If you are reluctant to add more logic into TaskEditController, I understand that as well. This is a class that is desperate for refactoring.

Jun 25 2015, 12:02 PM · Projects, Maniphest, Wikimedia, Transactions
epriestley closed T8673: Maniphest Task Edit Edge Transactions should create metadata based on edit type (add or remove) as Wontfix.

This change isn't useful for the upstream, and isn't the direction we intend to pursue. See discussion here:

Jun 25 2015, 11:47 AM · Projects, Maniphest, Wikimedia, Transactions
epriestley updated subscribers of T5955: Refactor Conduit auth to be stateless, token-based, and support wire encodings.
Jun 25 2015, 11:34 AM · Restricted Project, Auth, Conduit
epriestley merged task T8669: Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE into T5955: Refactor Conduit auth to be stateless, token-based, and support wire encodings.
Jun 25 2015, 11:34 AM · Diffusion, Conduit
epriestley added a comment to T1279: Show per-reviewer status in Differential revision reviewer list.

You can "Edit Revision" and remove the user as a reviewer to override their block (you can move them to CC at the same time to avoid kicking them off the revision entirely). This is a strong action, but overriding their rejection is also strong.

Jun 25 2015, 11:34 AM · Restricted Project, Differential
joshuaspence created T8674: ArcanistClassNameLiteralXHPASTLinterRule can produce incorrect results.
Jun 25 2015, 11:23 AM · Lint
ChristopherHJohnson added projects to T8673: Maniphest Task Edit Edge Transactions should create metadata based on edit type (add or remove) : Maniphest, Projects.
Jun 25 2015, 11:19 AM · Projects, Maniphest, Wikimedia, Transactions
ChristopherHJohnson created T8673: Maniphest Task Edit Edge Transactions should create metadata based on edit type (add or remove) .
Jun 25 2015, 11:18 AM · Projects, Maniphest, Wikimedia, Transactions
shrinidhirao created T8672: PhabricatorTaskmasterDaemon fatals in PublishWorker.
Jun 25 2015, 9:58 AM · Diffusion, Daemons
hach-que added a comment to T8670: Harbormaster autoplan targets do not always complete.

Looks like this has happened on this install a few times as well:

Jun 25 2015, 8:50 AM · Harbormaster
hach-que added a comment to T8671: Support complex resource constraints across multiple resources in Drydock.

I think we also need a field on a lease to indicate that it's not a permanent lease, or it's a caching lease or something of that nature. Basically the host lease that the working copy has for it's cache shouldn't prevent the host resource from being closed if shouldCloseUnleasedResource returns true.

Jun 25 2015, 8:16 AM · Drydock
hach-que created T8671: Support complex resource constraints across multiple resources in Drydock.
Jun 25 2015, 8:12 AM · Drydock
hach-que created T8670: Harbormaster autoplan targets do not always complete.
Jun 25 2015, 7:40 AM · Harbormaster
deadalnix added a comment to T1279: Show per-reviewer status in Differential revision reviewer list.

As part of this task, rPc6add6ae7329efc5f16d278f2c9df66662285205 has been done (a while ago).

Jun 25 2015, 6:59 AM · Restricted Project, Differential
hach-que retitled D13421: Prevent rapid AWS calls being made due to SSH test returning quickly from to Prevent rapid AWS calls being made due to SSH test returning quickly.
Jun 25 2015, 5:46 AM
hach-que retitled D13420: Fix issues with working copies not leasing against correct resources from to Fix issues with working copies not leasing against correct resources.
Jun 25 2015, 5:37 AM
hach-que renamed T8669: Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE from Empty response from Conduit when diffusion.rawdiffquery is called to Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE.
Jun 25 2015, 4:57 AM · Diffusion, Conduit
hach-que added a comment to T8669: Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE.
php -r '$content = file_get_contents("/tmp/diff"); $content = iconv("UTF-8", "UTF-8//IGNORE", $content); echo $content;'  | python -c 'import json,sys; print json.dumps(sys.stdin.read())'
Jun 25 2015, 4:55 AM · Diffusion, Conduit
hach-que added a comment to T8669: Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE.

Yeah, the diff contains invalid UTF8:

Jun 25 2015, 4:52 AM · Diffusion, Conduit
hach-que added a comment to T8669: Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE.

Well, I think we're in a bad position, because this code:

Jun 25 2015, 4:49 AM · Diffusion, Conduit
hach-que added a comment to T8669: Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE.

to line 27 of AphrontJSONResponse (right after it constructs the JSON), shows:

Jun 25 2015, 4:46 AM · Diffusion, Conduit
hach-que added a comment to T8669: Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE.

to line 147 of PhabricatorConduitAPIController shows that the diff content does pass through this line at least once.

Jun 25 2015, 4:43 AM · Diffusion, Conduit
hach-que added a comment to T8669: Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE.

Adding file_put_contents('/tmp/diff3', $result); on line 92 of PhabricatorConduitAPIController.php shows that the result is still correctly stored at this point.

Jun 25 2015, 4:39 AM · Diffusion, Conduit
hach-que added a comment to T8669: Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE.

at line 136 of DiffusionQueryConduitAPIMethod on the storage tier results in the file having the diff content, so the issue must be further on than this.

Jun 25 2015, 4:33 AM · Diffusion, Conduit
hach-que added a comment to T8669: Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE.

When I change line 119 of DiffusionQueryConduitAPIMethod.php to:

Jun 25 2015, 4:25 AM · Diffusion, Conduit
hach-que added a comment to T8669: Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE.

I'm like 95% sure this has something to do with the content of the actual diff returned, like UTF-8 encoding or something like that...

Jun 25 2015, 4:18 AM · Diffusion, Conduit
hach-que added a comment to T8669: Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE.

Something is totally whack with the cluster configuration in the latest HEAD. For some reason, the storage tier is now constructing a Conduit client to code.pageuppeople.com, even though it should just run the command locally. Even worse, the $is_cluster_request variable is set to true, yet it still constructs a new Conduit client.

Jun 25 2015, 4:16 AM · Diffusion, Conduit
hach-que added a comment to T8669: Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE.

For some reason, the storage tier is attempting to forward the request on to another machine inside the cluster (presumably itself?) and is then recursing. This makes no sense given that the code in src/applications/diffusion/conduit/DiffusionQueryConduitAPIMethod.php at line 123 is designed to prevent recursion.

Jun 25 2015, 4:08 AM · Diffusion, Conduit
hach-que added a comment to T8669: Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE.

I ran the query directly against the Conduit API on the storage machine, from my local machine, and it returns an empty response (so it's got nothing to do with the requesting machine):

Jun 25 2015, 3:51 AM · Diffusion, Conduit
hach-que added a comment to T8669: Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE.

I modified diffusion.rawdiffquery to do the following before returning the result:

Jun 25 2015, 3:45 AM · Diffusion, Conduit
hach-que created T8669: Conduit can't transfer diffs that have invalid UTF8 characters, because json_encode returns FALSE.
Jun 25 2015, 3:41 AM · Diffusion, Conduit
hach-que created T8668: The web interface should alert (show a config issue?) when there are fatal errors or exceptions in the daemon log.
Jun 25 2015, 3:18 AM · Config, Daemons
chad updated subscribers of T8614: Provide Assistive/Accessible UI options in User Settings.

@epriestley, the high contrast boxes here are purple, but are not in my sandbox. Can't figure a reason why.

Jun 25 2015, 3:07 AM · PHUI
hach-que created T8667: Don't index Diviner sub-atoms in global search.
Jun 25 2015, 2:06 AM · Diviner
hach-que created T8666: When a task is resolved with "Resolves T123", Phrequent should stop tracking time.
Jun 25 2015, 1:57 AM · Maniphest, Phrequent
hach-que created T8665: AphrontDuplicateKeyQueryException when typing into Maniphest description field.
Jun 25 2015, 1:34 AM · Maniphest
lpriestley added a revision to T8605: Date Picker does not use `Week Starts On` Setting: Unknown Object (Differential Revision).
Jun 25 2015, 12:50 AM · Calendar

Jun 24 2015

naitik added a comment to T8654: arc seems to be broken with curl 7.43.

bugsbugs

Jun 24 2015, 11:55 PM · Arcanist
joshuaspence created T8664: Coverage is reported for all file types.
Jun 24 2015, 11:55 PM · Unit, Arcanist
joshuaspence created T8663: PhpunitTestEngine doesn't support running all tests.
Jun 24 2015, 11:50 PM · Unit, Arcanist
hach-que added a comment to T8659: Allow linking to an external build system from Harbormaster.

There is a URI artifact type, so if you're writing your own custom build step in PHP, you can create a URI artifact that points to the CircleCI plan:

Jun 24 2015, 11:50 PM · Prioritized, Harbormaster
20after4 awarded T4222: Permit Celerity to serve resources in external libphutil modules a Love token.
Jun 24 2015, 11:50 PM · Phabricator, Celerity
epriestley closed T8654: arc seems to be broken with curl 7.43 as Resolved.

Thanks. If this workaround doesn't work for anyone, let me know.

Jun 24 2015, 11:29 PM · Arcanist
• spenczar5 added a comment to T8654: arc seems to be broken with curl 7.43.

Yep, that resolved it for me, @epriestley.

Jun 24 2015, 11:24 PM · Arcanist
epriestley renamed T8650: DifferentialTransactionEditor may race HarbormasterBuildWorker from Error on `arc diff` to HeraldDifferentialRevisionAdapter::newLegacyAdapter() error from `arc diff`.
Jun 24 2015, 11:23 PM · Restricted Project, Harbormaster (v3), Differential
epriestley reopened T8650: DifferentialTransactionEditor may race HarbormasterBuildWorker as "Open".

I just hit this again and am not sure what's causing it.

Jun 24 2015, 11:22 PM · Restricted Project, Harbormaster (v3), Differential
epriestley added a comment to T8654: arc seems to be broken with curl 7.43.

I think that patch fixes this, can someone who has a repro verify that it works for them? You can apply it with arc patch D13417 in libphutil/.

Jun 24 2015, 11:15 PM · Arcanist
epriestley added a revision to T8654: arc seems to be broken with curl 7.43: Unknown Object (Differential Revision).
Jun 24 2015, 11:13 PM · Arcanist
epriestley added a revision to T8654: arc seems to be broken with curl 7.43: Unknown Object (Differential Revision).
Jun 24 2015, 11:12 PM · Arcanist
epriestley added a comment to T8654: arc seems to be broken with curl 7.43.

It looks like this has been reported to the cURL upstream in slightly different form already:

Jun 24 2015, 11:04 PM · Arcanist
• spenczar5 added a comment to T8654: arc seems to be broken with curl 7.43.

I ran into this and dug in a bit. It looked like the data was getting truncated, so I turned on CURLOPT_VERBOSE in HTTPSFuture.php. I noticed that the Content-Length header was getting set to the same value (39, for me) every time curl did an outbound request - even though strlen of the JSON body was something around 200.

Jun 24 2015, 10:43 PM · Arcanist
epriestley added a comment to T8661: Unclear distinction between Herald rule and Owners package.

Yeah, they're functionally identical.

Jun 24 2015, 10:35 PM · Owners, Herald
avivey added a comment to T8661: Unclear distinction between Herald rule and Owners package.

I think this relates to T8644, which relates to the discussion starting T7804#107408.

Jun 24 2015, 10:20 PM · Owners, Herald
avivey renamed T8644: Herald template / recipe book / examples / quick-create tool from Herald template / examples / quick-create tool to Herald template / recipe book / examples / quick-create tool.
Jun 24 2015, 10:06 PM · Restricted Project, Herald
lpriestley added a revision to T8028: Fix PolicyControl defaulting nonsense in every application: Unknown Object (Differential Revision).
Jun 24 2015, 9:52 PM · Calendar
epriestley updated subscribers of T8654: arc seems to be broken with curl 7.43.
Jun 24 2015, 9:26 PM · Arcanist
epriestley merged task T8662: Latest curl 7.43 breaks arcanist<-->phabricator integration. into T8654: arc seems to be broken with curl 7.43.
Jun 24 2015, 9:25 PM · Arcanist
• aravind created T8662: Latest curl 7.43 breaks arcanist<-->phabricator integration..
Jun 24 2015, 9:25 PM · Arcanist
eadler added a project to T8660: Top search bar is not consistent about searching open vs closed document types: FreeBSD.
Jun 24 2015, 9:25 PM · FreeBSD, Search, Restricted Project
slashsBin edited the content of Organizations Using Phabricator.
Jun 24 2015, 9:18 PM
joshuaspence created T8661: Unclear distinction between Herald rule and Owners package.
Jun 24 2015, 9:08 PM · Owners, Herald
jhurwitz created T8660: Top search bar is not consistent about searching open vs closed document types.
Jun 24 2015, 8:32 PM · FreeBSD, Search, Restricted Project
nornagon created T8659: Allow linking to an external build system from Harbormaster.
Jun 24 2015, 7:37 PM · Prioritized, Harbormaster
anton.vladimirov added a comment to T8652: Setting up a staging area shouldn't require Arcanist users to have credentials to access it.

Sure. Is there a task tracking this work so I know what to expect?

Jun 24 2015, 6:33 PM
epriestley created T8657: Harbormaster v1 Errata.
Jun 24 2015, 5:59 PM · Harbormaster
tycho.tatitscheff reopened T6641: Support changing default sort of a workboard as "Open".
Jun 24 2015, 4:15 PM · Projects, Workboards
tycho.tatitscheff merged task T6641: Support changing default sort of a workboard into T8056: Set workboard default filter.
Jun 24 2015, 4:13 PM · Projects, Workboards
tycho.tatitscheff updated subscribers of T8056: Set workboard default filter.
Jun 24 2015, 4:13 PM · Projects
epriestley added a comment to T8656: Parse ANSI-style color strings in build output.

See also T7449.

Jun 24 2015, 3:10 PM · Haskell.org, Restricted Project, Harbormaster
staticshock awarded T5105: Ensure that `ArcanistTextLinter` respects `.editorconfig` settings a Yellow Medal token.
Jun 24 2015, 2:52 PM · Arcanist
robclancy added a comment to T6641: Support changing default sort of a workboard.

Workboards would be a lot more useful if we could do this.

Jun 24 2015, 2:17 PM · Projects, Workboards
marceldegraaf created T8656: Parse ANSI-style color strings in build output.
Jun 24 2015, 2:10 PM · Haskell.org, Restricted Project, Harbormaster
epriestley closed T8377: Build the core "Spaces" Application as Resolved.

Seems like the core is in at least roughly in a good place, now.

Jun 24 2015, 1:21 PM · Spaces, Wikimedia, Policy
epriestley closed T8377: Build the core "Spaces" Application, a subtask of T8376: Develop Spaces (v1), as Resolved.
Jun 24 2015, 1:21 PM · Prioritized, Policy, Wikimedia, Spaces
epriestley added a revision to T8493: Integrate Spaces into more applications: Unknown Object (Differential Revision).
Jun 24 2015, 1:18 PM · Spaces, Wikimedia, Policy, Prioritized
epriestley updated the task description for T8493: Integrate Spaces into more applications.
Jun 24 2015, 1:16 PM · Spaces, Wikimedia, Policy, Prioritized
epriestley created T8655: DrydockLease SearchEngine needs new view wrapper in redesign-2015.
Jun 24 2015, 1:09 PM
epriestley closed T8652: Setting up a staging area shouldn't require Arcanist users to have credentials to access it as Invalid.
IMPORTANT: This feature is new, experimental, and not supported. Use it at your own risk.
Jun 24 2015, 11:29 AM
epriestley raised the priority of T8654: arc seems to be broken with curl 7.43 from High to Needs Triage.
Jun 24 2015, 11:28 AM · Arcanist
neoone added a comment to T8647: Arc Patch does not patch images.

Avivey. The image can be seen in differential, that means there is no problem in server storage.

Jun 24 2015, 10:58 AM · Arcanist
deadalnix created T8654: arc seems to be broken with curl 7.43.
Jun 24 2015, 7:54 AM · Arcanist
hach-que added a comment to T8653: xhpast generation does not work properly under MinGW if the repo has CRLF line endings.

Another option is to add the following to .gitattributes:

Jun 24 2015, 7:30 AM · XHPAST
hach-que created T8653: xhpast generation does not work properly under MinGW if the repo has CRLF line endings.
Jun 24 2015, 7:21 AM · XHPAST
hach-que updated the diff for D13413: Implement leasing working copies based on URLs and repositories.

Remove unrelated changes

Jun 24 2015, 6:25 AM
hach-que added a revision to T2015: Implement Drydock: D13413: Implement leasing working copies based on URLs and repositories.
Jun 24 2015, 6:22 AM · Drydock
hach-que retitled D13413: Implement leasing working copies based on URLs and repositories from to Implement leasing working copies based on URLs and repositories.
Jun 24 2015, 6:22 AM
anton.vladimirov created T8652: Setting up a staging area shouldn't require Arcanist users to have credentials to access it.
Jun 24 2015, 1:30 AM
mattflaschen awarded T4828: Suggest/propose possible duplicates when creating a new task a Like token.
Jun 24 2015, 12:35 AM · Maniphest, Wikimedia
lpriestley added a comment to T8361: Add a "click to see more" link to month view days with more than 15 events..

After you add the phutil_tag for the "View More" link, add a class to it, phui-calendar-month-get-more. Then go to the css file specified on line 63 and add that class to the bottom of that file, with position absolute, height of 18px, padding to line up with the text of the events, and a color of {$lightgreytext}.

Jun 24 2015, 12:21 AM · Calendar
lpriestley reassigned T8361: Add a "click to see more" link to month view days with more than 15 events. from lpriestley to SalmonKiller.

The Calendar application has several different builtin queries that provide different views of Calendar events:

  • Month view
  • Day view
  • Upcoming view
Jun 24 2015, 12:18 AM · Calendar