Skip to content

[backport] Fix regression with keep-ipynb #12812

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2025
Merged

Conversation

cderv
Copy link
Collaborator

@cderv cderv commented May 23, 2025

Warning

This is a backport PR to merge into v1.7 branch. Companion PR to

  • update fileInformationCache based on keep-ipynb information
  • requires to always pass ProjectContext in ExecuteOptions
  • requires to ensure fileInformationCache is not cloned by safeCloneDeep
    This allows us to always get the global fileInformationCache from the project context to get / set information in it from different contexts.
  • Add tests for project context and single file context

@cderv cderv added this to the Hot-fix milestone May 23, 2025
@cderv cderv added the backport label May 23, 2025
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented May 23, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

backport of #12793

- update fileInformationCache based on `keep-ipynb` information
- requires to always pass ProjectContext in ExecuteOptions
- requires to ensure fileInformationCache is not cloned by safeCloneDeep
  This allows us to always get the global fileInformationCache from the project context to get / set information in it from different contexts.
- Add tests for project context and single file context
@cderv cderv force-pushed the backport/fix-keep-ipynb branch from 18300e1 to df049d4 Compare May 23, 2025 11:03
@cderv cderv merged commit 6c3baf1 into v1.7 May 23, 2025
44 checks passed
@cderv cderv deleted the backport/fix-keep-ipynb branch May 23, 2025 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants