Repository navigation
feat(berth): drive the herdr desktop app through hc as a second backend - #131
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
berth gains a second adapter,
herdr-app, which drives the herdr desktop app's backend, herdr-core, throughhc. A berth is an hc terminal and its id is the terminal id. The full port contract suite runs against it as a flake check, against a throwaway herdr-core in the sandbox.Without
BERTH_BACKEND, berth now takes the backend from the calling pane.HC_TERMINAL_IDselects the app andHERDR_PANE_IDselects herdr. A caller with both or neither is refused, and the design's environment section says so.What a reviewer should know:
send-textholds the text until the nextsend-key Enter, which submits it in one paste. The contract suite gains a way for a run to declare a case its backend cannot meet yet. The app's run declares that unsent text does not show on screen, and the case fails once it holds.core.lock.