feat: add connected Grinder domain and API (#889) - #896
Open
ODevStudio wants to merge 3 commits into
Open
ODevStudio wants to merge 3 commits into
ODevStudio wants to merge 3 commits into
Conversation
Implement #889 using the existing plugin runtime for BLE and network grinders. Keep runtime identity separate from persisted equipment and verify session-safe controller, REST, and WebSocket behavior.
ODevStudio
marked this pull request as ready for review
September 17, 2026 18:58
This branch has not been deployed
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
GrinderDevicedomain and one selected connected grinder, using the existing plugin session/readiness lifecycle for both BLE-backed and network-created devices.preferredGrinderDeviceIdsettings/backup support.Linked Issue
Fixes #889
Part of #890 (0.9.0 execution tracker): implements P0 release gate 2, the connected Grinder domain/API. The other release gates remain separate work.
Verification
flutter analyze: no issues found.flutter test: 4,333 passed, 1 skipped.git diff --check: clean. Temporary smoke plugin and runtime processes were removed. No physical grinder was required.Impact
/api/v1/grinder/info,/api/v1/grinder/state, state start/stop PUTs, setting/RPM PUTs, and/ws/v1/grinder/snapshot.deviceIdandpreferredGrinderDeviceIdremain separate from persisted Grinder UUIDs and workflowgrinderId. Existing plural/api/v1/grindersCRUD and the persisted Grinder model are unchanged.doc/plans/archive/connected-grinder/design.md; the temporary implementation plan was removed.Contributor Responsibility
AI-assisted development is allowed. The submitter remains responsible for the submitted work. This draft leaves the personal attestation below for the human submitter to confirm.