What Changed#
Adds two PowerShell failure patterns to the mobile tool-failure heuristic toolDetailTextLooksLikeFailure in apps/mobile/src/lib/threadActivity.ts:
is not recognized as the name of a cmdlet
a parameter cannot be found that matches parameter name
Same substring matches web already makes in apps/web/src/session-logic.ts (#3022).
Why#
The web heuristic gained these two patterns in #3022; the mobile copy at apps/mobile/src/lib/threadActivity.ts never received them. Identical failing PowerShell output therefore renders as a failure row on web but as neutral on mobile. This restores cross-surface parity (web/mobile should classify the same tool output identically).
Fixes https://github.com/pingdotgg/t3code/issues/5724
UI Changes#
N/A — classification-only fix. Affected rows already render the failure affordance on web; this only makes mobile agree. No layout, motion, or visual differences.
Checklist#
Note
Low Risk
Two heuristic substring checks in mobile-only classification logic; no auth, data, or API changes.
Overview
Aligns mobile work-log tool failure detection with web by extending toolDetailTextLooksLikeFailure in threadActivity.ts with two PowerShell error substrings: is not recognized as the name of a cmdlet and a parameter cannot be found that matches parameter name.
Tool rows whose detail/command text matches these patterns are classified as failure instead of neutral, so the same failing PowerShell output shows the failure affordance on mobile as it already does on web (#3022).
Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit e80e92caf78d0d6b6b76bedbe0dfabfc74236faf. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).
Note
Detect PowerShell cmdlet errors as failures in work log rows#
Extends toolDetailTextLooksLikeFailure in threadActivity.ts to recognize two additional PowerShell error phrases: "is not recognized as the name of a cmdlet" and "a parameter cannot be found that matches parameter name". These strings are now treated as failure indicators alongside existing checks.
Macroscope summarized e80e92c.
Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID:
3bd7b7e5-b53b-42de-a615-fd679eefd2c7You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
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