Skip to content

Make Herdr run tabs idempotent - #22

Merged
asselstine merged 2 commits into
mainfrom
fix/herdr-idempotent-runs
Sep 14, 2026
Merged

asselstine merged 2 commits into
mainfrom
fix/herdr-idempotent-runs

Conversation

@asselstine

Copy link
Copy Markdown
Collaborator

Summary

  • use one Herdr workspace per flow and one tab per run
  • reconcile each run tab to exactly one pane on start and recovery
  • reuse the original run directory and lease during recovery
  • record real remote exit codes when the exe.dev proxy omits its exit header
  • use the supported Herdr 0.9 pane commands

Verification

  • npm run check (83 tests)
  • live Herdr: repeated ensure remained one tab/one pane
  • live Herdr: an injected extra pane converged back to one pane
  • live Herdr: a closed workspace was recreated
  • live Herdr: two runs produced two tabs with exactly one pane each

@asselstine
asselstine added this pull request to the merge queue Sep 14, 2026
Merged via the queue into main with commit 3b101b0 Sep 14, 2026
2 checks passed
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