Skip to content

fix(file): lazy load browse roots#406

Merged
piorpua merged 2 commits into
mainfrom
fix/lazy-browse-roots
Jun 5, 2026
Merged

fix(file): lazy load browse roots#406
piorpua merged 2 commits into
mainfrom
fix/lazy-browse-roots

Conversation

@piorpua
Copy link
Copy Markdown
Contributor

@piorpua piorpua commented Jun 5, 2026

Summary

  • Lazy-load shallow file browse roots instead of resolving them during backend startup.
  • Add module-state phase logs so startup hangs point to the last incomplete phase.
  • Cover lazy browse-root resolution with a unit test.

Verification

  • Local dev startup succeeded; backend reached health checks and /api/fs/browse returned 200.
  • just push
    • cargo fix --allow-dirty --allow-staged
    • cargo clippy --fix --workspace --allow-dirty --allow-staged -- -D warnings
    • cargo fmt --all
    • cargo nextest run --workspace: 5911 passed, 18 skipped

@piorpua piorpua enabled auto-merge (squash) June 5, 2026 08:53
@piorpua piorpua merged commit 668c562 into main Jun 5, 2026
5 checks passed
@piorpua piorpua deleted the fix/lazy-browse-roots branch June 5, 2026 09:04
piorpua pushed a commit that referenced this pull request Jun 5, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.1.22](v0.1.21...v0.1.22)
(2026-06-05)


### Bug Fixes

* **acp:** stabilize mode and model source of truth
([#409](#409))
([300bb1e](300bb1e))
* **conversation:** align workspace path availability handling
([#410](#410))
([30bc96b](30bc96b))
* **file:** lazy load browse roots
([#406](#406))
([668c562](668c562))
* prepare managed acp tools locally without cdn
([#408](#408))
([2a48ae3](2a48ae3))


### Code Refactoring

* **error:** finish ApiError phase3
([#398](#398))
([37523ab](37523ab))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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