Repository navigation
feat: add APP_SKIP_CURRENT_CLEANING_AREA command - #1061
Merged
allenporter merged 3 commits intoNov 26, 2026
Merged
Conversation
The Roborock app sends app_skip_current_cleaning_area with {"source": 2} when
the user taps skip during a room clean. Decoded from the Saros 10R (a144) app
plugin; the robot answers ok, and an unknown method gets a different error.
Lash-L
reviewed
Nov 21, 2026
Lash-L
left a comment
Collaborator
There was a problem hiding this comment.
Automated code review by Gemini 4 Neon in Antigravity using our /review (/code-review) skill (.agents/skills/code-review/SKILL.md / AGENTS.md).
Summary
Verdict: Clean and ready to approve. No findings survived adversarial self-check.
Architectural Review (Priority 1 → 3)
- Priority 1 — Public Trait APIs & Consumer Contracts: No public trait API changes.
RoborockCommand.APP_SKIP_CURRENT_CLEANING_AREAis added to the V1 command enum inroborock/roborock_typing.pyfor use viaCommandTrait.send(), matching all siblingRoborockCommandentries. - Priority 2 — Data Lifecycle & State Management: N/A — no state, lifecycle, or concurrency changes.
- Priority 3 — Wire Protocols, Codecs & Resilient Enums: Clean enum addition (
APP_SKIP_CURRENT_CLEANING_AREA = "app_skip_current_cleaning_area") compatible withCommandTrait.send()andParamsType(dictpayload{"source": 2}). - Tests & Scoping: Tightly scoped (2 files, +17/-0), Conventional Commit title/message, and unit test colocated in
tests/devices/traits/v1/test_command.pyfollowing the existingcommand_traitfixture pattern.
RR_API Cross-Verification
Verified against the decompiled Roborock Android app (com.roborock.tanos and hermes/no_package plugins):
- RPC method string: Exact match —
skipCurrentCleaningAreainvokes'app_skip_current_cleaning_area'(module_441.js). - Parameter schema: Confirmed — both app callers (
module_2370.js,module_3176.js) pass{"source": 2}directly as the RPC params object. - Feature flag (informational for future trait work): The app gates the skip UI via
isDynamiclySkipCleanZoneSupported(newFeatureInfoStr.slice(-8)mask33554432/0x2000000inmodule_443.js), which is already mapped inpython-roborockasDeviceFeatures.is_dynamically_skip_clean_zone_supported(roborock/device_features.py). No gating is required on the rawRoborockCommandenum entry itself.
Lash-L
previously requested changes
Nov 21, 2026
Lash-L
left a comment
Collaborator
There was a problem hiding this comment.
Lint is failing and the test can honestly be removed as it's just a mocking test.
Can you fix both?
Lash-L
marked this pull request as draft
November 21, 2026 17:54
Lash-L
marked this pull request as ready for review
November 22, 2026 19:22
allenporter
approved these changes
Nov 26, 2026
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
Adds
RoborockCommand.APP_SKIP_CURRENT_CLEANING_AREA(app_skip_current_cleaning_area).The Roborock app sends this command when the user taps "skip" during a room clean. The robot then leaves the current room and continues with the next room of the task.
Source
roborock.vacuum.a144). The app wrapper isskipCurrentCleaningArea; both callers send{"source": 2}.Tested on a Saros 10R
app_skip_current_cleaning_areawith no params-10007 invalid params(the method is known)app_skip_current_cleaning_area{"source": 2}, robot dockedok, robot stays dockedapp_segment_cleanof two roomsok; the robot left the first room and was cleaning the second room 51 s laterWithout the skip, the same first room took about 8 minutes in an earlier run.
Checks
uv run pytest: 2362 passedruff check roborock tests: cleanmypyon the changed files: clean