fix: suppress NO_REPLY in sub-agent announce flow#27535
Closed
kevinWangSheng wants to merge 3 commits intoopenclaw:mainfrom
Closed
fix: suppress NO_REPLY in sub-agent announce flow#27535kevinWangSheng wants to merge 3 commits intoopenclaw:mainfrom
kevinWangSheng wants to merge 3 commits intoopenclaw:mainfrom
Conversation
added 3 commits
February 26, 2026 05:01
Chokidar v5+ no longer supports glob patterns directly. This fix: - Uses glob library to expand patterns to actual file paths - Watches parent directories for add/unlink events - Filters to only SKILL.md files using ignored option Fixes openclaw#27404
Some OpenAI-compatible providers (e.g., yunwu-openai) return both input_tokens/output_tokens (both 0) and prompt_tokens/completion_tokens (with actual values). The previous code prioritized input_tokens, resulting in 0 token counts being recorded. This fix adds a helper that prefers non-zero values, falling back to the alternate field if the primary is 0. Fixes openclaw#27509
When a sub-agent returns NO_REPLY, the announce flow was not suppressing it, causing garbage messages like 'NO' and '✅ Done.' to leak into Slack channels. This fix adds isSilentReplyText check alongside isAnnounceSkip to properly suppress NO_REPLY in sub-agent announce flow. Fixes openclaw#27531
Contributor
Greptile SummaryThis PR bundles three separate bug fixes across different subsystems:
All code changes are functionally correct and follow existing patterns. The NO_REPLY fix correctly uses the well-tested Confidence Score: 4/5
Last reviewed commit: f0a66ac |
| "dotenv": "^17.3.1", | ||
| "express": "^5.2.1", | ||
| "file-type": "^21.3.0", | ||
| "glob": "^13.0.6", |
Contributor
There was a problem hiding this comment.
check that glob dependency is actually used - no imports found in this PR despite commit message 48c38c2 describing implementation details
Prompt To Fix With AI
This is a comment left during a code review.
Path: package.json
Line: 175
Comment:
check that `glob` dependency is actually used - no imports found in this PR despite commit message 48c38c2 describing implementation details
How can I resolve this? If you propose a fix, please make it concise.
steipete
added a commit
that referenced
this pull request
Feb 26, 2026
Landed follow-up for #27535 and aligned shared-auth gateway expectations after #27498. Co-authored-by: kevinWangSheng <[email protected]>
Contributor
|
Landed on main. Landed as a minimal rewritten follow-up via commit 96aad96 on main (to avoid stacked unrelated changes). Thanks @kevinWangSheng. |
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 27, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]>
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 27, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]> (cherry picked from commit 4850148)
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 27, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]> (cherry picked from commit 4850148)
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 27, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]> (cherry picked from commit 4850148)
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 27, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]> (cherry picked from commit 4850148)
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 27, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]> (cherry picked from commit 4850148)
execute008
pushed a commit
to execute008/openclaw
that referenced
this pull request
Feb 27, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]>
r4jiv007
pushed a commit
to r4jiv007/openclaw
that referenced
this pull request
Feb 28, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]>
mylukin
pushed a commit
to mylukin/openclaw
that referenced
this pull request
Feb 28, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]>
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 28, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]> (cherry picked from commit 4850148)
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 28, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]> (cherry picked from commit 4850148)
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 28, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]> (cherry picked from commit 4850148)
wanjizheng
pushed a commit
to wanjizheng/openclaw
that referenced
this pull request
Feb 28, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]> (cherry picked from commit 4850148)
vincentkoc
pushed a commit
to Sid-Qin/openclaw
that referenced
this pull request
Feb 28, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]>
vincentkoc
pushed a commit
to rylena/rylen-openclaw
that referenced
this pull request
Feb 28, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]>
hughdidit
pushed a commit
to hughdidit/DAISy-Agency
that referenced
this pull request
Mar 1, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]> (cherry picked from commit 96aad96) # Conflicts: # src/agents/subagent-announce.ts # src/gateway/server.auth.test.ts
steipete
added a commit
to Sid-Qin/openclaw
that referenced
this pull request
Mar 2, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]>
robertchang-ga
pushed a commit
to robertchang-ga/openclaw
that referenced
this pull request
Mar 2, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]>
hughdidit
pushed a commit
to hughdidit/DAISy-Agency
that referenced
this pull request
Mar 3, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]> (cherry picked from commit 96aad96) # Conflicts: # src/agents/subagent-announce.ts # src/gateway/server.auth.test.ts
dorgonman
pushed a commit
to kanohorizonia/openclaw
that referenced
this pull request
Mar 3, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]>
zooqueen
pushed a commit
to hanzoai/bot
that referenced
this pull request
Mar 6, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]>
thebenjaminlee
pushed a commit
to escape-velocity-ventures/openclaw
that referenced
this pull request
Mar 7, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]>
alexey-pelykh
pushed a commit
to remoteclaw/remoteclaw
that referenced
this pull request
Mar 12, 2026
Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]> (cherry picked from commit 96aad96)
alexey-pelykh
added a commit
to remoteclaw/remoteclaw
that referenced
this pull request
Mar 12, 2026
) Landed follow-up for openclaw#27535 and aligned shared-auth gateway expectations after openclaw#27498. Co-authored-by: kevinWangSheng <[email protected]> (cherry picked from commit 96aad96) Co-authored-by: Peter Steinberger <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
When a sub-agent returns NO_REPLY, the announce flow was not suppressing it, causing garbage messages like 'NO' and '✅ Done.' to leak into Slack channels.
Fix
This fix adds check alongside to properly suppress NO_REPLY in sub-agent announce flow.
Related Issue
Fixes #27531