Page MenuHomePhabricator
Feed Advanced Search

Mar 20 2017

epriestley added a revision to T10967: Move Differential reviewers back to a dedicated database storage table: Restricted Differential Revision.
Mar 20 2017, 4:37 PM · Restricted Project, Infrastructure, Differential
epriestley added a comment to T10967: Move Differential reviewers back to a dedicated database storage table.

Downgrading accepts and rejects (changing "Accepted" into "Accepted Older") uses raw edge transactions.

Mar 20 2017, 4:23 PM · Restricted Project, Infrastructure, Differential
epriestley added a revision to T10967: Move Differential reviewers back to a dedicated database storage table: Restricted Differential Revision.
Mar 20 2017, 4:16 PM · Restricted Project, Infrastructure, Differential
epriestley added a comment to T10967: Move Differential reviewers back to a dedicated database storage table.

The Herald case and the next case (newAutoReviewTransaction()) both have some code duplication around prefiltering reviewers before building transactions for them.

Mar 20 2017, 4:12 PM · Restricted Project, Infrastructure, Differential
epriestley added a revision to T10967: Move Differential reviewers back to a dedicated database storage table: Restricted Differential Revision.
Mar 20 2017, 3:47 PM · Restricted Project, Infrastructure, Differential
epriestley closed T12408: Security: "Show Raw File" in Differential generated files with overbroad permissions as Resolved.

We don't plan to take any other upstream actions here, but let us know if anyone has further questions.

Mar 20 2017, 2:16 PM · Differential, Files, Security

Mar 16 2017

epriestley added a comment to T12408: Security: "Show Raw File" in Differential generated files with overbroad permissions.

(You could also pipe the list into bin/remove destroy --force, equivalently.)

Mar 16 2017, 8:22 PM · Differential, Files, Security
epriestley added a comment to T12408: Security: "Show Raw File" in Differential generated files with overbroad permissions.

You can re-run the migration explicitly with:

Mar 16 2017, 8:22 PM · Differential, Files, Security
cspeckmim added a comment to T12408: Security: "Show Raw File" in Differential generated files with overbroad permissions.

We ran the script provided above to get an audit of at-risk files. Afterwards we upgraded our instance and the upgrade succeeded however its attempts to delete the affected files failed. The failure is due to using a local file store which is accessible to our web service account but not the phabricator phd services account (T4752). After correcting the file permissions so both accounts have appropriate access, running upgrade again doesn't seem to remove the files.

Mar 16 2017, 8:11 PM · Differential, Files, Security
epriestley added a comment to T12408: Security: "Show Raw File" in Differential generated files with overbroad permissions.

It is likely that the vulnerable code predates significant portions of the Files and permissions systems, and was just overlooked as these other systems upgraded and gained more powerful policy and permissions capabilities.

Mar 16 2017, 5:35 PM · Differential, Files, Security
epriestley added a comment to T12408: Security: "Show Raw File" in Differential generated files with overbroad permissions.

The fix is now available on master (rP7626ec0c) and stable (rP6f879559). I've upgraded this install without incident. Per above, note that upgrading destroys evidence, so you should plan any audit or response actions you want to take before upgrading.

Mar 16 2017, 5:17 PM · Differential, Files, Security
epriestley added a revision to T12408: Security: "Show Raw File" in Differential generated files with overbroad permissions: Restricted Differential Revision.
Mar 16 2017, 4:55 PM · Differential, Files, Security
epriestley created T12408: Security: "Show Raw File" in Differential generated files with overbroad permissions.
Mar 16 2017, 4:51 PM · Differential, Files, Security

Mar 15 2017

epriestley added a project to T12177: Provide time-to-review statistics and reporting in Facts: Phacility.

We have SAAS customer interest in this too, now.

Mar 15 2017, 4:11 PM · Customer Impact, Differential, Restricted Project, Facts, Feature Request

Mar 14 2017

avivey renamed T3626: Detection of language for some file types isn't good from Detection of language for "Makefile" isn't good to Detection of language for some file types isn't good.
Mar 14 2017, 8:56 PM · Customer Impact, Restricted Project, Differential
kfsone added a comment to T4678: Support changelist-based SVN workflows in Arcanist and Differential.

