Skip to content

Update NES LSP server#14836

Draft
georgestagg wants to merge 1 commit into
mainfrom
nes/update-lsp-server
Draft

Update NES LSP server#14836
georgestagg wants to merge 1 commit into
mainfrom
nes/update-lsp-server

Conversation

@georgestagg

Copy link
Copy Markdown
Contributor

Update's the NES extension's LSP server for https://github.com/posit-dev/posit-ai-supercomplete/pull/66.

Validation Steps

No user facing changes, infrastructure change for new provider.json specification and auth storage location in assistant.

@github-actions

Copy link
Copy Markdown

E2E Tests 🚀
This PR will run tests tagged with: @:critical

Note

No feature tags detected. If this PR needs feature coverage, add the tag above and retrigger the workflow.

readme  valid tags

@georgestagg georgestagg requested a review from sharon-wang July 13, 2026 07:33
@sharon-wang sharon-wang requested review from melissa-barca and removed request for sharon-wang July 13, 2026 14:00
@sharon-wang

Copy link
Copy Markdown
Member

Swapping @melissa-barca in as reviewer as there's some overlap with #14708!

@melissa-barca

Copy link
Copy Markdown
Contributor

How come https://github.com/posit-dev/posit-ai-supercomplete/pull/66 is reading providers.json directly instead of importing the new package and relying on loadResolvedProviderCatalog? I'm a bit concerned about Workbench behavior being unintentionally lost if it needs to be implemented in multiple places.

@georgestagg

georgestagg commented Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

How come https://github.com/posit-dev/posit-ai-supercomplete/pull/66 is reading providers.json directly instead of importing the new package and relying on loadResolvedProviderCatalog?

It’s just historical. Before we had the shared package, NES and Assistant implemented reading auth information from the same file separately but with locking, and that separation has survived right up until this point, including reading the new providers.json.

Now that we have the shared package, we could probably migrate NES to that system too. I’m happy to defer the update until that’s been investigated if you prefer.

@melissa-barca

Copy link
Copy Markdown
Contributor

How come posit-dev/posit-ai-supercomplete#66 is reading providers.json directly instead of importing the new package and relying on loadResolvedProviderCatalog?

It’s just historical. Before we had the shared package, NES and Assistant implemented reading auth information from the same file separately but with locking, and that separation has survived right up until this point, including reading the new providers.json.

Now that we have the shared package, we could probably migrate NES to that system too. I’m happy to defer the update until that’s been investigated if you prefer.

That would be great. The biggest win from implementing that package IMO is that it centralizes all of the settings management logic, and that gets lost if we're reading it directly.

@georgestagg georgestagg marked this pull request as draft July 13, 2026 19:53
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.

3 participants