Page MenuHomePhabricator
Feed Advanced Search

Jun 25 2015

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

Jun 18 2015

epriestley closed T8603: repository.query is not returning required parameter `order` as Resolved by committing Restricted Diffusion Commit.
Jun 18 2015, 8:05 PM · Disqus, Conduit
epriestley added a revision to T8603: repository.query is not returning required parameter `order`: Restricted Differential Revision.
Jun 18 2015, 4:21 PM · Disqus, Conduit
epriestley added a comment to T8603: repository.query is not returning required parameter `order`.

yeah that does not make sense and would cause nothing to work I'm pretty sure

Jun 18 2015, 4:19 PM · Disqus, Conduit
cburroughs added a comment to T8603: repository.query is not returning required parameter `order`.

(Wait I may be crazy.)

Jun 18 2015, 4:17 PM · Disqus, Conduit
cburroughs added a project to T8603: repository.query is not returning required parameter `order`: Disqus.

The client is doing validation of the response including presence of fields and their type.

Jun 18 2015, 4:10 PM · Disqus, Conduit
epriestley added a comment to T8603: repository.query is not returning required parameter `order`.

This parameter is not required, although the hint should probably say "optional order".

Jun 18 2015, 4:00 PM · Disqus, Conduit
cburroughs renamed T8603: repository.query is not returning required parameter `order` from repository.query is not returning required paramter `order` to repository.query is not returning required parameter `order`.
Jun 18 2015, 3:02 PM · Disqus, Conduit
cburroughs created T8603: repository.query is not returning required parameter `order`.
Jun 18 2015, 3:02 PM · Disqus, Conduit

Jun 11 2015

staticshock added a comment to T8503: Feed query may fail to progress while paging on 32-bit systems.

Awesome! Yep, 'type' => 'string' fixed it.

Jun 11 2015, 5:26 PM · Conduit
epriestley closed T8503: Feed query may fail to progress while paging on 32-bit systems as Resolved by committing Restricted Diffusion Commit.
Jun 11 2015, 5:23 PM · Conduit
epriestley added a comment to T8513: `differential.querydiffs` returns array instead of object when lacking permissions.

