Repository navigation
feat(github): inform sessions of pull request status - #67
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.
Summary
Informboundaries without waking idle sessions or duplicating footer/plugin VCS eventsCORE-GH-002; leave opt-in automatic reactions toCORE-GH-003How it works
flowchart LR GH["GitHub CLI<br/>pr view + required checks"] Cache["Daemon cache<br/>20-second refresh"] Observer["VCS observer<br/>canonical PR status"] Dedupe{"Changed from<br/>previous state?"} Footer["Footer stream<br/>PR number + URL"] Inform["Droid.Inform<br/>passive boundary"] Droid["Droid context<br/>next safe boundary"] GH --> Cache --> Observer Observer --> Footer Observer --> Dedupe Dedupe -- No --> Ignore["Ignore duplicate poll"] Dedupe -- Yes --> Inform --> DroidDistinct transitions are preserved, including a return to an earlier state:
File ownership:
Delivery remains passive:
Validation
gofmt -l .git diff --checkgo build ./...go vet ./...go test ./...go test -race ./...go test -race ./internal/githubpr ./internal/vcs ./internal/session ./internal/serverAll validation used isolated temporary
KIT_HOMEdirectories. No development daemon or production Kit state was used.