Skip to content

EMRY-005: DeployMode detection (Rust) #6

Closed

Description

@vxfemboy

DeployMode: embedded | sidecar | file

Precedence: API > EMRY_MODE env > auto-detect.

Auto-detect:

  • SSH_CONNECTION or SLURM_JOB_ID → sidecar
  • stdout is TTY → embedded
  • else → file

Tasks

  • mode.rs + unit tests with env mocking
  • Document env vars: EMRY_MODE, EMRY_LIVE, EMRY_SOCKET, EMRY_LOG_DIR

Acceptance

  • Table-driven tests for all branches

Depends on: EMRY-001
Estimate: 4h

Activity

  1. added this to the M0 — Foundation milestone on Jun 24, 2026
  2. added
    P1-core
    emry-core
    rust
    hpc
    on Jun 24, 2026
  3. vxfemboy commented on Jun 25, 2026

    @vxfemboy
    MemberAuthor

    Completed and merged in PR #53.

  4. moved this from Backlog to Done in emryon Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1-coreemry-corehpcrust

    Type

    No type

    Projects

    • Status
      Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions