Skip to content

feat: firmware-lite backend — reboot / time / logs over SSH (Slice A) #40

Open
keyldev wants to merge 2 commits into
mainfrom
feat/firmware-lite
Open

feat: firmware-lite backend — reboot / time / logs over SSH (Slice A) #40
keyldev wants to merge 2 commits into
mainfrom
feat/firmware-lite

Conversation

@keyldev

@keyldev keyldev commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator
  • IFirmwareMaintenanceService (Core) + FirmwareMaintenanceService (Devices)
    over the existing ISshSessionFactory, one short session per op
  • pure FirmwareCommands: busybox date-set format, NTP-server guard (anti-inject),
    capped log reads (syslog/dmesg/majestic); Core unit tests
  • reboot is best-effort (session drops as the device restarts)

Summary

Related

Type

  • Bug fix
  • Feature
  • Refactor / cleanup
  • Docs / CI
  • Other:

Checklist

  • Builds with 0 warnings (TreatWarningsAsErrors=true).
  • Tests pass (dotnet test); new Core logic has unit tests.
  • No layering violation — App references Core only (Infrastructure / Video / Devices wired via DI in a head).
  • Scope stays within one phase (didn't pull work from a later phase's "Не входит").
  • README / docs updated if public commands, options, or setup changed.

Platforms tested

  • Windows
  • Linux
  • macOS
  • Android
  • iOS
  • CI build only

Screenshots / notes

keyldev added 2 commits June 29, 2026 21:33
- IFirmwareMaintenanceService (Core) + FirmwareMaintenanceService (Devices)
  over the existing ISshSessionFactory, one short session per op
- pure FirmwareCommands: busybox date-set format, NTP-server guard (anti-inject),
  capped log reads (syslog/dmesg/majestic); Core unit tests
- reboot is best-effort (session drops as the device restarts)
- FirmwareDialog (modal window + mobile overlay): device clock (read /
  set-from-PC / NTP sync), log snapshots (syslog/dmesg/majestic), guarded reboot
- opened from a new "Device" button on each library row; no-SSH-creds state
- single-flight busy guard; reboot confirms via IDialogService; ru/en strings
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