@epriestley I'm in the process of setting up phabricator to help mature the development workflow based on svn here, and make future transitions to git/perforce easier. Changelists would be a natural path here but the workaround for our use case is to just manually specify paths, but it's annoying if you have a locally modified file that you accidentally include in a diff, since you *have* to revert it to remove it from the diff. Using a changelist would let you avoid making the mistake in the first place.

Mar 14 2017, 6:47 PM · Subversion, Arcanist, Differential

Mar 13 2017

epriestley added a comment to T10967: Move Differential reviewers back to a dedicated database storage table.

Old-school resigns, accepts, and rejects are still using edges directly (can we get rid of these completely?).

Mar 13 2017, 8:12 PM · Restricted Project, Infrastructure, Differential
epriestley added a comment to T10967: Move Differential reviewers back to a dedicated database storage table.

These pathways are still dodging ModularTransactions and thus not getting double writes after D17495:

Mar 13 2017, 7:58 PM · Restricted Project, Infrastructure, Differential
epriestley added a revision to T10967: Move Differential reviewers back to a dedicated database storage table: Restricted Differential Revision.
Mar 13 2017, 7:15 PM · Restricted Project, Infrastructure, Differential
epriestley added a comment to T12390: `differential.querydiffs` is timing out for a revision with 20 diffs.

Any ideas on how we can move forward with this?

Mar 13 2017, 4:12 PM · Conduit, Differential, Bug Report
joshuaspence added a comment to T12390: `differential.querydiffs` is timing out for a revision with 20 diffs.

Mar 13 2017, 3:15 AM · Conduit, Differential, Bug Report
joshuaspence added a comment to T12390: `differential.querydiffs` is timing out for a revision with 20 diffs.

OK weird, I can't reproduce it anymore. Anyway, I'll add the response body from differential.querydiffs here. It shouldn't contain any sensitive information, but I'll restrict the visibility of the file given that it does contain email addresses.

Mar 13 2017, 3:11 AM · Conduit, Differential, Bug Report
joshuaspence created T12390: `differential.querydiffs` is timing out for a revision with 20 diffs.
Mar 13 2017, 3:03 AM · Conduit, Differential, Bug Report

Mar 9 2017

RJVB added a comment to T5029: Fill in missing context for low-context diffs against tracked repositories.
Mar 9 2017, 10:10 AM · KDE, Restricted Project, Diffusion, Differential
jboning added a project to T12371: Support `viewerprojects()` and implement `viewerpackages()` for "Auditors" in Diffusion: Restricted Project.
Mar 9 2017, 1:15 AM · Restricted Project, Audit, Differential

Mar 8 2017

jboning added a comment to T12371: Support `viewerprojects()` and implement `viewerpackages()` for "Auditors" in Diffusion.

Cool, this would be great!

Mar 8 2017, 11:09 PM · Restricted Project, Audit, Differential
epriestley updated the task description for T12371: Support `viewerprojects()` and implement `viewerpackages()` for "Auditors" in Diffusion.
Mar 8 2017, 10:57 PM · Restricted Project, Audit, Differential
epriestley updated the task description for T12371: Support `viewerprojects()` and implement `viewerpackages()` for "Auditors" in Diffusion.
Mar 8 2017, 10:57 PM · Restricted Project, Audit, Differential
epriestley created T12371: Support `viewerprojects()` and implement `viewerpackages()` for "Auditors" in Diffusion.
Mar 8 2017, 10:56 PM · Restricted Project, Audit, Differential
epriestley merged T12368: better support for "raw" patches, in particular corresponding to uncommitted changes? into T5029: Fill in missing context for low-context diffs against tracked repositories.
Mar 8 2017, 6:36 PM · KDE, Restricted Project, Diffusion, Differential

Mar 6 2017

alexmv updated the task description for T12085: Upgrading: Changes to Differential Custom Fields in Commit Messages.
Mar 6 2017, 7:23 PM · Installing & Upgrading, Differential
epriestley added a comment to T12085: Upgrading: Changes to Differential Custom Fields in Commit Messages.

I think that's right, yes.

Mar 6 2017, 5:28 PM · Installing & Upgrading, Differential
alexmv added a comment to T12085: Upgrading: Changes to Differential Custom Fields in Commit Messages.

The table in the description references a getConduitFieldKey method – which I can't find reference to ever existing in the source. Was that supposed to be getFieldKeyForConduit?

