Skip to content

fix(ic-certified-assets): set the ic_env cookie only if the canister environment changed - #4446

Merged
ilbertt merged 2 commits into
masterfrom
luca/fix-instructions-limit
Dec 23, 2025
Merged

fix(ic-certified-assets): set the ic_env cookie only if the canister environment changed#4446
ilbertt merged 2 commits into
masterfrom
luca/fix-instructions-limit

Conversation

@ilbertt

@ilbertt ilbertt commented Dec 23, 2025

Copy link
Copy Markdown
Contributor

Description

Sets the ic_env cookie for all HTML files only if the canister environment changed in the commit_batch method.

The feature was first introduced in #4387.

How Has This Been Tested?

Successfully deployed the dfinity/portal locally.

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

@ilbertt
ilbertt requested a review from a team as a code owner December 23, 2025 16:42
@ilbertt
ilbertt enabled auto-merge (squash) December 23, 2025 17:08
@ilbertt
ilbertt merged commit c7437c6 into master Dec 23, 2025
135 of 137 checks passed
@ilbertt
ilbertt deleted the luca/fix-instructions-limit branch December 23, 2025 17:26
adamspofford-dfinity pushed a commit that referenced this pull request Dec 23, 2025
…r environment changed (#4446)

# Description

Sets the `ic_env` cookie for all HTML files only if the canister environment changed in the `commit_batch` method.

The feature was first introduced in #4387.

# How Has This Been Tested?

Successfully deployed the [dfinity/portal](https://github.com/dfinity/portal) locally.
adamspofford-dfinity added a commit that referenced this pull request Dec 23, 2025
lwshang added a commit that referenced this pull request Jan 16, 2026
* chore: Release 0.30.2-beta.0 (#4444)

* fix(ic-certified-assets): set the `ic_env` cookie only if the canister environment changed (#4446) (#4447)

* chore: Release 0.30.2-beta.1 (#4448)

Signed-off-by: Adam Spofford <adam.spofford@dfinity.org>

* chore: Release 0.30.2-beta.1 (#4457)

* chore: Release 0.30.2 (#4463)

Signed-off-by: Linwei Shang <linwei.shang@dfinity.org>

* update manifest.json

---------

Signed-off-by: Adam Spofford <adam.spofford@dfinity.org>
Signed-off-by: Linwei Shang <linwei.shang@dfinity.org>
Co-authored-by: Vivienne Siffert <severin.siffert@dfinity.org>
Co-authored-by: Adam Spofford <93943719+adamspofford-dfinity@users.noreply.github.com>
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