Skip to content

Add inline script environment persistence (PEP 723 PR 7/16) - #1653

Closed
Stella Huang (StellaHuang95) wants to merge 4 commits into
microsoft:mainfrom
StellaHuang95:pep723-pr7-persistence
Closed

Add inline script environment persistence (PEP 723 PR 7/16)#1653
Stella Huang (StellaHuang95) wants to merge 4 commits into
microsoft:mainfrom
StellaHuang95:pep723-pr7-persistence

Conversation

@StellaHuang95

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/common/inlineScriptCacheLayout.ts Outdated
Comment thread src/common/inlineScriptCacheLayout.ts
Cross-process file lock, venv Python-path helper, cancellation-safe process runner, and createWithProgress tracking options that inline-script environment creation builds on.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 39dcc6a3-0fbd-4f36-9d0f-68677de49c27
Cache-key tail normalization, cache-layout ownership/status checks with typed sidecar reads, and interpreter-constraint trimming that inline-script environment creation builds on.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 39dcc6a3-0fbd-4f36-9d0f-68677de49c27
Implement InlineScriptEnvManager.create(): select a compatible base interpreter and build or reuse a dependency-keyed virtual environment, with cache-ownership validation, cross-process locking, and cancellation-safe creation. Wire the manager's collaborators.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 39dcc6a3-0fbd-4f36-9d0f-68677de49c27
Persist per-script inline environment associations, rehydrate them on demand, and validate ownership and current metadata before returning selections.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 22cdcbcc-09ff-41d0-9fcf-59a6a5117ff1
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