mbox series

[RFC,0/3] Preparatory work for sstate cache log replay

Message ID 20261024-mathieu-debug-replay-v4-v1-0-3f7f52a3b8e6@bootlin.com
Headers show
Series Preparatory work for sstate cache log replay | expand

Message

Mathieu Dubois-Briand Oct. 24, 2026, 12:33 p.m. UTC
The sstate cache mechanism currently has a blind spot: log messages shown
while a task first runs are not replayed when the task output comes back
from the cache. This is particularly true for warnings, which are
effectively hidden unless the task is rebuilt.

This bitbake series provides the needed support, storing each task's log
to a file that the openembedded-core series can later retrieve.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
---
Mathieu Dubois-Briand (3):
      utils: Extend LogCatcher to record raw messages and levels
      build: Attach a log catcher to tasks and save their records
      runqueue: Hand each covered task's log to a single setscene task

 bin/bitbake-worker    |  1 +
 lib/bb/build.py       | 13 +++++++++++++
 lib/bb/runqueue.py    |  9 +++++++++
 lib/bb/tests/utils.py | 42 ++++++++++++++++++++++++++++++++++++++++++
 lib/bb/utils.py       |  4 +++-
 5 files changed, 68 insertions(+), 1 deletion(-)
---
base-commit: 1763256342ae4d7f8028e8222400c6fc8c24d4a3
change-id: 20261023-mathieu-debug-replay-v4-6594f3ecad25

Best regards,