Repository navigation
Require workspace preparation only for Git-proxy sessions - #19
Merged
Merged
Conversation
Preparation can only succeed when the session's revision routes Git through both enforcing proxies, but admission also required it for direct-Git Mainloop sessions, which made them unusable. Gate store admission and the runtime GetWorkspace assignment on the pinned prepared revision's egress: proxy-mode sessions keep full enforcement, direct-Git sessions are admitted as before. Switching harnesses to the proxies turns enforcement on with no further change. Signed-off-by: James Olds <12104969+oldsj@users.noreply.github.com>
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.
#15 gates task admission for Mainloop code sessions on a confirmed
PrepareSessionWorkspaceaction. Preparation only works when the session's Git goes through the enforcing read and push proxies, and no harness uses them yet, so every delegated message to a workspace was rejected.GetWorkspacepreparation assignment now share one predicate: the session's pinned prepared revision has both proxy origins in its egress. That state is server-held and immutable.docs/architecture/native-workspace-preparation.mdupdated.