Repository navigation
Runtime IPC Protocol #175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Runtime IPC Protocol #175
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
138d312
feat(lib-rt-core): add the IPC handler protocol contract
fr3shw3b 5606daf
feat(lib-rt-core): add the handler stream dispatcher
fr3shw3b f98bb93
feat(lib-rt-core): convert between runtime events and protocol frames
fr3shw3b 4635264
feat(lib-rt-core): add the IPC handler stream and handshake
fr3shw3b 6db9fcd
feat(lib-rt-core): serve the handler stream over a unix socket
fr3shw3b 6762421
feat(runtime-libs): shed, cancel and drain events on the handler stream
fr3shw3b 772664c
feat(runtime-libs): carry websocket sends and handler invocation on t…
fr3shw3b 649e036
feat(runtime-libs): remove the local runtime API
fr3shw3b 8ecd958
feat(lib-rt-core): carry requests to handlers without losing anything
fr3shw3b 15e3757
ci(runtime-libs): fail when the protocol and its generated stubs drif…
fr3shw3b 2a88ba9
fix(lib-rt-core): satisfy the protocol lint on the service name
fr3shw3b b14c803
ci: tighten up protocol contract job permissions
fr3shw3b d4572b4
fix(lib-rt-core): enable missing net feature in tokio-stream
fr3shw3b ae8723f
fix(runtime-libs): restrict unix socket permissions and make tcp fall…
fr3shw3b 4e92fb7
fix(lib-rt-core): add type fix to act as range check for ports
fr3shw3b ab7aff6
fix(lib-rt-core): release callers of events abandoned at the drain de…
fr3shw3b 62225f9
fix(lib-rt-core): keep a stream that is behind rather than tearing it…
fr3shw3b e6228b8
fix(lib-rt-core): bound the cancellation channel
fr3shw3b 2b1f063
fix(lib-rt-core): count the default timeout when deriving how long to…
fr3shw3b c89ac87
feat(lib-rt-core): invoke a handler by the name the blueprint publish…
fr3shw3b a15c352
fix(lib-rt-core): report a handler failure in the shape its caller wa…
fr3shw3b 66779f6
fix(lib-rt-core): refuse a response status that cannot be one
fr3shw3b ba42354
fix(lib-rt-core): let a draining handler finish the work it is holding
fr3shw3b 7ea49fa
fix(lib-rt-core): carry a custom handler's output without altering it
fr3shw3b 8609b0f
fix(lib-rt-core): close handler streams that never declare themselves
fr3shw3b 87e5183
fix(lib-rt-core): restrict perms for directory created for unix socket
fr3shw3b File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
Set explicit token permissions and disable persisted checkout credentials.
This job has no
permissionsblock.actions/checkoutalso persists its credential by default. A compromised action or later command can use the repository-default token scope.Set the job token to the minimum required scope, such as
contents: read. Setpersist-credentials: falseon checkout. PassGITHUB_TOKENto Buf only when authenticated Buf access requires it.🧰 Tools
🪛 zizmor (1.29.0)
[warning] 29-29: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
[warning] 19-50: overly broad permissions (excessive-permissions): default permissions used due to no permissions: block
(excessive-permissions)
🤖 Prompt for AI Agents
Source: Linters/SAST tools