Skip to content

Field Sync — Export/Import Between Nomad Instances #137

@spydmobile

Description

@spydmobile

Summary

Enable Nomad instances to export and import model data, supporting the field-use workflow: a user takes a laptop to the field, runs models offline, then syncs those models and results back to the central office Nomad instance when they reconnect to the network.

Motivation

Fire modelers go into the field. They need to run Nomad on a laptop without network access to the office server. When they return and reconnect, their field work needs to flow back to the central instance seamlessly. Without this, field work stays siloed on a laptop and must be manually recreated — wasting time during active fire response when time matters most.

Use Case

  1. Office has a central Nomad server. Everyone uses it daily.
  2. User goes to the field with a laptop running its own Nomad instance (SAN).
  3. User creates and runs models offline in the field.
  4. User returns to the office, laptop reconnects to the network and can see the central Nomad again.
  5. Field models and results sync to the central instance.

Design

Sync Modes

  • Automatic — When the field instance detects the central instance is reachable, it syncs automatically
  • Manual — User explicitly triggers sync via the UI
  • User toggle — Setting to switch between auto and manual sync modes

Central Instance Configuration

  • Central Nomad URL configured in settings or .env
  • Field instance knows where "home" is

Data Flow

  • Sync is push from field to central (field instance pushes its models/results to central)
  • Models are unique (no conflict resolution needed — each model has a unique ID)
  • Sync includes: model configuration, results, weather data, any associated files

Sync Status

  • UI indicator showing sync state (synced / pending / syncing / offline)
  • Log of what was synced and when

Acceptance Criteria

  • Export models and results from one Nomad instance
  • Import models and results into another Nomad instance
  • Auto-sync mode: detects central instance, pushes automatically
  • Manual sync mode: user-triggered push
  • Toggle between auto/manual in settings
  • Central instance URL configurable
  • Sync status indicator in the UI
  • Works for the laptop-to-office field workflow
  • Supports both Nomad and OpenNomad deployments

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions