Skip to content

fix: correct 4 webapp bugs from issue #3748#14

Open
deepshekhardas wants to merge 1 commit into
mainfrom
fix/3748-logs-presenter-replay-ai-agent
Open

fix: correct 4 webapp bugs from issue #3748#14
deepshekhardas wants to merge 1 commit into
mainfrom
fix/3748-logs-presenter-replay-ai-agent

Conversation

@deepshekhardas
Copy link
Copy Markdown
Owner

@deepshekhardas deepshekhardas commented May 26, 2026

Fixes 4 bugs identified in issue triggerdotdev#3748:

  1. LogsListPresenter: Inverted ClickHouse guard - removed the CLICKHOUSE error block so ClickHouse queries proceed correctly.

  2. ReplayRunDialog: Missing replayDataFetcher.data dependency in useEffect.

  3. AIFilterInput: Changed fetcher state check from loading to idle.

  4. AgentView: Added useEffect to reset refs when sessionId changes.


Summary by cubic

Fixes four webapp bugs to restore ClickHouse log queries, stabilize the replay dialog, clear the AI filter input correctly, and prevent stale agent messages when switching sessions. Addresses issue triggerdotdev#3748.

  • Bug Fixes
    • LogsListPresenter: removed inverted CLICKHOUSE guard so ClickHouse log queries run.
    • ReplayRunDialog: added replayDataFetcher.data to useEffect deps to refresh queues reliably.
    • AIFilterInput: clear input when fetcher state is idle (not loading).
    • AgentView: reset message refs on sessionId change to stop stale data from carrying over.

Written for commit 913f7c7. Summary will update on new commits. Review in cubic

- LogsListPresenter: Remove inverted ClickHouse guard that blocked valid log queries
- ReplayRunDialog: Add missing replayDataFetcher.data useEffect dependency
- AIFilterInput: Fix wrong fetcher state check (loading -> idle)
- AgentView: Reset refs when session changes to prevent stale data bleed
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 4 files

Re-trigger cubic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant