Skip to content

fix(web): forward filterStartTime and filterEndTime in the legacy polling FilterTimeline adapter - #1034

Merged
kyasbal merged 1 commit into
GoogleCloudPlatform:mainfrom
kyasbal:push-yuzzlnzzumur
Sep 18, 2026
Merged

kyasbal merged 1 commit into
GoogleCloudPlatform:mainfrom
kyasbal:push-yuzzlnzzumur

Conversation

@kyasbal

@kyasbal kyasbal commented Sep 18, 2026

Copy link
Copy Markdown
Member

Summary

Fixes an issue where the timeline time range filter silently did not work when legacy polling mode was active (?pollLegacy=true or environment.usePollingLegacy).

The stream-to-poll adapter adaptFilterTimeline in legacy-polling.interceptor.ts was manually assembling FilterTimelineSyncRequest and omitted filterStartTime and filterEndTime. This change forwards those fields on the job-starting poll and adds a unit test asserting that they reach FilterTimelineSync.

Part of #1018
TAG=agy

…ling FilterTimeline adapter

The stream-to-poll adapter for FilterTimeline rebuilt FilterTimelineSyncRequest
by hand and dropped filterStartTime / filterEndTime, so the timeline time range
filter silently did nothing whenever legacy polling mode was enabled.

TAG=agy
@kyasbal
kyasbal requested a review from RyuSA as a code owner September 18, 2026 07:44
@kyasbal kyasbal added the type:bug Something isn't working as expected label Sep 18, 2026
@kyasbal
kyasbal requested a review from jyane as a code owner September 18, 2026 07:44
@kyasbal kyasbal added the area:frontend Web frontend application and UI components label Sep 18, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the legacy polling interceptor to forward the filterStartTime and filterEndTime parameters to the FilterTimelineSync request only during the initial job-starting poll. A corresponding unit test has been added to verify this behavior. There are no review comments to address, and the changes look solid.

@kyasbal
kyasbal enabled auto-merge September 18, 2026 07:47
@kyasbal
kyasbal added this pull request to the merge queue Sep 18, 2026
Merged via the queue into GoogleCloudPlatform:main with commit aa35fef Sep 18, 2026
17 checks passed
@kyasbal
kyasbal deleted the push-yuzzlnzzumur branch September 18, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:frontend Web frontend application and UI components type:bug Something isn't working as expected

1 participant