Skip to content

fix(script): Insomnia.global.set is not updating environment when only global base environment is activated[INS-5795] - #8790

Merged
cwangsmv merged 4 commits into
developfrom
fix/update-global-base-env-issue
Jun 19, 2025
Merged

fix(script): Insomnia.global.set is not updating environment when only global base environment is activated[INS-5795]#8790
cwangsmv merged 4 commits into
developfrom
fix/update-global-base-env-issue

Conversation

@cwangsmv

@cwangsmv cwangsmv commented Jun 9, 2025

Copy link
Copy Markdown
Contributor

Highlights:
Fix the issue that Insomnia.global.set is not updating environment when global base environment is activated.
Modify Insomnia script to make globals and baseGlobals point to the same environment object when global base environment is activated.

Closes #8789

@cwangsmv cwangsmv changed the title fix(script): Insomnia.global.set is not updating environment when only global base environment is activated fix(script): Insomnia.global.set is not updating environment when only global base environment is activated[INS-5795] Jun 9, 2025
@cwangsmv
cwangsmv marked this pull request as draft June 9, 2025 11:50
@cwangsmv
cwangsmv marked this pull request as ready for review June 10, 2025 09:01
@cwangsmv
cwangsmv requested a review from ihexxa June 10, 2025 09:01
ihexxa
ihexxa previously approved these changes Jun 10, 2025
@cwangsmv
cwangsmv force-pushed the fix/update-global-base-env-issue branch from 3836d11 to 2bb57e9 Compare June 19, 2025 06:45
@cwangsmv
cwangsmv merged commit 2c65178 into develop Jun 19, 2025
@cwangsmv
cwangsmv deleted the fix/update-global-base-env-issue branch June 19, 2025 07:25
RoamingLost pushed a commit to RoamingLost/insomnia that referenced this pull request Aug 6, 2025
…y global base environment is activated[INS-5795] (Kong#8790)

* Fix insomnia.global script issue
* Fix environment name issue
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.

Scirpt insomnia.globals.set(,) not set variable when use base global environment

2 participants