From 93e9dfdc7d9d263e0e47b5a6e916309d760e49b9 Mon Sep 17 00:00:00 2001 From: Doug Edgar Date: Wed, 3 Sep 2025 17:05:55 -0700 Subject: [PATCH 1/2] fix: auto-detect Console width Signed-off-by: Doug Edgar --- llama_stack/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama_stack/log.py b/llama_stack/log.py index cc4c9d4cf6..d107ec2151 100644 --- a/llama_stack/log.py +++ b/llama_stack/log.py @@ -121,7 +121,7 @@ def strip_rich_markup(text): class CustomRichHandler(RichHandler): def __init__(self, *args, **kwargs): - kwargs["console"] = Console(width=150) + kwargs["console"] = Console() super().__init__(*args, **kwargs) def emit(self, record): From 3ac26777f048455f4f4dbdf325d33d6184f7db34 Mon Sep 17 00:00:00 2001 From: Matthew Farrellee Date: Wed, 17 Sep 2025 13:04:44 -0400 Subject: [PATCH 2/2] set wide columns to avoid line breaks in the log --- .github/workflows/integration-auth-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/integration-auth-tests.yml b/.github/workflows/integration-auth-tests.yml index 6787806e92..238fed6834 100644 --- a/.github/workflows/integration-auth-tests.yml +++ b/.github/workflows/integration-auth-tests.yml @@ -84,6 +84,8 @@ jobs: yq eval '.server.auth.provider_config.jwks.token = "${{ env.TOKEN }}"' -i $run_dir/run.yaml cat $run_dir/run.yaml + # avoid line breaks in the server log, especially because we grep it below. + export COLUMNS=1984 nohup uv run llama stack run $run_dir/run.yaml --image-type venv > server.log 2>&1 & - name: Wait for Llama Stack server to be ready