Downgrading accepts and rejects (changing "Accepted" into "Accepted Older") uses raw edge transactions.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Mar 20 2017
The Herald case and the next case (newAutoReviewTransaction()) both have some code duplication around prefiltering reviewers before building transactions for them.
We don't plan to take any other upstream actions here, but let us know if anyone has further questions.
Mar 16 2017
(You could also pipe the list into bin/remove destroy --force, equivalently.)
You can re-run the migration explicitly with:
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.
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.
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 15 2017
We have SAAS customer interest in this too, now.
Mar 14 2017
@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 13 2017
Old-school resigns, accepts, and rejects are still using edges directly (can we get rid of these completely?).
These pathways are still dodging ModularTransactions and thus not getting double writes after D17495:
Any ideas on how we can move forward with this?
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 9 2017
In T5029#210026, @bcooksley wrote:
Mar 8 2017
Cool, this would be great!
Mar 6 2017
I think that's right, yes.
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 4 2017
Mar 1 2017
ah poop worth a shot.
D17425 doesn't change my thinking here.
@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".
Feb 27 2017
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.
(They could also go into the existing "Waiting on Review" bucket, but I dislike mixing authored and non-authored revisions in that bucket.)
The actual reproduction instructions are slightly more involved:
@jmeador, I believe this is now resolved at HEAD. Let us know if you're still seeing issues after upgrading?
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 26 2017
Sorry, yes I am bad cop sometimes. :(
@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.
Here's the downstream task: https://phabricator.kde.org/T5406
Note that these steps depend on who is viewing the page (or, specifically, who "Responsible Users" are). More concise steps are likely:
T9372 is the main "Differential Buckets" task.
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.
Yes, sticky-accept is True.
Is sticky-accept still set to true then? (I think that's the default).
I've now added reproduction steps, including details on customised settings for the Differential application.
Well that's my mistake then! I didn't see it initially.
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.
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.
In T12323#213451, @chad wrote:We need version information on all bug reports.
This report is against Differential.
You also mention "raised the concern". Is this report against Audit or Differential?
We need version information on all bug reports.
Feb 21 2017
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?
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.
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.
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 19 2017
Feb 18 2017
I think we mostly managed to get installs through this.
Feb 17 2017
As far as "opt-in", are you mostly concerned about performance?
As far as "opt-in", are you mostly concerned about performance?
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 15 2017
This sounds like a great improvement for the use cases that I am interested in! Thanks!
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".
This task has meandered a bit, but the current behavior is this:
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: