Add inline script environment lifecycle telemetry (PEP 723 PR 15/16) - #4
Closed
StellaHuang95 wants to merge 1 commit into
Closed
Add inline script environment lifecycle telemetry (PEP 723 PR 15/16)#4StellaHuang95 wants to merge 1 commit into
StellaHuang95 wants to merge 1 commit into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 3cb82ae9-7424-40a4-9156-8c54ac6e0895
StellaHuang95
marked this pull request as ready for review
August 17, 2026 17:07
Owner
Author
|
Closing this PR in favor of a clean-history replacement with the same current reviewed file changes. |
Owner
Author
|
Superseded by clean-history replacement #10. |
StellaHuang95
added a commit
that referenced
this pull request
Aug 25, 2026
…-key preservation Reduce this PR's net diff versus its merge-base to only three logical changes: - #3 atomic canonical lock retirement on release (src/common/lockfile.apis.ts) - #6 serialized persistent-state clears (src/common/persistentState.ts) - #7 generic Clear Cache preserves the inline association key (constants.ts, envCommands.ts, extension.ts, and an import-only change in the inline-script envManager) Revert the other seven changes to the merge-base content: - #1 root-generation nonce, #2 root/entry admission decoupling, #9 create-counting order (inline-script envManager) - #4/#5 reclaim-side lock retirement + generation-specific inspection (keep only the minimal release-side companions inspect/reclaim need to stay correct: .release-* recognition and ENOENT-on-readdir tolerance) - #8 workspace-root protection (settingHelpers) - #10 typed ClearCacheNotSupported (envManagers, NotSupportedError) Also revert the associated test changes for the removed items, keeping the new persistentState suite (#6), the new Clear Environment Caches suite (#7), and the release-side lock-retirement tests (#3). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
StellaHuang95
added a commit
that referenced
this pull request
Aug 26, 2026
…-key preservation Reduce this PR's net diff versus its merge-base to only three logical changes: - #3 atomic canonical lock retirement on release (src/common/lockfile.apis.ts) - #6 serialized persistent-state clears (src/common/persistentState.ts) - #7 generic Clear Cache preserves the inline association key (constants.ts, envCommands.ts, extension.ts, and an import-only change in the inline-script envManager) Revert the other seven changes to the merge-base content: - #1 root-generation nonce, #2 root/entry admission decoupling, #9 create-counting order (inline-script envManager) - #4/#5 reclaim-side lock retirement + generation-specific inspection (keep only the minimal release-side companions inspect/reclaim need to stay correct: .release-* recognition and ENOENT-on-readdir tolerance) - #8 workspace-root protection (settingHelpers) - #10 typed ClearCacheNotSupported (envManagers, NotSupportedError) Also revert the associated test changes for the removed items, keeping the new persistentState suite (#6), the new Clear Environment Caches suite (#7), and the release-side lock-retirement tests (#3). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
inlineScript.envCreatedinlineScript.envReuseHitinlineScript.envErrorSemantics
Scope
This is telemetry-only. It does not add routing, discovery, cleanup, UI, project registration, retries, or cache algorithm changes.
Validation