Ah, interesting. I'm glad to hear it's been working out (although I'm a little surprised!).

Jun 11 2015, 4:52 PM · Conduit
sectioneight added a comment to T8513: `differential.querydiffs` returns array instead of object when lacking permissions.

thanks for the quick replies! internally to uber, arc patch has served us well. we git reset --hard to the base revision, then patch --nocommit --nobranch. it wasn't until we open sourced our jenkins plugin and got this bug report that we even noticed this behavior. i'll follow the task you mentioned and update the jenkins plugin when a more robust solution is available.

Jun 11 2015, 4:49 PM · Conduit
epriestley added a comment to T8503: Feed query may fail to progress while paging on 32-bit systems.

Yell if that doesn't actually fix things once it lands, but I'm pretty confident it's the issue.

Jun 11 2015, 4:46 PM · Conduit
epriestley added a revision to T8503: Feed query may fail to progress while paging on 32-bit systems: Restricted Differential Revision.
Jun 11 2015, 4:45 PM · Conduit
epriestley renamed T8503: Feed query may fail to progress while paging on 32-bit systems from Awarding a token breaks parts of conduit to Feed query may fail to progress while paging on 32-bit systems.
Jun 11 2015, 4:43 PM · Conduit
epriestley added a comment to T8513: `differential.querydiffs` returns array instead of object when lacking permissions.

I'm also not sure how well arc patch handoff has been working for you, but T8090 has some discussion of some more reliable approaches we're evaluating and moving toward.

Jun 11 2015, 4:41 PM · Conduit
epriestley merged task T8513: `differential.querydiffs` returns array instead of object when lacking permissions into T7715: Give `arc` query workflows (arc tasks, arc list) access to ApplicationSearch.
Jun 11 2015, 4:39 PM · Conduit
epriestley added a comment to T8513: `differential.querydiffs` returns array instead of object when lacking permissions.

This is an artifact of the PHP json_encode() method's rules for guessing whether a PHP array is an JSON object or a JSON list.

Jun 11 2015, 4:39 PM · Conduit
sectioneight updated the task description for T8513: `differential.querydiffs` returns array instead of object when lacking permissions.
Jun 11 2015, 3:37 PM · Conduit
sectioneight created T8513: `differential.querydiffs` returns array instead of object when lacking permissions.
Jun 11 2015, 3:34 PM · Conduit
epriestley added a comment to T8503: Feed query may fail to progress while paging on 32-bit systems.

Thanks! 99% sure that's the fix, then: you're on a 32-bit system and the 'int' type can't represent the 64-bit chronologicalKey.

Jun 11 2015, 1:25 PM · Conduit
staticshock added a comment to T8503: Feed query may fail to progress while paging on 32-bit systems.
$ php -r 'echo PHP_INT_MAX;'
2147483647
Jun 11 2015, 1:23 PM · Conduit
epriestley added a comment to T8503: Feed query may fail to progress while paging on 32-bit systems.

It's possible that the paging code is breaking somehow, although I still haven't been able to reproduce this and can't see any way it could. Can you log the value of $cursor passed to getPagingValueMap() each time through the loop? It should look like this:

Jun 11 2015, 1:11 PM · Conduit
staticshock added a comment to T8503: Feed query may fail to progress while paging on 32-bit systems.

Logging each function call, I'm seeing this:

Jun 11 2015, 1:02 AM · Conduit

Jun 10 2015

staticshock added a comment to T8503: Feed query may fail to progress while paging on 32-bit systems.

Not really. But I cobbled something together via the bot, which suggests that this is this stack trace:

Jun 10 2015, 10:09 PM · Conduit
epriestley added a comment to T8503: Feed query may fail to progress while paging on 32-bit systems.

(If you can, set debug.time-limit to 10 and then repro it; it should give you a more useful stack trace.)

Jun 10 2015, 8:07 PM · Conduit
epriestley added a comment to T8503: Feed query may fail to progress while paging on 32-bit systems.

Can you reproduce this by calling feed.query manually from the web UI?

Jun 10 2015, 8:06 PM · Conduit
staticshock created T8503: Feed query may fail to progress while paging on 32-bit systems.
Jun 10 2015, 5:50 PM · Conduit

Jun 7 2015

epriestley added a revision to T7909: Allow ascending order for Conduit's maniphest.query's "order" parameter (order-created, order-modified): Restricted Differential Revision.
Jun 7 2015, 9:15 PM · Conduit

Jun 6 2015

cburroughs created T8457: harbormaster.sendmessage return with invalid type is a bit too terse.
Jun 6 2015, 9:46 PM · Conduit, Harbormaster

Jun 5 2015

joshuaspence updated subscribers of T5873: Update Conduit for ApplicationTransactions, CustomFields and Edges.
Jun 5 2015, 10:42 AM · Haskell.org, Restricted Project, Restricted Project, ApplicationEditor, FreeBSD, Restricted Project, User Delight, Phacility, Custom Fields, Transactions, Conduit
joshuaspence merged task T8435: How to get all commits attached to a task via conduit into T5873: Update Conduit for ApplicationTransactions, CustomFields and Edges.
Jun 5 2015, 10:42 AM · Conduit
tao_qiping created T8435: How to get all commits attached to a task via conduit.
Jun 5 2015, 7:44 AM · Conduit

May 21 2015

avivey added a comment to T550: Build an SSH conduit client.

Just for the records:

May 21 2015, 6:06 PM · Prioritized, Arcanist, Restricted Project, Restricted Project, Conduit

May 20 2015

angie added a project to T5873: Update Conduit for ApplicationTransactions, CustomFields and Edges: Restricted Project.
May 20 2015, 5:13 PM · Haskell.org, Restricted Project, Restricted Project, ApplicationEditor, FreeBSD, Restricted Project, User Delight, Phacility, Custom Fields, Transactions, Conduit
angie added a project to T7304: Add CORS support to Conduit API: Restricted Project.
May 20 2015, 5:06 PM · Restricted Project, Conduit
epriestley closed T8143: Allow creation of Conduit API Tokens for bots as Resolved.

Presuming resolved since I'm pretty sure this works properly.

May 20 2015, 2:21 PM · Conduit

May 15 2015

epriestley added a comment to T550: Build an SSH conduit client.

... on the host

May 15 2015, 12:39 AM · Prioritized, Arcanist, Restricted Project, Restricted Project, Conduit
epriestley added a comment to T550: Build an SSH conduit client.

I'd exec ssh directly. If there's some major advantage to using libssh2 (but what?), I'd possibly use that optionally if it was available on the host.

May 15 2015, 12:37 AM · Prioritized, Arcanist, Restricted Project, Restricted Project, Conduit
avivey added a comment to T550: Build an SSH conduit client.

@epriestley: If/when this is to be supported in arc, do you imagine using php's libssh2, or execing ssh directly?

May 15 2015, 12:33 AM · Prioritized, Arcanist, Restricted Project, Restricted Project, Conduit
epriestley closed T8201: Breaking UserConduitAPIMethod.php error as Resolved.

Should be fixed in HEAD. Thanks for the report!

May 15 2015, 12:24 AM · People, Conduit
epriestley added a revision to T8201: Breaking UserConduitAPIMethod.php error : Restricted Differential Revision.
May 15 2015, 12:24 AM · People, Conduit

May 14 2015

epriestley claimed T8201: Breaking UserConduitAPIMethod.php error .
May 14 2015, 10:42 PM · People, Conduit
chad updated subscribers of T8201: Breaking UserConduitAPIMethod.php error .
May 14 2015, 9:58 PM · People, Conduit
joshuaspence edited projects for T8201: Breaking UserConduitAPIMethod.php error , added: Conduit, People; removed Phabricator.
May 14 2015, 9:56 PM · People, Conduit

May 11 2015

epriestley updated subscribers of T5873: Update Conduit for ApplicationTransactions, CustomFields and Edges.
May 11 2015, 12:30 PM · Haskell.org, Restricted Project, Restricted Project, ApplicationEditor, FreeBSD, Restricted Project, User Delight, Phacility, Custom Fields, Transactions, Conduit
epriestley merged task T8158: How to query diff and task information for commits into T5873: Update Conduit for ApplicationTransactions, CustomFields and Edges.
May 11 2015, 12:30 PM · Conduit
epriestley added a comment to T8158: How to query diff and task information for commits.

This is generally not possible until after T5873.

May 11 2015, 12:29 PM · Conduit
• quinyx_martin created T8158: How to query diff and task information for commits.
May 11 2015, 7:04 AM · Conduit

May 9 2015

epriestley closed T8139: Human readable results are not shown as Resolved by committing Restricted Diffusion Commit.
May 9 2015, 5:05 PM · Mobile, Conduit
epriestley added a revision to T8139: Human readable results are not shown: Restricted Differential Revision.
May 9 2015, 3:53 PM · Mobile, Conduit
epriestley added a comment to T8143: Allow creation of Conduit API Tokens for bots.

The settings page when editing bot users should allow the creation of Conduit API tokens

May 9 2015, 2:49 PM · Conduit
hach-que created T8143: Allow creation of Conduit API Tokens for bots.
May 9 2015, 6:00 AM · Conduit
joshuaspence added a project to T8139: Human readable results are not shown: Mobile.
May 9 2015, 2:00 AM · Mobile, Conduit
epriestley added a comment to T8139: Human readable results are not shown.

These work fine on desktop, just collapsing on mobile for some reason.

May 9 2015, 1:44 AM · Mobile, Conduit
joshuaspence created T8139: Human readable results are not shown.
May 9 2015, 1:37 AM · Mobile, Conduit

May 8 2015

epriestley closed T7775: PhabricatorBot calls deprecated Conduit method "diffusion.getcommits" as Resolved by committing Restricted Diffusion Commit.
May 8 2015, 7:20 PM · Phabot, Conduit
epriestley added a revision to T7775: PhabricatorBot calls deprecated Conduit method "diffusion.getcommits": Restricted Differential Revision.
May 8 2015, 2:58 PM · Phabot, Conduit
epriestley added a revision to T5955: Refactor Conduit auth to be stateless, token-based, and support wire encodings: Restricted Differential Revision.
May 8 2015, 1:35 PM · Restricted Project, Auth, Conduit

May 7 2015

epriestley added a revision to T5955: Refactor Conduit auth to be stateless, token-based, and support wire encodings: Restricted Differential Revision.
May 7 2015, 1:10 PM · Restricted Project, Auth, Conduit

May 6 2015

mbishopim3 added a comment to T5955: Refactor Conduit auth to be stateless, token-based, and support wire encodings.

Yeah that's what we were doing actually, but given our environment and arcanist's checks regarding the file permissions (that it's 600, etc.) it was messy due to shell restrictions and other stuff where our scripts are running. This will be great for build agents posting back Harbormaster statuses.

May 6 2015, 2:23 PM · Restricted Project, Auth, Conduit
epriestley added a comment to T5955: Refactor Conduit auth to be stateless, token-based, and support wire encodings.

As a goofy workaround you can probably write some dummy file

May 6 2015, 2:17 PM · Restricted Project, Auth, Conduit
mbishopim3 added a comment to T5955: Refactor Conduit auth to be stateless, token-based, and support wire encodings.

Great, thanks. It appears that it does still need the certificate in a .arcrc file somewhere, as we removed that file as part of the above test and received the certificate prompt.

May 6 2015, 1:36 PM · Restricted Project, Auth, Conduit
epriestley added a comment to T5955: Refactor Conduit auth to be stateless, token-based, and support wire encodings.

I'd expect it to work on relatively up-to-date Phabricator. You may still need to have some valid-ish ~/.arcrc file, which we might be reading and then ignoring. I'll check that and fix it if it's the case -- we shouldn't require a ~/.arcrc if you specify --conduit-token.

May 6 2015, 1:33 PM · Restricted Project, Auth, Conduit
mbishopim3 added a comment to T5955: Refactor Conduit auth to be stateless, token-based, and support wire encodings.

Is the above commit able to be used or are there a few steps to go? Gave it a quick try and it still wanted my bot user to install a certificate despite providing an API token with the above parameter.

May 6 2015, 12:11 PM · Restricted Project, Auth, Conduit
epriestley merged task T8076: /mailinglists should have a conduit API into Restricted Maniphest Task.
May 6 2015, 2:03 AM · Conduit, Mailing Lists

May 5 2015

epriestley closed T8070: Add Description to returned fields for passphrase.query in Conduit as Resolved by committing Restricted Diffusion Commit.
May 5 2015, 10:59 PM · Conduit, Passphrase
epriestley closed T8071: Conduit crashes when listing destroyed credentials with needSecret=true in passphrase.query as Resolved by committing Restricted Diffusion Commit.
May 5 2015, 10:59 PM · Passphrase, Conduit
eadler created T8076: /mailinglists should have a conduit API.
May 5 2015, 4:53 PM · Conduit, Mailing Lists
epriestley added a revision to T5955: Refactor Conduit auth to be stateless, token-based, and support wire encodings: Restricted Differential Revision.
May 5 2015, 1:33 PM · Restricted Project, Auth, Conduit
epriestley claimed T8071: Conduit crashes when listing destroyed credentials with needSecret=true in passphrase.query.
May 5 2015, 12:40 PM · Passphrase, Conduit
epriestley claimed T8070: Add Description to returned fields for passphrase.query in Conduit.
May 5 2015, 12:40 PM · Conduit, Passphrase
epriestley added a revision to T8070: Add Description to returned fields for passphrase.query in Conduit: Restricted Differential Revision.
May 5 2015, 12:40 PM · Conduit, Passphrase
epriestley added a revision to T8071: Conduit crashes when listing destroyed credentials with needSecret=true in passphrase.query: Restricted Differential Revision.
May 5 2015, 12:40 PM · Passphrase, Conduit
mikn created T8071: Conduit crashes when listing destroyed credentials with needSecret=true in passphrase.query.
May 5 2015, 8:09 AM · Passphrase, Conduit
mikn created T8070: Add Description to returned fields for passphrase.query in Conduit.
May 5 2015, 8:06 AM · Conduit, Passphrase

May 4 2015

epriestley updated subscribers of T5955: Refactor Conduit auth to be stateless, token-based, and support wire encodings.
May 4 2015, 3:12 PM · Restricted Project, Auth, Conduit

Apr 29 2015

epriestley created T7991: Show deprecated Conduit method call warning to users.
Apr 29 2015, 9:09 PM · Conduit

Apr 26 2015

epriestley moved T7944: Add Conduit support to Calendar from Backlog to Future Work (v2+) on the Calendar board.
Apr 26 2015, 1:42 PM · Conduit, Calendar
epriestley created T7944: Add Conduit support to Calendar.
Apr 26 2015, 1:28 PM · Conduit, Calendar
eadler added a comment to T7942: Provide a way to modify project members (and other data) through conduit.

I actually want both of those tasks.

Apr 26 2015, 6:18 AM · Conduit, Projects
epriestley updated subscribers of T5873: Update Conduit for ApplicationTransactions, CustomFields and Edges.
Apr 26 2015, 6:17 AM · Haskell.org, Restricted Project, Restricted Project, ApplicationEditor, FreeBSD, Restricted Project, User Delight, Phacility, Custom Fields, Transactions, Conduit
epriestley merged task T7942: Provide a way to modify project members (and other data) through conduit into T5873: Update Conduit for ApplicationTransactions, CustomFields and Edges.
Apr 26 2015, 6:17 AM · Conduit, Projects
epriestley added a comment to T7942: Provide a way to modify project members (and other data) through conduit.

I'm going to merge this into T5873 (see that task for discussion), but you might really want T3980.

Apr 26 2015, 6:17 AM · Conduit, Projects
eadler created T7942: Provide a way to modify project members (and other data) through conduit.
Apr 26 2015, 6:15 AM · Conduit, Projects
epriestley merged task T5343: Add ability to set a user photo through Conduit into T4104: Implement "suggest profile edit" for recommending profile pictures, phone numbers, etc., to users.
Apr 26 2015, 3:26 AM · People, Conduit

Apr 24 2015

epriestley added a comment to T7909: Allow ascending order for Conduit's maniphest.query's "order" parameter (order-created, order-modified).

For context, it sounds like https://phabricator.wikimedia.org/T96238 is the root issue here, specifically https://phabricator.wikimedia.org/T96238#1234459. In general:

Apr 24 2015, 9:27 PM · Conduit
aklapper added a subtask for T7909: Allow ascending order for Conduit's maniphest.query's "order" parameter (order-created, order-modified): T6864: Sort Queries in Ascending/Descending Order.
Apr 24 2015, 7:20 PM · Conduit
aklapper created T7909: Allow ascending order for Conduit's maniphest.query's "order" parameter (order-created, order-modified).
Apr 24 2015, 7:20 PM · Conduit
epriestley triaged T7903: Conduit differential.query search by branches is broken as Low priority.
Apr 24 2015, 3:38 PM · Restricted Project, Differential, Conduit
epriestley claimed T7903: Conduit differential.query search by branches is broken.

This is a bug in Phabricator.

Apr 24 2015, 3:31 PM · Restricted Project, Differential, Conduit
chad added a comment to T7903: Conduit differential.query search by branches is broken.

Oh, maybe I wasn't clear, sorry! Basically, please update to HEAD and verify you still see a bug. That is all I am asking from you.

Apr 24 2015, 3:22 PM · Restricted Project, Differential, Conduit
mkochkin added a comment to T7903: Conduit differential.query search by branches is broken.

But it works for any older branch that can be found here in any older revision. And it worked for us before migration (I don't know which version was before). And now it doesn't work for us, and it doesn't work here for any recent branch.

Apr 24 2015, 3:20 PM · Restricted Project, Differential, Conduit
chad added a comment to T7903: Conduit differential.query search by branches is broken.

It's exceedingly rare that we have branches in Phabricator. I think I've seen it twice. We just use master.

Apr 24 2015, 3:16 PM · Restricted Project, Differential, Conduit
mkochkin added a comment to T7903: Conduit differential.query search by branches is broken.

@chad, I've just tried to search for herald_queryrules which is a Phabricator branch and no results too. Or please provide me a what you call "a branch on this server/repository" to test, I'll try.

Apr 24 2015, 3:14 PM · Restricted Project, Differential, Conduit
chad added a comment to T7903: Conduit differential.query search by branches is broken.

go-unit-engine isn't a branch on this server/repository, at least, I don't expect it to return a result.

Apr 24 2015, 2:21 PM · Restricted Project, Differential, Conduit
mkochkin created T7903: Conduit differential.query search by branches is broken.
Apr 24 2015, 1:57 PM · Restricted Project, Differential, Conduit

Apr 16 2015

chad merged T7837: Include maniphestTaskPHIDs into differential.query Conduit API method results into T5873: Update Conduit for ApplicationTransactions, CustomFields and Edges.
Apr 16 2015, 1:46 PM · Haskell.org, Restricted Project, Restricted Project, ApplicationEditor, FreeBSD, Restricted Project, User Delight, Phacility, Custom Fields, Transactions, Conduit