Skip to content

add better logging for replay skipping#11069

Merged
harryalbert merged 1 commit into
masterfrom
harry/fix-shared-session-replay-logging
May 15, 2026
Merged

add better logging for replay skipping#11069
harryalbert merged 1 commit into
masterfrom
harry/fix-shared-session-replay-logging

Conversation

@harryalbert

@harryalbert harryalbert commented May 15, 2026

Copy link
Copy Markdown
Contributor

Description

We've run into a few issues around this code (or at least surfaced by it), and it would be helpful to have better logging when these issues come up.

Testing

  • I have manually tested my changes locally with ./script/run

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

@cla-bot cla-bot Bot added the cla-signed label May 15, 2026

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@harryalbert harryalbert changed the title add better logging for shared session replay skip add better logging for replay skipping May 15, 2026
@harryalbert harryalbert marked this pull request as ready for review May 15, 2026 22:53
@harryalbert harryalbert requested a review from zachbai May 15, 2026 22:53
@oz-for-oss

oz-for-oss Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

@harryalbert

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@harryalbert harryalbert requested a review from captainsafia May 15, 2026 22:56

@oz-for-oss oz-for-oss 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.

Overview

This PR adds info-level logging to the shared-session replay-suppression helper and refactors the skip preconditions into named booleans without changing the suppression decision.

Concerns

  • The actual replay-suppression path still returns without logging, so the new logs explain why responses are not skipped but not when a replay response is skipped.

Verdict

Found: 0 critical, 0 important, 1 suggestions

Approve

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Comment thread app/src/ai/blocklist/controller/shared_session.rs
@harryalbert harryalbert merged commit fa73295 into master May 15, 2026
54 checks passed
@harryalbert harryalbert deleted the harry/fix-shared-session-replay-logging branch May 15, 2026 23:57
lawsmd pushed a commit to lawsmd/cortex that referenced this pull request May 22, 2026
## Description
<!-- Please remember to add your design buddy onto the PR for review, if
it contains any UI changes! -->

We've run into a few issues around this code (or at least surfaced by
it), and it would be helpful to have better logging when these issues
come up.

## Testing
<!--
How did you test this change? What automated tests did you add? If you
didn't add any new tests, what's your justification for not adding any?

Manual testing is required for changes that can be manually tested, and
almost all changes can be manually tested. If your change can be
manually tested, please include screenshots or a screen recording that
show it working end to end.

You can run the app locally using `./script/run` - see WARP.md for more
details on how to get set up.
-->

- [x] I have manually tested my changes locally with `./script/run`

## Agent Mode
- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode
Stoica-Mihai pushed a commit to Stoica-Mihai/warp that referenced this pull request Jun 5, 2026
## Description
<!-- Please remember to add your design buddy onto the PR for review, if
it contains any UI changes! -->

We've run into a few issues around this code (or at least surfaced by
it), and it would be helpful to have better logging when these issues
come up.

## Testing
<!--
How did you test this change? What automated tests did you add? If you
didn't add any new tests, what's your justification for not adding any?

Manual testing is required for changes that can be manually tested, and
almost all changes can be manually tested. If your change can be
manually tested, please include screenshots or a screen recording that
show it working end to end.

You can run the app locally using `./script/run` - see WARP.md for more
details on how to get set up.
-->

- [x] I have manually tested my changes locally with `./script/run`

## Agent Mode
- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants