Skip to content

fix(app): retry failed directory picker listings - #49519

Closed
fobiat wants to merge 1 commit into
anomalyco:devfrom
fobiat:picker-retry
Closed

fobiat wants to merge 1 commit into
anomalyco:devfrom
fobiat:picker-retry

Conversation

@fobiat

@fobiat fobiat commented Sep 17, 2026 •

Copy link
Copy Markdown

Issue for this PR

Closes #49518. Related to #41412.

Type of change

  • Bug fix

What does this PR do?

Evict rejected directory reads from the picker cache so typing again can recover without reopening the dialog. Successful reads stay cached.

How did you verify your code works?

On Linux: regression fails before the fix and passes after. Tests cover recovery, caching, spaces/Unicode, and an older rejected request completing after a newer search.

App: 726 unit tests, 41 browser-condition tests, typecheck and production build pass. Pre-push: all 30 typecheck tasks pass. Focused lint: 0 errors, 15 warnings. Formatting and diff checks pass.

Screenshots / recordings

No layout changes; this corrects asynchronous cache recovery. Regression evidence is in directory-picker-domain.test.ts.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Sep 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@fobiat

fobiat commented Sep 17, 2026

Copy link
Copy Markdown
Author

The test, typecheck and nix-eval workflow runs are waiting for maintainer approval (action_required). Local app gates and the repository pre-push typecheck passed. Could a maintainer approve the fork workflow runs when reviewing?

@thdxr

thdxr commented Oct 10, 2026

Copy link
Copy Markdown
Member

This branch has been upgraded to V2. We're no longer taking PRs for V1. If you think this is still relevant, please port it over and open it for V2.

— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

@thdxr thdxr closed this Oct 10, 2026
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.

Directory picker caches failed listings until the dialog is reopened

2 participants