Skip to content

consolidate powershell history loading errors#9499

Merged
acarl005 merged 1 commit intomasterfrom
andy/consolidate-pwsh-history-loading-errors
May 1, 2026
Merged

consolidate powershell history loading errors#9499
acarl005 merged 1 commit intomasterfrom
andy/consolidate-pwsh-history-loading-errors

Conversation

@acarl005
Copy link
Copy Markdown
Contributor

Migrated from warpdotdev/warp-internal#25021 via script/migrate-private-to-public.

Commits

  • 8669545 consolidate powershell history loading errors

@cla-bot cla-bot Bot added the cla-signed label Apr 29, 2026
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented Apr 29, 2026

@acarl005

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

You can view the conversation on Warp.

I completed the review and posted feedback on 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

@acarl005 acarl005 requested a review from danielpeng2 April 29, 2026 21:35
Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

Overview

This PR downgrades the local log for recoverable PowerShell history-loading failures to a warning and, when crash reporting is enabled, emits a consolidated Sentry error event with structured PowerShell failure context after the async_fs fallback succeeds.

Concerns

  • No blocking correctness, error-handling, or security concerns found in the changed diff.

Verdict

Found: 0 critical, 0 important, 0 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

@acarl005 acarl005 merged commit 1c5e343 into master May 1, 2026
30 checks passed
@acarl005 acarl005 deleted the andy/consolidate-pwsh-history-loading-errors branch May 1, 2026 19:20
sypsyp97 added a commit to sypsyp97/warp that referenced this pull request May 2, 2026
…pdotdev#9499 partial)

When PowerShell can't read history but async_fs::read succeeds, the
fallback path is recoverable — log::error was too loud for what is now
a healed condition. Take only the log-level downgrade; the upstream PR
also adds a sentry::capture_message under #[cfg(feature = "crash_reporting")]
which slim ripped out earlier (see c61f195), so that block is N/A.
Comment-reflow noise from the upstream diff is also skipped.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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