From a43112e832137847533f882d689a41a7034a1796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Andreatta?= Date: Fri, 24 Apr 2026 18:57:35 +0200 Subject: [PATCH 01/13] [IMP] various: implement sandbox log filtering and fix repo date logic Add a token-efficient log filtering mechanism for the AI sandbox to suppress noisy HTTP logs and strip redundant metadata. This improves AI context clarity and reduces token usage. Also, fix RepositoriesSection.get_date to return a default epoch for new versions to ensure the initial pull logic works correctly. Assisted-by: gemini-3-flash --- odev/common/commands/odoobin.py | 39 ++------------------- odev/common/config.py | 2 +- odev/common/odoobin.py | 60 +++++++++++++++++++++++++++++++++ odev/common/python.py | 6 ++++ 4 files changed, 69 insertions(+), 38 deletions(-) diff --git a/odev/common/commands/odoobin.py b/odev/common/commands/odoobin.py index 4b2256e4..33ed2898 100644 --- a/odev/common/commands/odoobin.py +++ b/odev/common/commands/odoobin.py @@ -83,41 +83,6 @@ class OdoobinCommand(LocalDatabaseCommand, ABC): # Properties # -------------------------------------------------------------------------- - ODOO_LOG_REGEX: re.Pattern = re.compile( - r""" - (?: - ((?P\d{4}-\d{2}-\d{2})\s)? - (?P