From 8ce290a8ab801a505cc03effeeabcb4530451941 Mon Sep 17 00:00:00 2001 From: Roxanne Farhad Date: Mon, 1 Dec 2025 09:58:08 -0500 Subject: [PATCH] testing the fix --- .github/workflows/build-and-push-tutorial-agent.yml | 5 +++-- examples/tutorials/00_sync/000_hello_acp/project/acp.py | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-push-tutorial-agent.yml b/.github/workflows/build-and-push-tutorial-agent.yml index 7d305470a..ab99f9d56 100644 --- a/.github/workflows/build-and-push-tutorial-agent.yml +++ b/.github/workflows/build-and-push-tutorial-agent.yml @@ -76,7 +76,8 @@ jobs: BASE_BRANCH="origin/${{ github.base_ref }}" echo "Comparing against PR base branch: $BASE_BRANCH" else - BASE_BRANCH="HEAD~1" + # For pushes to main, compare against the first parent (pre-merge state) + BASE_BRANCH="HEAD^1" echo "Comparing against previous commit: $BASE_BRANCH" fi @@ -190,7 +191,7 @@ jobs: echo "🚀 Building and pushing agent: ${{ matrix.agent_path }}" else SHOULD_PUSH=false - VERSION_TAG="${{ github.commit.sha }}" + VERSION_TAG="${{ github.sha }}" echo "🔍 Validating build for agent: ${{ matrix.agent_path }}" fi diff --git a/examples/tutorials/00_sync/000_hello_acp/project/acp.py b/examples/tutorials/00_sync/000_hello_acp/project/acp.py index 4837ec4f6..ee268a707 100644 --- a/examples/tutorials/00_sync/000_hello_acp/project/acp.py +++ b/examples/tutorials/00_sync/000_hello_acp/project/acp.py @@ -21,7 +21,6 @@ async def handle_message_send( ) -> Union[TaskMessageContent, AsyncGenerator[TaskMessageUpdate, None]]: """Default message handler with streaming support""" # Extract content safely from the message - logger.info("msg", params) message_text = "" if hasattr(params.content, "content"): content_val = getattr(params.content, "content", "")