Repository navigation
feat(submitqueue): Publish request hook events from the gateway to the orchestrator's hook stage - #1110
Open
roychying wants to merge 3 commits into
Open
feat(submitqueue): Publish request hook events from the gateway to the orchestrator's hook stage#1110roychying wants to merge 3 commits into
roychying wants to merge 3 commits into
Conversation
roychying
force-pushed
the
chenghan.ying/sq-gateway-hook-publishing
branch
from
November 23, 2026 07:43
417fb9b to
396165b
Compare
roychying
force-pushed
the
chenghan.ying/sq-gateway-hook-publishing
branch
from
November 30, 2026 16:33
396165b to
309899c
Compare
roychying
force-pushed
the
chenghan.ying/sq-gateway-hook-publishing
branch
2 times, most recently
from
December 1, 2026 06:50
2cbc2f1 to
4c64ba8
Compare
roychying
marked this pull request as ready for review
December 1, 2026 17:15
roychying
force-pushed
the
chenghan.ying/sq-gateway-hook-publishing
branch
2 times, most recently
from
December 2, 2026 22:23
9bf432e to
de3cd81
Compare
Base automatically changed from
chenghan.ying/sq-hook-request-started
to
main
December 2, 2026 22:55
roychying
force-pushed
the
chenghan.ying/sq-gateway-hook-publishing
branch
from
December 2, 2026 22:55
de3cd81 to
8e161b7
Compare
This branch has not been deployed
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.
Why?
The parent PR (#1106 ) lets the gateway's request materializer publish request hook events, but nothing turns it on. The SubmitQueue domain already has one hook topic,
submitqueue-hook, and a stage that consumes it in the orchestrator pipeline. The gateway shares that queue backend, so it can publish there rather than run a second hook stage of its own.What?
submitqueue-hookas a publish-only topic and builds the materializer withWithHookPublishing. BothLandand the log consumers then publish request events.start,canceland the hook topic. Renaming one side without the other fails CI instead of silently stranding messages.service/submitqueue/orchestrator/serverstill resolves every event to noop, so OSS behavior is unchanged apart from the extra messages. The comment hook follows in an internal deployment.Test Plan
bazel test //service/submitqueue/gateway/server/...Local Compose stack (
make local-submitqueue-start, fake provider), with this stack replayed onto currentmain:hookeventcomputes from the summary.Issue