This repository was archived by the owner on Mar 21, 2026. It is now read-only.
Repository navigation
feat: add session-scoped SSE filtering for /event - #1
Merged
Merged
Conversation
added 10 commits
March 1, 2026 13:13
…rnals for DECISION_120 milestones 1-3
…lti-agent demand mapped to Jules integration
…20 Phase 1) Implements 7 stateless proxy routes for the Jules REST API, a typed HTTP client with Result-based error handling, Zod v4 validation schemas, and 48 tests across 4 test files. Zero existing files modified. Routes: sessions CRUD, activities, approve/reject, cancel, sources. All code passes AGENTS.md style compliance (no any/try/catch/else/let).
Adds 5 live tests that hit jules.googleapis.com when JULES_API_KEY is set. Tests skip automatically when the env var is absent. Validates both the client layer and route layer against the real API.
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Issue for this PR
Closes anomalyco#9650
Type of change
What does this PR do?
This adds optional session-scoped filtering to the /event endpoint using the sessionID query parameter. If sessionID is provided, events with a concrete non-matching session id are skipped. If sessionID is not provided, stream behavior stays unchanged.
I also added focused tests for both paths so existing consumers keep legacy behavior while session-specific consumers get isolated streams.
How did you verify your code works?
Screenshots / recordings
N/A (no UI change).
Checklist