[FIX] yodoo_apps_website: skip GitHub sources when GitHub is unreachable
Related to https://gitlab.crnd.pro/crnd/odoo-infrastructure/-/merge_requests/533 (clear GitHub 401 error in yodoo_apps_git_source). On the kitworks.systems prod instance the GitHub token has been rejected with 401 since May 2026, and the scheduler kept creating sync tasks that failed (48 per day).
What changed:
-
scheduler_sync_git_sourceschecks the GitHub connection once. On UserError or requests RequestException it writes a single warning and syncs only the non-GitHub sources. -
action_syncreturns adisplay_notification"Synchronization is already running" when the reused running task belongs to another user and is not readable by the current one. Before, this raised AccessError. - Added
tests/test_sync_auth_and_access.py, bumped the module version 18.0.1.5.7 -> 18.0.1.5.8.
How it was checked: locally 0 failed, 0 error(s) of 12 tests; the new tests were confirmed red before the fix; flake8 0 findings, pylint 10.00/10. The CI of this branch is currently red for reasons unrelated to this MR: the CI image has no odoo-helper, while the branch's .gitlab-ci.yml still calls it.
Deliberately not changed: the scheduler keeps a copy of the upstream cron body with a source_type filter. It is marked kw: in the code as known debt. The target is 18.0-yodoo_apps_website because the ct455 assembly takes this branch. The empty branch 18.0-fix-github-auth-sync was not touched.