Skip to content

Gracefully fail on background completion connection issues#1880

Merged
rolandwalker merged 1 commit intomainfrom
RW/graceful-fail-bg-completion-refresh
May 8, 2026
Merged

Gracefully fail on background completion connection issues#1880
rolandwalker merged 1 commit intomainfrom
RW/graceful-fail-bg-completion-refresh

Conversation

@rolandwalker
Copy link
Copy Markdown
Contributor

Description

If we fail to make a connection for background completion refresh, catch the error and return without performing the refresh.

This issue is happening to me frequently on certain hosts, with the symptom that a noisy trace is dumped into the REPL session.

Checklist

  • I added this contribution to the changelog.md file.
  • I added my name to the AUTHORS file (or it's already there).
  • To lint and format the code, I ran
    uv run ruff check && uv run ruff format && uv run mypy --install-types .

@rolandwalker rolandwalker self-assigned this May 7, 2026
If we fail to make a connection for background completion refresh,
catch the error and return without performing the refresh.
@rolandwalker rolandwalker force-pushed the RW/graceful-fail-bg-completion-refresh branch from 32ed163 to 3fd150b Compare May 7, 2026 12:53
@rolandwalker rolandwalker requested review from amjith and scottnemes May 7, 2026 12:53
@rolandwalker rolandwalker merged commit 17f3474 into main May 8, 2026
13 of 14 checks passed
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.

2 participants