René's URL Explorer Experiment


Title: Save the module analysis cache when the process exits by azchohfi · Pull Request #28376 · PowerShell/PowerShell · GitHub

Open Graph Title: Save the module analysis cache when the process exits by azchohfi · Pull Request #28376 · PowerShell/PowerShell

X Title: Save the module analysis cache when the process exits by azchohfi · Pull Request #28376 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: PR Summary Fixes #28375. The module analysis cache is written by a background task that waits at least 13 seconds after the last change, so a pwsh that runs one command and exits sooner (pwsh -Comm...

X Description: PR Summary Fixes #28375. The module analysis cache is written by a background task that waits at least 13 seconds after the last change, so a pwsh that runs one command and exits sooner (pwsh -Comm...

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/28376

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:1e8d18f6-2310-1244-44c7-00f945ebfb34
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCCEA:1F2B77:27A40A:379B31:6AFCD2C8
html-safe-nonce65af1dfe18b54d53cfc6a0fd864d198749697d911ff7ccd6a1ede44885a549ef
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0VBOjFGMkI3NzoyN0E0MEE6Mzc5QjMxOjZBRkNEMkM4IiwidmlzaXRvcl9pZCI6Ijc4ODI4Njg0OTAyMjUxMTE3NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac513227faabf5494a9e812d7ace957cdb1342387e92b5ea0386a5006ac1e8d961
hovercard-subject-tagpull_request:5198538073
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/28376/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b0800285b2639d8a900cd06f023edb981d39d0743de8ad7605b98c967ea4250e/PowerShell/PowerShell/pull/28376
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b0800285b2639d8a900cd06f023edb981d39d0743de8ad7605b98c967ea4250e/PowerShell/PowerShell/pull/28376
og:image:altPR Summary Fixes #28375. The module analysis cache is written by a background task that waits at least 13 seconds after the last change, so a pwsh that runs one command and exits sooner (pwsh -Comm...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameazchohfi
hostnamegithub.com
expected-hostnamegithub.com
Nonee3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5410e4bebd3e45b138c853ecef3992279d86d5af
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/28376#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28376
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28376
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/pull/28376
Reloadhttps://github.com/PowerShell/PowerShell/pull/28376
Reloadhttps://github.com/PowerShell/PowerShell/pull/28376
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests363 (363)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
Alexandre Zollinger Chohfi (azchohfi)https://github.com/azchohfi
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
azchohfi:o35-analysis-cache-flushhttps://github.com/azchohfi/PowerShell/tree/o35-analysis-cache-flush
Conversationhttps://github.com/PowerShell/PowerShell/pull/28376
Commits5 (5)https://github.com/PowerShell/PowerShell/pull/28376/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/28376/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/28376/files
Save the module analysis cache when the process exitshttps://github.com/PowerShell/PowerShell/pull/28376#top
Alexandre Zollinger Chohfi (azchohfi)https://github.com/azchohfi
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
azchohfi:o35-analysis-cache-flushhttps://github.com/azchohfi/PowerShell/tree/o35-analysis-cache-flush
https://github.com/azchohfi
Alexandre Zollinger Chohfi (azchohfi)https://github.com/azchohfi
Nov 7, 2026https://github.com/PowerShell/PowerShell/pull/28376#issue-6255308155
#28375https://github.com/PowerShell/PowerShell/issues/28375
1aac7f5https://github.com/PowerShell/PowerShell/commit/1aac7f5e38679b3c1469b67071a4c07f50cc064b
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28376
https://github.com/azchohfi
https://github.com/apps/github-copilot-cli
Save the module analysis cache when the process exitshttps://github.com/PowerShell/PowerShell/pull/28376/commits/05bd7120ac0feb595ce75275f45c8efd4011faf2
05bd712https://github.com/PowerShell/PowerShell/pull/28376/commits/05bd7120ac0feb595ce75275f45c8efd4011faf2
https://github.com/azchohfi
Alexandre Zollinger Chohfi (azchohfi)https://github.com/azchohfi
code ownerhttps://github.com/PowerShell/PowerShell/blob/1aac7f5e38679b3c1469b67071a4c07f50cc064b/.github/CODEOWNERS#L7
November 7, 2026 04:51https://github.com/PowerShell/PowerShell/pull/28376#event-35414475609
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
November 7, 2026 04:51https://github.com/PowerShell/PowerShell/pull/28376#event-35414476326
https://github.com/apps/azure-pipelines
azure-pipelineshttps://github.com/apps/azure-pipelines
Nov 7, 2026https://github.com/PowerShell/PowerShell/pull/28376#issuecomment-6702474357
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28376
started reviewinghttps://github.com/PowerShell/PowerShell/sessions/ad3358e3-7580-449f-83b2-c4e27155a046
Alexandre Zollinger Chohfi (azchohfi)https://github.com/azchohfi
November 7, 2026 04:52https://github.com/PowerShell/PowerShell/pull/28376#event-35414498219
View session https://github.com/PowerShell/PowerShell/sessions/ad3358e3-7580-449f-83b2-c4e27155a046
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Nov 7, 2026 https://github.com/PowerShell/PowerShell/pull/28376#pullrequestreview-5810195639
View reviewed changes https://github.com/PowerShell/PowerShell/pull/28376/files/05bd7120ac0feb595ce75275f45c8efd4011faf2
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/PowerShell/PowerShell/pull/28376#pullrequestreview-5810195639
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Temporary cache snapshots are retained until process exithttps://github.com/PowerShell/PowerShell/pull/28376#discussion_r4500185489
#28375https://github.com/PowerShell/PowerShell/issues/28375
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28376
src/System.Management.Automation/engine/Modules/AnalysisCache.cshttps://github.com/PowerShell/PowerShell/pull/28376/files/05bd7120ac0feb595ce75275f45c8efd4011faf2#diff-7adf577d8689e69b26c5fef7e1744061f76020ea4be07363f7af9a9e81fc3e55
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28376
https://github.com/azchohfi
https://github.com/apps/github-copilot-cli
Only save the process-wide analysis cache at exithttps://github.com/PowerShell/PowerShell/pull/28376/commits/55894155121d7f90e4af4b848af9d97160c361ff
5589415https://github.com/PowerShell/PowerShell/pull/28376/commits/55894155121d7f90e4af4b848af9d97160c361ff
https://github.com/kilasuit
Ryan Yates (kilasuit)https://github.com/kilasuit
WG-Engine https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AWG-Engine
WG-NeedsReview https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AWG-NeedsReview
Nov 8, 2026https://github.com/PowerShell/PowerShell/pull/28376#event-35467772906
https://github.com/azchohfi
Alexandre Zollinger Chohfi (azchohfi)https://github.com/azchohfi
Nov 9, 2026 https://github.com/PowerShell/PowerShell/pull/28376#ref-issue-6255306149
The module analysis cache is never saved by short-lived pwsh processes #28375 https://github.com/PowerShell/PowerShell/issues/28375
https://github.com/azchohfi
Merge branch 'master' into o35-analysis-cache-flushhttps://github.com/PowerShell/PowerShell/pull/28376/commits/f53a9470f3e6ff1246adddd1bbbf15fdbd76d604
f53a947https://github.com/PowerShell/PowerShell/pull/28376/commits/f53a9470f3e6ff1246adddd1bbbf15fdbd76d604
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
CL-Performance https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-Performance
Nov 13, 2026https://github.com/PowerShell/PowerShell/pull/28376#event-36063634600
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Nov 13, 2026https://github.com/PowerShell/PowerShell/pull/28376#event-36063699807
https://github.com/azchohfi
Merge branch 'master' into o35-analysis-cache-flushhttps://github.com/PowerShell/PowerShell/pull/28376/commits/6b0c24aabb4356447adf99cfd0089c672003de2a
6b0c24ahttps://github.com/PowerShell/PowerShell/pull/28376/commits/6b0c24aabb4356447adf99cfd0089c672003de2a
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
Nov 14, 2026 https://github.com/PowerShell/PowerShell/pull/28376#pullrequestreview-5904015530
View reviewed changes https://github.com/PowerShell/PowerShell/pull/28376/files/6b0c24aabb4356447adf99cfd0089c672003de2a
src/System.Management.Automation/engine/Modules/AnalysisCache.cshttps://github.com/PowerShell/PowerShell/pull/28376/files/6b0c24aabb4356447adf99cfd0089c672003de2a#diff-7adf577d8689e69b26c5fef7e1744061f76020ea4be07363f7af9a9e81fc3e55
Ilya (iSazonov)https://github.com/iSazonov
Nov 14, 2026https://github.com/PowerShell/PowerShell/pull/28376#discussion_r4573253482
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28376
Alexandre Zollinger Chohfi (azchohfi)https://github.com/azchohfi
Nov 16, 2026https://github.com/PowerShell/PowerShell/pull/28376#discussion_r4589416885
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
10cf701https://github.com/PowerShell/PowerShell/commit/10cf7014b7fecd9470b93e6b4aabd1297a3390d4
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28376
https://github.com/azchohfi
Use System.Threading.Lock for the serialize lockhttps://github.com/PowerShell/PowerShell/pull/28376/commits/10cf7014b7fecd9470b93e6b4aabd1297a3390d4
10cf701https://github.com/PowerShell/PowerShell/pull/28376/commits/10cf7014b7fecd9470b93e6b4aabd1297a3390d4
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F28376
https://github.com/iSazonov
Ilya (iSazonov) https://github.com/iSazonov
https://github.com/PowerShell/PowerShell/pull/28376/files/6b0c24aabb4356447adf99cfd0089c672003de2a
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/PowerShell/PowerShell/pull/28376/files/05bd7120ac0feb595ce75275f45c8efd4011faf2
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28376
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw) https://github.com/daxian-dbw
CL-Performance https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-Performance
WG-Engine https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AWG-Engine
WG-NeedsReview https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AWG-NeedsReview
The module analysis cache is never saved by short-lived pwsh processes https://github.com/PowerShell/PowerShell/issues/28375
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/28376
https://github.com/azchohfi
https://github.com/iSazonov
https://github.com/apps/copilot-pull-request-reviewer
https://github.com/daxian-dbw
https://github.com/kilasuit
https://github.com/SteveL-MSFT
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.