{"push_id":1042082223,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"4fde4faefea460cdfde04b40bdcd2a1650cd1d50","before":"64b5937a86e2ef21b4cac8634bdbc7374969b2e7","commits":[{"sha":"a8a5966bf6aa76cb137b4b7cda4f3aa2635be991","author":{"email":"2d1e1b620879a2330241034f908c878d89499102@gmail.com","name":"Bartosz Dziewoński"},"message":"uw.controller.Step: Refactor simultaneous transitions\n\nProblems:\n* We assumed that Upload and Details steps are sufficiently alike\n  to use the same code for transitioning from them, but they aren't.\n* The transitionAll() function, while otherwise adequate for Details,\n  would blow up if uploads were removed while the queue was running.\n* The transitionAll() function doesn't allow adding uploads while the\n  queue is already running, which we tried to do in the Upload step.\n  This resulted in the queue starting for every upload, effectively\n  ignoring the maximum simultaneous upload limit.\n\nSolutions:\n* Introduce uw.ConcurrentQueue, which takes care of executing async\n  functions, waiting for them to finish, then executing further ones,\n  while also allowing actions to be added to or removed from the queue\n  at any time and emitting events when things happen.\n* uw.controller.Upload: Don't use transitionAll(), implement separate\n  logic using uw.ConcurrentQueue. Update mw.UploadWizard to match.\n* uw.controller.Details: Rewrite transitionAll() using uw.ConcurrentQueue.\n* Remove the broken common implementation in uw.controller.Step.\n\nBug: T92809\nChange-Id: I32fbd941f5a5dca50c030c3a93889a18537555ef","distinct":true,"url":"https://api.github.com/repos/wikimedia/mediawiki-extensions-UploadWizard/commits/a8a5966bf6aa76cb137b4b7cda4f3aa2635be991"},{"sha":"4fde4faefea460cdfde04b40bdcd2a1650cd1d50","author":{"email":"61a1c7c885f4fc173424af2875d459c32bdc4fee@gerrit.wikimedia.org","name":"jenkins-bot"},"message":"Merge \"uw.controller.Step: Refactor simultaneous transitions\"","distinct":true,"url":"https://api.github.com/repos/wikimedia/mediawiki-extensions-UploadWizard/commits/4fde4faefea460cdfde04b40bdcd2a1650cd1d50"}]}