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
Limit requeues #82
Limit requeues #82
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The logic mostly looks right to me, although I'm not super-familiar with the hub codebase anymore. I just have one question about the new helper method to add a log message to the logs, see in-line comment.
if aggregated_at | ||
update_column(:content, [content, msg].join("\n")) | ||
else | ||
Part.create!(log_id: id, content: msg, final: true) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
0ce76ac
to
9ab2123
Compare
d38b2cd
to
faa447b
Compare
faa447b
to
8ee54f6
Compare
83a7a3d
to
d3eb750
Compare
9e84212
to
c9d8932
Compare
c9d8932
to
e459e0d
Compare
e459e0d
to
905cc8d
Compare
Tested this on staging with reduced limits for testing. It errored the job, and made the
I guess However, it didn't set the request body to
|
end | ||
|
||
def update_log | ||
logs.update(id, LOGS[:resets_support]) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
905cc8d
to
8a8304b
Compare
8a8304b
to
a75aeb9
Compare
a75aeb9
to
74ee8f5
Compare
This seems to work, see https://github.com/travis-pro/team-teal/issues/1284#issuecomment-249155077 |
This is a draft.
This errors the job after 50 resets and 6 hours after the first reset ("requeue").
/cc @henrikhodne wdyt, any thoughts?