FlowFuse / FlowFuse/flowfuse

Not clear why target snapshot isn't deployed when Device in Dev Mode.

Open
#2,458 2 comments 0 reactions 0 assignees View on GitHub
area:frontend size:M task
Dominant language
JavaScript
Stars
400
Forks
89
Avg merge
1d 21h
Merged PRs (30d)
146

Description

### Description

23:55 in https://drive.google.com/drive/u/1/folders/16BqImDpCfLv_Li6mX8njwpvFUxgiN5_C

When you make changes on a device in "Developer Mode", then set the flows as the target for the Instance, going to the Instance > Snapshots view will show that 0 devices are running the new snapshot, and that the device in Developer Mode is still running the old snapshot.

The discrepancy here is that, the device still thinks it's running the old snapshot, when the new snapshot is created _on the device_. It being in Developer Mode stops the device auto updating to the new snapshot.

Solutions:
- Do we automatically come out of developer mode when you create a snapshot from a device? At this point, the snapshot at the state of editing on the device are identical.
- Can we flag, at the Instance > Snapshots level, whether devices are in developer mode, as the reason for why devices are caught.

### Epic/Story

_No response_

### Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.