Skip to content

Avoid redundant package resolution - #755

Merged
renkun-ken merged 1 commit into
REditorSupport:masterfrom
renkun-ken:fix-754
Aug 24, 2026
Merged

Avoid redundant package resolution#755
renkun-ken merged 1 commit into
REditorSupport:masterfrom
renkun-ken:fix-754

Conversation

@renkun-ken

Copy link
Copy Markdown
Member

Summary

  • remember each document's last successful ordered package request
  • normalize away vector names/encoding metadata before comparing requests
  • avoid restarting package resolution after transient parse errors
  • preserve package order so masking and namespace precedence remain correct

Fixes #754.

Testing

  • Rscript -e 'devtools::test(filter = "document-core|handlers-textsync|workspace-core|completion", reporter = "summary")'
  • git diff --check
  • changed-file linting

The full local suite was also run. It reached existing environment-related failures in diagnostics/formatting subprocess tests (gzfile(...): cannot open the connection), while the focused package-resolution and dependent tests 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

1 participant