Skip to content

fix(server): stop showing commit/push/PR notices as errors in the work log - #5559

Merged
t3dotgg merged 1 commit into
mainfrom
t3code/fix-claude-status-errors
Aug 7, 2026
Merged

fix(server): stop showing commit/push/PR notices as errors in the work log#5559
t3dotgg merged 1 commit into
mainfrom
t3code/fix-claude-status-errors

Conversation

@t3dotgg

@t3dotgg t3dotgg commented Aug 7, 2026

Copy link
Copy Markdown
Member

Newer Claude Code builds emit two undeclared system message subtypes — vcs_state_changed (fires on commit/push/rebase) and code_change_published (fires when a PR is opened). They aren't in the SDK's typed union yet, so the ClaudeAdapter's unknown-subtype fallback turned every one of them into a runtime.warning, which the work log renders as a red ✗ error row. On this machine alone the logs show 100+ of these fake errors, one for nearly every commit, push, and PR an agent makes.

These are purely informational notices and the work log already shows the underlying git/gh tool calls, so they're now consumed silently alongside background_tasks_changed in the existing undeclared-wire-subtype guard. Added both to the no-warning-rows adapter test.


Change made by Claude Fable 5 via Claude Code.

🤖 Generated with Claude Code


Note

Low Risk
Narrow adapter change that only suppresses display of two informational SDK subtypes; no auth, data, or API behavior changes.

Overview
Stops commit/push/PR CLI notices from showing as red error rows in the work log when newer Claude Code builds emit undeclared system subtypes that are not in the SDK union.

ClaudeAdapter extends the existing undeclared-wire-subtype guard (alongside background_tasks_changed) to return early for vcs_state_changed and code_change_published instead of hitting the unknown-subtype path that emits runtime.warning. Those messages are informational only; git/gh tool activity is already represented elsewhere.

Tests add sample payloads for both subtypes to the adapter case that asserts silent consumption with no spurious warning rows.

Reviewed by Cursor Bugbot for commit d6aa52d. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Suppress vcs_state_changed and code_change_published system messages from the work log

In ClaudeAdapter.ts, a single early-return for background_tasks_changed is replaced with a switch statement that also silently consumes vcs_state_changed and code_change_published subtypes. This prevents commit, push, and PR notifications from surfacing as errors in the work log.

Macroscope summarized d6aa52d.

…ed as error rows

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: d092580d-3006-4a11-837c-518e8b1ffbad

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Aug 7, 2026
@macroscopeapp

macroscopeapp Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved d6aa52d

Simple bug fix extending an existing message filter to suppress two additional informational message types from appearing as errors. The change is minimal, well-tested, and the intent is clear from both the PR title and code comments.

You can customize Macroscope's approvability policy. Learn more.

@t3dotgg
t3dotgg merged commit 0ec4fbc into main Aug 7, 2026
17 checks passed
@t3dotgg
t3dotgg deleted the t3code/fix-claude-status-errors branch August 7, 2026 00:52
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Aug 7, 2026
## What's Changed
* fix(server): skip origin fetch when creating worktrees in repos without an origin remote by @t3dotgg in pingdotgg/t3code#5556
* fix(web): update tooltip no longer dismisses when scrolling release notes by @t3dotgg in pingdotgg/t3code#5547
* fix(server): stop showing commit/push/PR notices as errors in the work log by @t3dotgg in pingdotgg/t3code#5559
* fix(web): show remote environment for non-Git projects by @t3dotgg in pingdotgg/t3code#5555
* fix(server): stopping a Claude thread no longer shows an ede_diagnostic error by @t3dotgg in pingdotgg/t3code#5557
* fix(web): show one toast when snoozing threads in bulk by @t3dotgg in pingdotgg/t3code#5560


**Full Changelog**: pingdotgg/t3code@v0.0.32-nightly.20260806.1018...v0.0.32-nightly.20260807.1019

Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.32-nightly.20260807.1019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant