Skip to content

chore(ci): rename internet_identity_production to internet_identity_backend#3759

Merged
aterga merged 2 commits intomainfrom
arshavir/fervent-noyce
Apr 7, 2026
Merged

chore(ci): rename internet_identity_production to internet_identity_backend#3759
aterga merged 2 commits intomainfrom
arshavir/fervent-noyce

Conversation

@aterga
Copy link
Copy Markdown
Collaborator

@aterga aterga commented Apr 5, 2026

Changes

Renames the Internet Identity backend canister artifact from internet_identity_production.wasm.gz to internet_identity_backend.wasm.gz throughout the codebase.

Files Updated

  • CI/CD Workflows: Updated .github/workflows/canister-tests.yml and deploy-rc.yml to use the new naming convention
  • Release Process: Updated .github/actions/release/ documentation and scripts
  • Documentation: Updated README.md and demo configuration files to reference the new artifact name
  • Build Scripts: Updated scripts/build and scripts/deploy-pr-to-beta to use the new naming

Backward Compatibility

The release workflow now creates backward-compatible copies:

  • internet_identity_backend.wasm.gz (primary)
  • internet_identity_production.wasm.gz (copy for compatibility)
  • internet_identity_dev.wasm.gz (copy for compatibility)

All three versions are published in releases with their respective .sha256 checksums.

…ackend

Rename the production backend artifact to internet_identity_backend for
naming consistency with internet_identity_frontend. Release artifacts
still include internet_identity_production.wasm.gz and
internet_identity_dev.wasm.gz as identical backward-compatible copies.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@aterga aterga requested a review from a team as a code owner April 5, 2026 08:42
Copilot AI review requested due to automatic review settings April 5, 2026 08:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Renames the Internet Identity backend canister artifact from internet_identity_production.wasm.gz to internet_identity_backend.wasm.gz across CI workflows, build/deploy scripts, and documentation, and updates the release pipeline to publish backward-compatible copies.

Changes:

  • Updated CI workflows to build, upload, download, and deploy the backend wasm under the new internet_identity_backend.wasm.gz name.
  • Updated build/deploy scripts to reference the renamed release asset for pullable metadata and PR-to-beta deployments.
  • Updated docs/demos to download the backend wasm using the new asset name, and extended the release workflow to publish compatibility copies plus .sha256 files.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
scripts/deploy-pr-to-beta Uses the renamed backend artifact when selecting/download-deploying PR builds.
scripts/build Updates pullable metadata URLs to reference the renamed backend release asset + checksum.
README.md Updates the example dfx.json snippet to download the renamed backend wasm.
demos/using-dev-build/README.md Updates demo docs to download the renamed backend wasm from releases/latest.
demos/using-dev-build/dfx.json Updates demo configuration to download the renamed backend wasm from releases/latest.
.github/workflows/deploy-rc.yml Deploys RC using the renamed artifact name when retrieving build artifacts.
.github/workflows/canister-tests.yml Renames artifact throughout CI and adds release-time compatibility copies + sha generation/upload.
.github/actions/release/run.sh Updates release notes verification instructions to reference the renamed backend wasm file.
.github/actions/release/README.md Updates local action usage example to use the renamed backend wasm filename.
Comments suppressed due to low confidence (1)

.github/workflows/canister-tests.yml:403

  • The workflow mostly renames the backend artifact to internet_identity_backend.wasm.gz, but this step still downloads internet_identity_production.wasm.gz from the latest release. If this is intentional for backward compatibility with older releases, it would be clearer to either (a) download internet_identity_backend.wasm.gz with a fallback to internet_identity_production.wasm.gz on 404, or (b) add an explicit comment explaining why the old name is still used here. This also conflicts with the PR description’s claim that the rename is done “throughout the codebase” (there are still non-workflow references in other files).
          mv internet_identity_backend.wasm.gz internet_identity.wasm.gz
          # NOTE: Here we download changing assets (i.e. the latest release) meaning that in some rare cases (after a new release)
          # PRs that used to be green may become red (if the new release broke something). While this is not CI best practice, it's
          # a relatively small price to pay to make sure PRs are always tested against the latest release.
          curl -sSL https://github.com/dfinity/internet-identity/releases/latest/download/internet_identity_production.wasm.gz -o internet_identity_previous.wasm.gz

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@aterga aterga requested a review from sea-snake April 7, 2026 12:44
README and demo URLs reference historical or latest releases that won't
have the new artifact name until a new release is cut. Keep them using
internet_identity_production.wasm.gz for now. Also update stale
"production build" comment in deploy-rc.yml.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@aterga aterga enabled auto-merge April 7, 2026 12:57
@aterga aterga added this pull request to the merge queue Apr 7, 2026
Merged via the queue into main with commit 3e99bbb Apr 7, 2026
46 checks passed
@aterga aterga deleted the arshavir/fervent-noyce branch April 7, 2026 13:23
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.

3 participants