mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
![]() If the author of a PR has blocked the bot user, commenting on the PR will fail. While comment failure is technically handled in the feedback cron, the cron will simply retry commenting on every run filling the log with useless unactionable garbage. Retrying is the right thing to do in the normal case (e.g. changing tags often has transient failures), but if we figure out we're blocked we might as well just log a warning and drop the comment on the floor, it's unlikely the situation will resolve itself. Couldn't test it, because the block API is a developer preview and I just can't get it to work anyway (404 on /user/blocks even providing the suggested media type). And the way the block is inferred is iffy (based on an error message), the error body doesn't seem to provide any clean / clear cut error code: { "message": "Validation Failed", "errors": [ { "resource": "IssueComment", "code": "unprocessable", "field": "data", "message": "User is blocked" } ], "documentation_url": "https://developer.github.com/v3/issues/comments/#create-a-comment" } No useful headers either. Fixes #127 |
||
---|---|---|
runbot | ||
runbot_cla | ||
runbot_merge | ||
.gitignore | ||
README.md |
Odoo Runbot Repository
This repository contains the source code of Odoo testing bot runbot.odoo.com and related addons.
Runbot
The runbot/
directory holds the main runbot Odoo addon.
Runbot CLA addon
The runbot_cla/
directory contains an Odoo addon that checks CLA.