Files
adk-python/contributing/samples
Rohit Yanamadala 3ec7ae3b8d fix: ignore adk-bot administrative actions in stale agent
Merge https://github.com/google/adk-python/pull/4041

## Description
This PR fixes false positive stale labels in the `adk_stale_agent`.

Previously, the agent was incorrectly identifying the issue as "stale" because it treated `adk-bot` (acting via PAT) as a human maintainer. Since the username lacks the `[bot]` suffix, administrative alerts (e.g., "Notification: The author has updated...") were counted as maintainer activity, inadvertently triggering the stale logic immediately after an author's edit.

## Changes Made
- **Hardcoded Bot Exclusion:** Added `BOT_NAME = "adk-bot"` and updated history parsing loops (comments, edits, timeline) to explicitly ignore this actor.
- **Bot Alert Skip:** Added logic to `continue` (skip) processing the bot's specific "Notification" comment so it is not recorded as the last activity on the timeline.

Co-authored-by: Xuan Yang <xygoogle@google.com>
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/4041 from ryanaiagent:fix/stale-bot-logic f1500a94cb8c9d5090e9b1ef29690506120f7749
PiperOrigin-RevId: 852365962
2026-01-05 10:45:58 -08:00
..
2025-11-03 13:33:53 -08:00
2025-11-03 13:33:53 -08:00
2025-11-03 13:33:53 -08:00
2025-11-03 13:33:53 -08:00
2025-11-03 13:33:53 -08:00
2025-11-03 13:33:53 -08:00
2025-11-07 11:32:32 -08:00
2025-11-03 13:33:53 -08:00
2025-10-07 21:16:07 -07:00
2025-11-03 13:33:53 -08:00
2025-11-03 13:33:53 -08:00
2025-11-04 15:48:21 -08:00
2025-11-18 10:26:15 -08:00
2025-11-03 13:33:53 -08:00
2025-06-03 18:20:10 -07:00