Skip to content

Remove always-online synchronization mode - #1260

Open
floitsch wants to merge 3 commits into
floitsch/build-artemis-service.s-new.170from
floitsch/build-artemis-service.s-new.180
Open

Remove always-online synchronization mode#1260
floitsch wants to merge 3 commits into
floitsch/build-artemis-service.s-new.170from
floitsch/build-artemis-service.s-new.180

Conversation

@floitsch

@floitsch floitsch commented Aug 28, 2026

Copy link
Copy Markdown
Member

Summary

  • reject non-positive max-offline values in pod specifications and transient CLI updates
  • default omitted and old missing values to five minutes
  • disconnect after successful synchronization instead of continuously polling
  • update the schema, examples, documentation, and tests

Testing

  • toit analyze src/service/service.toit src/cli/cli.toit
  • toit analyze --project-root tests tests/parse-pod-specification-test.toit tests/cmd-max-offline-test.toit tests/cmd-device-container2-test-slow.toit tests/cmd-device-extract-test.toit
  • toit run --project-root tests tests/parse-pod-specification-test.toit

The local CTest configuration does not contain SDK/envelope paths, so the full configured test variants are left to CI.

@floitsch
floitsch force-pushed the floitsch/build-artemis-service.s-new.180 branch 6 times, most recently from 81a3508 to cee88b1 Compare August 28, 2026 14:27
@floitsch
floitsch force-pushed the floitsch/build-artemis-service.s-new.180 branch from cee88b1 to a7b4aaf Compare August 28, 2026 16:48
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