Skip to content

Commit 0007d9a

Browse files
committed
testing the fix
1 parent bbefa53 commit 0007d9a

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed

.github/workflows/build-and-push-tutorial-agent.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,9 @@ jobs:
7171
7272
echo "### 🔄 Rebuilding All Tutorial Agents" >> $GITHUB_STEP_SUMMARY
7373
else
74-
# Determine the base branch for comparison
75-
if [ "${{ github.event_name }}" = "pull_request" ]; then
76-
BASE_BRANCH="origin/${{ github.base_ref }}"
77-
echo "Comparing against PR base branch: $BASE_BRANCH"
78-
else
79-
BASE_BRANCH="HEAD~1"
80-
echo "Comparing against previous commit: $BASE_BRANCH"
81-
fi
74+
# Always compare against main branch
75+
BASE_BRANCH="origin/main"
76+
echo "Comparing against main branch: $BASE_BRANCH"
8277
8378
# Check each agent directory for changes
8479
for agent_dir in $all_agents; do
@@ -190,17 +185,17 @@ jobs:
190185
echo "🚀 Building and pushing agent: ${{ matrix.agent_path }}"
191186
else
192187
SHOULD_PUSH=false
193-
VERSION_TAG="${{ github.commit.sha }}"
188+
VERSION_TAG="${{ github.sha }}"
194189
echo "🔍 Validating build for agent: ${{ matrix.agent_path }}"
195190
fi
196191
197192
# Build command - add --push only if we should push
198193
BUILD_ARGS="--manifest ${{ matrix.agent_path }}/manifest.yaml --registry ${REGISTRY} --tag ${VERSION_TAG} --platforms linux/amd64 --repository-name ${REPOSITORY_NAME}"
199194
200195
if [ "$SHOULD_PUSH" = "true" ]; then
201-
agentex agents build $BUILD_ARGS --push
196+
agentex agents build "$BUILD_ARGS" --push
202197
echo "✅ Successfully built and pushed: ${REGISTRY}/${REPOSITORY_NAME}:${VERSION_TAG}"
203198
else
204-
agentex agents build $BUILD_ARGS
199+
agentex agents build "$BUILD_ARGS"
205200
echo "✅ Build validation successful for: ${{ matrix.agent_path }}"
206201
fi

examples/tutorials/00_sync/000_hello_acp/project/acp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async def handle_message_send(
2121
) -> Union[TaskMessageContent, AsyncGenerator[TaskMessageUpdate, None]]:
2222
"""Default message handler with streaming support"""
2323
# Extract content safely from the message
24-
logger.info("msg", params)
24+
logger.info("msg 2", params)
2525
message_text = ""
2626
if hasattr(params.content, "content"):
2727
content_val = getattr(params.content, "content", "")

0 commit comments

Comments
 (0)