Skip to content

refactor: reuse content resolver in install#75

Merged
harlan-zw merged 2 commits into
mainfrom
refactor/reuse-content-resolver-install
May 12, 2026
Merged

refactor: reuse content resolver in install#75
harlan-zw merged 2 commits into
mainfrom
refactor/reuse-content-resolver-install

Conversation

@oritwoen
Copy link
Copy Markdown
Collaborator

Install had its own docs restore cascade, separate from the shared content resolver. That was dead weight and already drifted - llms.txt normalization missed the base URL there.

This routes cache-miss install restore through resolveContentDocs instead. Same source as sync now, less duplicated code. Added tiny guard so this doesn't grow second resolver again.

@oritwoen oritwoen changed the title Reuse content resolver in install restore refactor: reuse content resolver in install May 12, 2026
@oritwoen oritwoen self-assigned this May 12, 2026
@oritwoen oritwoen requested a review from harlan-zw May 12, 2026 10:59
@harlan-zw
Copy link
Copy Markdown
Collaborator

Good catch, thanks. Will continue to clean up the architechture.

@harlan-zw harlan-zw merged commit 1b06a60 into main May 12, 2026
1 check passed
@oritwoen oritwoen deleted the refactor/reuse-content-resolver-install branch May 12, 2026 12:36
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