Mar 6 2017, 7:15 AM · Installing & Upgrading, Differential

Mar 4 2017

epriestley merged T12350: Add support for "Plan Changes" as a condition for Differential Revision in Herald into T2543: Add a formal "Draft" / "Not Yet Ready for Review" state to Differential.
Mar 4 2017, 11:10 AM · Customer Impact, Restricted Project, Restricted Project, Prioritized, Differential

Mar 1 2017

jcarrillo7 added a comment to T12235: Differential wrongly says I "Must Review" reviews rejected by group.

ah poop worth a shot.

Mar 1 2017, 12:35 AM · Differential, Bug Report
epriestley added a comment to T12235: Differential wrongly says I "Must Review" reviews rejected by group.

D17425 doesn't change my thinking here.

Mar 1 2017, 12:33 AM · Differential, Bug Report
jcarrillo7 added a comment to T12235: Differential wrongly says I "Must Review" reviews rejected by group.

@epriestley Since you added a new "Waiting on other reviewers" bucket (D17425) is it possible to have that bucket cover this case as well? I believe that bucket makes a lot more sense for this case as well then the current "Must Review".

Mar 1 2017, 12:27 AM · Differential, Bug Report

Feb 27 2017

epriestley closed T12319: Investigate an Owners-related performance issue on revision detail pages as Resolved.

Calling this resolved since the page is now tolerably bad (~5s) which more or less pulls this out of the realm of critical scaling issues.

Feb 27 2017, 9:46 PM · Owners, Differential, Performance
epriestley added a revision to T12319: Investigate an Owners-related performance issue on revision detail pages: Restricted Differential Revision.
Feb 27 2017, 8:11 PM · Owners, Differential, Performance
epriestley closed T12323: Revisions show in Other Revisions when acceptance status is unclear as Resolved by committing Restricted Diffusion Commit.
Feb 27 2017, 6:47 PM · KDE, Differential, Bug Report
epriestley added a comment to T12323: Revisions show in Other Revisions when acceptance status is unclear.

(They could also go into the existing "Waiting on Review" bucket, but I dislike mixing authored and non-authored revisions in that bucket.)

Feb 27 2017, 6:18 PM · KDE, Differential, Bug Report
epriestley added a revision to T12323: Revisions show in Other Revisions when acceptance status is unclear: Restricted Differential Revision.
Feb 27 2017, 6:17 PM · KDE, Differential, Bug Report
epriestley added a comment to T12323: Revisions show in Other Revisions when acceptance status is unclear.

The actual reproduction instructions are slightly more involved:

Feb 27 2017, 6:14 PM · KDE, Differential, Bug Report
epriestley added a comment to T12319: Investigate an Owners-related performance issue on revision detail pages.

@jmeador, I believe this is now resolved at HEAD. Let us know if you're still seeing issues after upgrading?

Feb 27 2017, 5:13 PM · Owners, Differential, Performance
epriestley added a revision to T12319: Investigate an Owners-related performance issue on revision detail pages: Restricted Differential Revision.
Feb 27 2017, 4:05 PM · Owners, Differential, Performance
epriestley added a comment to T12319: Investigate an Owners-related performance issue on revision detail pages.

After implementing PHP7 support for XHProf and updating Lipsum, I used bin/lipsum to generate 4,000 packages owning 150,000 paths. I think I have an approximately-reasonable reproduction case locally now, which generates this profile (6.5s for a change affecting about 100 files):

Feb 27 2017, 3:47 PM · Owners, Differential, Performance
epriestley added a revision to T12319: Investigate an Owners-related performance issue on revision detail pages: Restricted Differential Revision.
Feb 27 2017, 3:39 PM · Owners, Differential, Performance
epriestley added a revision to T12319: Investigate an Owners-related performance issue on revision detail pages: Restricted Differential Revision.
Feb 27 2017, 1:18 PM · Owners, Differential, Performance
epriestley added a revision to T12319: Investigate an Owners-related performance issue on revision detail pages: Restricted Differential Revision.
Feb 27 2017, 1:14 PM · Owners, Differential, Performance
epriestley added a revision to T12319: Investigate an Owners-related performance issue on revision detail pages: Restricted Differential Revision.
Feb 27 2017, 12:20 PM · Owners, Differential, Performance
epriestley added a revision to T12319: Investigate an Owners-related performance issue on revision detail pages: Restricted Differential Revision.
Feb 27 2017, 12:06 PM · Owners, Differential, Performance

