Skip to content

feat(env): apply initial use during env --use-on-cd#1516

Merged
Schniz merged 1 commit intomasterfrom
gal/env-use-on-cd-internal-use
Mar 5, 2026
Merged

feat(env): apply initial use during env --use-on-cd#1516
Schniz merged 1 commit intomasterfrom
gal/env-use-on-cd-internal-use

Conversation

@Schniz
Copy link
Copy Markdown
Owner

@Schniz Schniz commented Mar 5, 2026

Why

fnm env --use-on-cd previously relied on shell hook output to immediately spawn an extra fnm use subprocess after eval. This change applies the initial version inside fnm env itself, reducing shell startup overhead and making initialization smoother.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
fnm Ready Ready Preview, Comment Mar 5, 2026 8:19pm

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 5, 2026

🦋 Changeset detected

Latest commit: 322b27e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
fnm Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Schniz
Copy link
Copy Markdown
Owner Author

Schniz commented Mar 5, 2026

that should shave ~5-10ms on some shell setups. maybe only on mine because i run the debug build. but still worth the shot.

@Schniz Schniz merged commit 10c68cb into master Mar 5, 2026
18 checks passed
@Schniz Schniz deleted the gal/env-use-on-cd-internal-use branch March 5, 2026 20:47
This was referenced Jul 20, 2025
@fabricionaweb
Copy link
Copy Markdown

This seems to close #1408 and #1309 if I get it correct, since it have been a year Im not sure :P

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.

2 participants