Repository navigation
feat(server): add HTTP steer controls - #1407
Merged
Merged
Conversation
Signed-off-by: Samuele Verzi <[email protected]>
samuv
force-pushed
the
t3code/evaluate-issue-873
branch
from
September 11, 2026 12:04
4c81ef7 to
fa3bcc4
Compare
Signed-off-by: Samuele Verzi <[email protected]>
jhrozek
approved these changes
Sep 11, 2026
jhrozek
left a comment
Contributor
There was a problem hiding this comment.
Panel review (Spec + Standards + Test adequacy + Domain: secure-code-reviewer, software-architect, go-architect, code-duplication-reviewer, library-reuse-reviewer). Approving per author request; inline notes below track the findings so they don't get lost. The approveLiveRun item is the one I'd genuinely want a fast follow-up on — it's a real, demonstrated race in a permission-verdict path, even though it's scoped narrowly.
Summary:
- Spec:
docs/adr/0232-steer-while-running.md's own "Fragility (recorded deliberately)" paragraph explicitly predicts this PR ("a second sender surface (e.g. the deferred HTTP/SSE steer endpoint) lands") and prescribes moving message-id correlation into the engine inbox as a{text, id}pair "rather than growing a heuristic at the wire layer." This PR instead extends the Service-levelsteerMsgIDsFIFO to serve both transports (likely sound, since both transports append under the sames.mucritical section — but ADR 0232 wasn't touched, so that paragraph now reads as an open warning about a decision that was actually made and shipped). Worth a follow-up updating ADR 0232 (or ADR 0252) to state the same-critical-section rationale explicitly. The bundledpersistMu/resolvedAskID/cancelSignaledcommit also isn't called out anywhere as caused-by-this-PR. - Test adequacy: no interleaving/regression test proves the
persistMuserialization fix actually does anything (current test is sequential, would pass reverted). - Domain:
approveLiveRunis missing thes.runs[id] != stre-check its siblingcancelLiveRunhas — go-architect traced a concrete window where a verdict can land on an orphaned, deregistered run while the caller is told it succeeded. Plus a couple of small duplication/dead-code cleanups.
PANEL: ship_blockers=0 important=4 advisory=8 reviewer_failures=0
Signed-off-by: Samuele Verzi <[email protected]>
Merged
2 tasks
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
steerandcancel-steerendpoints with strict, bounded request decodinghttp_steer, and enable the TypeScript SDK transportTesting
task linttask testtask sdk:testtask sdk:typechecktask sdk:lintgit diff --checkCloses #873