Feb 26 2017

chad added a comment to T12323: Revisions show in Other Revisions when acceptance status is unclear.

Sorry, yes I am bad cop sometimes. :(

Feb 26 2017, 11:01 PM · KDE, Differential, Bug Report
epriestley added a comment to T12323: Revisions show in Other Revisions when acceptance status is unclear.

@bcooksley, feel free to mention that you've talked with me about stuff when filing tasks in the future. Like 90% of what shows up here spontaneously is pretty questionable, so unannounced reports get fairly strict scrutiny.

Feb 26 2017, 11:00 PM · KDE, Differential, Bug Report
epriestley added a project to T12323: Revisions show in Other Revisions when acceptance status is unclear: KDE.

Here's the downstream task: https://phabricator.kde.org/T5406

Feb 26 2017, 10:58 PM · KDE, Differential, Bug Report
epriestley added a comment to T12323: Revisions show in Other Revisions when acceptance status is unclear.

Note that these steps depend on who is viewing the page (or, specifically, who "Responsible Users" are). More concise steps are likely:

Feb 26 2017, 10:58 PM · KDE, Differential, Bug Report
chad added a comment to T12323: Revisions show in Other Revisions when acceptance status is unclear.

T9372 is the main "Differential Buckets" task.

Feb 26 2017, 10:28 PM · KDE, Differential, Bug Report
chad updated subscribers of T12323: Revisions show in Other Revisions when acceptance status is unclear.

My assumption reading through docs and tasks is that "Other" means... well, other. It's been both accepted and rejected and I think it's important to convey it's not completely in one or the other state. If you set sticky-accept to false, then it will always go back for review. Maybe @epriestley has other thoughts. I would swear this came up recently though, but I can't find an absolute duplicate task.

Feb 26 2017, 10:26 PM · KDE, Differential, Bug Report
bcooksley added a comment to T12323: Revisions show in Other Revisions when acceptance status is unclear.

Yes, sticky-accept is True.

Feb 26 2017, 10:21 PM · KDE, Differential, Bug Report
chad added a comment to T12323: Revisions show in Other Revisions when acceptance status is unclear.

Is sticky-accept still set to true then? (I think that's the default).

Feb 26 2017, 10:19 PM · KDE, Differential, Bug Report
bcooksley added a comment to T12323: Revisions show in Other Revisions when acceptance status is unclear.

I've now added reproduction steps, including details on customised settings for the Differential application.

Feb 26 2017, 10:17 PM · KDE, Differential, Bug Report
bcooksley updated the task description for T12323: Revisions show in Other Revisions when acceptance status is unclear.
Feb 26 2017, 10:16 PM · KDE, Differential, Bug Report
chad added a comment to T12323: Revisions show in Other Revisions when acceptance status is unclear.

Well that's my mistake then! I didn't see it initially.

Feb 26 2017, 10:10 PM · KDE, Differential, Bug Report
bcooksley updated the task description for T12323: Revisions show in Other Revisions when acceptance status is unclear.
Feb 26 2017, 10:10 PM · KDE, Differential, Bug Report
bcooksley added a comment to T12323: Revisions show in Other Revisions when acceptance status is unclear.

Sorry, you'll need to provide more detail on what's wrong than repeating your comment. I added the version information to the Task Description.

Feb 26 2017, 10:07 PM · KDE, Differential, Bug Report
chad added a comment to T12323: Revisions show in Other Revisions when acceptance status is unclear.

Also, we need steps to reproduce. the issue locally. There are setting that affect where revisions go after acceptance. I don't know what your install has those set to.

Feb 26 2017, 10:06 PM · KDE, Differential, Bug Report
chad added a comment to T12323: Revisions show in Other Revisions when acceptance status is unclear.
In T12323#213451, @chad wrote:

We need version information on all bug reports.

Feb 26 2017, 10:04 PM · KDE, Differential, Bug Report
bcooksley added a comment to T12323: Revisions show in Other Revisions when acceptance status is unclear.

This report is against Differential.

Feb 26 2017, 10:00 PM · KDE, Differential, Bug Report
bcooksley updated the task description for T12323: Revisions show in Other Revisions when acceptance status is unclear.
Feb 26 2017, 9:59 PM · KDE, Differential, Bug Report
chad added a comment to T12323: Revisions show in Other Revisions when acceptance status is unclear.

You also mention "raised the concern". Is this report against Audit or Differential?

Feb 26 2017, 9:56 PM · KDE, Differential, Bug Report
chad added a comment to T12323: Revisions show in Other Revisions when acceptance status is unclear.

We need version information on all bug reports.

Feb 26 2017, 9:55 PM · KDE, Differential, Bug Report
bcooksley created T12323: Revisions show in Other Revisions when acceptance status is unclear.
Feb 26 2017, 9:23 PM · KDE, Differential, Bug Report
epriestley updated subscribers of T12319: Investigate an Owners-related performance issue on revision detail pages.
Feb 26 2017, 3:29 PM · Owners, Differential, Performance
epriestley created T12319: Investigate an Owners-related performance issue on revision detail pages.
Feb 26 2017, 3:29 PM · Owners, Differential, Performance

Feb 21 2017

cspeckmim added a comment to T11708: Daemons erroneously saying "Diff does not exist".

I don't believe we've seen this pop up again. I can't be certain because right now all the log files are empty, but that means the errors went away?

Feb 21 2017, 5:26 AM · Daemons, Differential, Bug Report
epriestley added a comment to T12115: ApplicationTransactionPublishWorker can retry indefinitely, sending email as a side effect, if a transaction takes more than 2 hours to publish.

T11708 has almost nothing to do with this, but the fix for this will rewrite the code that's running into issues and probably moot them.

Feb 21 2017, 12:31 AM · Restricted Project, Daemons, Differential, Transactions
epriestley merged task T11708: Daemons erroneously saying "Diff does not exist" into T12115: ApplicationTransactionPublishWorker can retry indefinitely, sending email as a side effect, if a transaction takes more than 2 hours to publish.
Feb 21 2017, 12:30 AM · Daemons, Differential, Bug Report
epriestley merged T11708: Daemons erroneously saying "Diff does not exist" into T12115: ApplicationTransactionPublishWorker can retry indefinitely, sending email as a side effect, if a transaction takes more than 2 hours to publish.
Feb 21 2017, 12:30 AM · Restricted Project, Daemons, Differential, Transactions
epriestley added a comment to T11708: Daemons erroneously saying "Diff does not exist".

I'm just going to merge this into T12115, which isn't really related, but will rewrite this code and probably "fix" this, since a reproduction case seems elusive.

Feb 21 2017, 12:30 AM · Daemons, Differential, Bug Report
epriestley closed T9855: DifferentialChangesSinceLastUpdateField may fail policy checks and prevent mail from sending as Resolved.

I think it is likely that this was resolved by D17123. If it wasn't, we don't have a reproduction case anyway so we can't move forward. I'm going to call this one dead until more information turns up.

Feb 21 2017, 12:13 AM · Daemons, Differential

Feb 19 2017

larryzhao closed Q569: Got `ERR-CONDUIT-CALL: API Method "differential.creatediff" does not define these parameters: 'arcanistProject'.` as resolved.
Feb 19 2017, 12:34 PM · Differential, Arcanist
larryzhao updated the question details for Q569: Got `ERR-CONDUIT-CALL: API Method "differential.creatediff" does not define these parameters: 'arcanistProject'.`.
Feb 19 2017, 8:21 AM · Differential, Arcanist
larryzhao updated Q569: Got `ERR-CONDUIT-CALL: API Method "differential.creatediff" does not define these parameters: 'arcanistProject'.` from to Got `ERR-CONDUIT-CALL: API Method "differential.creatediff" does not define these parameters: 'arcanistProject'.`.
Feb 19 2017, 8:20 AM · Differential, Arcanist

Feb 18 2017

chad changed the visibility for T555: Hyperlink from comments summaries to inline comments in the non-current revision.
Feb 18 2017, 7:52 PM · Differential
epriestley closed T12085: Upgrading: Changes to Differential Custom Fields in Commit Messages as Resolved.

I think we mostly managed to get installs through this.

Feb 18 2017, 2:30 AM · Installing & Upgrading, Differential
epriestley closed T8623: Upgrading: Differential Hunk Migration as Resolved.

This has now been live for a while without anyone hitting real issues other than the minor hiccup in T12090. T8475 is an eventual followup.

Feb 18 2017, 2:27 AM · Installing & Upgrading, Differential, Guides

Feb 17 2017

lvital updated subscribers of T12272: Allow users to accept on behalf of packages they control a containing package for.
Feb 17 2017, 7:52 PM · Owners, Audit, Restricted Project, Differential
lvital added a comment to T12272: Allow users to accept on behalf of packages they control a containing package for.

As far as "opt-in", are you mostly concerned about performance?

Feb 17 2017, 6:46 PM · Owners, Audit, Restricted Project, Differential
epriestley added a comment to T12272: Allow users to accept on behalf of packages they control a containing package for.

As far as "opt-in", are you mostly concerned about performance?

Feb 17 2017, 6:14 PM · Owners, Audit, Restricted Project, Differential
lvital added a comment to T12272: Allow users to accept on behalf of packages they control a containing package for.
NOTE: Since packages do not own paths exclusively, any user can create a package on / of every repository and be allowed to force-accept every package review because their "everything" package is now a containing package for all other packages. However, they could already just remove the reviewers, so I don't think this is important. We could add options to Owners (e.g., an optional whitelist of "Stronger" packages) or something to prevent this, but I don't plan to do this. Just fire anyone abusing it.
Feb 17 2017, 5:57 PM · Owners, Audit, Restricted Project, Differential

Feb 15 2017

epriestley merged T12274: Find/filter inline comments that are not "Done" into T8909: Provide ability to hide all inline or done comments.
Feb 15 2017, 10:35 PM · Inline Comments, Prioritized, Restricted Project, Restricted Project, Differential, FreeBSD
epriestley merged task T12274: Find/filter inline comments that are not "Done" into T8909: Provide ability to hide all inline or done comments.
Feb 15 2017, 10:35 PM · Differential, Feature Request
jeffprouty created T12274: Find/filter inline comments that are not "Done".
Feb 15 2017, 10:31 PM · Differential, Feature Request
a300600st added a comment to T11050: Allow resigning from a review you are not directly responsible for.

This sounds like a great improvement for the use cases that I am interested in! Thanks!

Feb 15 2017, 9:37 PM · Prioritized, Restricted Project, Differential, Feature Request
epriestley added a comment to T11050: Allow resigning from a review you are not directly responsible for.

Worth mentioning is that you can query for exact(username) to get a dashboard for only individual reviews, but this is a partial solution; there's no way to get a dashboard for "all my stuff, except stuff I've explicitly said I don't care about".

Feb 15 2017, 9:31 PM · Prioritized, Restricted Project, Differential, Feature Request
epriestley added a comment to T11050: Allow resigning from a review you are not directly responsible for.

This task has meandered a bit, but the current behavior is this:

Feb 15 2017, 9:30 PM · Prioritized, Restricted Project, Differential, Feature Request
epriestley added a project to T12272: Allow users to accept on behalf of packages they control a containing package for: Owners.
Feb 15 2017, 9:02 PM · Owners, Audit, Restricted Project, Differential
epriestley created T12272: Allow users to accept on behalf of packages they control a containing package for.
Feb 15 2017, 9:02 PM · Owners, Audit, Restricted Project, Differential
epriestley created T12271: When users accept a revision, allow them to accept for a subset of package/project reviewers they could accept for.
Feb 15 2017, 8:32 PM · Audit, Restricted Project, Differential
epriestley closed T11114: Move Differential to EditEngine as Resolved.

I think we've ended up in a fairly stable place here, and remaining work generally has existing tasks motivating it in terms of features (like T10967 for reviewers, T10574 for acceptance rules, T2543 for revision states, various tasks for inlines, T9713 for commit message parsing). Obsoleted transaction types also need migrations (but they should happen alongside the migrations that other features require so we're minimizing the number of weeks with migrations that need special planning) and this dumb mess got left in PhabricatorModularTransaction.php and will probably be there for an uncomfortably long time:

Feb 15 2017, 1:23 AM · Prioritized, Restricted Project, Infrastructure, EditEngine, Differential

Feb 13 2017

epriestley created T12257: Add an "author email" field to the "Differential Diff" Herald rule.
Feb 13 2017, 8:42 PM · KDE, Herald, Differential