Skip to content

fix(server): stabilize device bootstrap and default dance initializationServer dev#97

Merged
yuanzhihong1 merged 3 commits into
mainfrom
server-dev
Jun 24, 2026
Merged

fix(server): stabilize device bootstrap and default dance initializationServer dev#97
yuanzhihong1 merged 3 commits into
mainfrom
server-dev

Conversation

@yuanzhihong1

Copy link
Copy Markdown
Contributor
  • create missing device records safely with insert-ignore
  • seed default dance data transactionally to avoid duplicate rows
  • restore real default-agent reset behavior with MAC validation
  • bind devices inside a transaction after ensuring the device exists

yuanzhihong1 and others added 3 commits April 28, 2026 14:23
- create missing device records safely with insert-ignore
- seed default dance data transactionally to avoid duplicate rows
- restore real default-agent reset behavior with MAC validation
- bind devices inside a transaction after ensuring the device exists
# Conflicts:
#	server/README.MD
#	server/api/admin/admin.go
#	server/api/appstore/appstore.go
#	server/api/pano/pano.go
#	server/api/stackchandevice/stackchandevice.go
#	server/api/user/user.go
#	server/api/xiaozhi/xiaozhi.go
#	server/go.mod
#	server/go.sum
#	server/internal/cmd/cmd.go
#	server/internal/controller/admin/admin_v1_delete_app.go
#	server/internal/controller/dance/dance_v1_get_list.go
#	server/internal/controller/dance/dance_v2_get_list.go
#	server/internal/controller/device/device_v2_agent_restore_default.go
#	server/internal/controller/device/device_v2_bind_device.go
#	server/internal/service/user.go
#	server/utility/rsa.go
@yuanzhihong1 yuanzhihong1 merged commit 0286f72 into main Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant