Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework #14

Merged
merged 28 commits into from
Apr 30, 2019
Merged

Rework #14

merged 28 commits into from
Apr 30, 2019

Conversation

machour
Copy link
Member

@machour machour commented Apr 26, 2019

@machour machour requested a review from zhuravljov April 26, 2019 01:35
@machour machour added the status:code review The pull request needs review. label Apr 26, 2019
Copy link
Member Author

@machour machour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need some help to finish this one.

composer.json Outdated Show resolved Hide resolved

return $this->queue->handleError(ExecEvent::before($id, $job, $ttr, $attempt, $error));
return $this->queue->handleError(ExecEvent::error($id, $job, $ttr, $attempt, $error));
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong, error() takes an Event as first and only parameter.

@zhuravljov something went horribly wrong with ErrorEvent removal, and that leads to "retry" tests failing.
I'm having a little trouble debugging this as this is all happening in child processes.. could you have a look please? 🙏

@@ -60,17 +60,6 @@ services:
depends_on: *php_depends_on
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need docker setups? Travis seems to be handling what's left of the drivers everything pretty well.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe for local tests...

@machour
Copy link
Member Author

machour commented Apr 29, 2019

@samdark could you do a quick review and merge this if it looks good enough?

Keeping this PR up to date is going to be a nightmare with all the namespace changes currently taking place.

UPGRADE.md Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
src/Drivers/Db/Queue.php Show resolved Hide resolved
@@ -60,17 +60,6 @@ services:
depends_on: *php_depends_on
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe for local tests...

@samdark
Copy link
Member

samdark commented Apr 30, 2019

Looks good enough to me. @machour

@machour machour merged commit 23ca113 into yiisoft:master Apr 30, 2019
@machour machour deleted the rework branch April 30, 2019 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:code review The pull request needs review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants