Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(tenv): update to image with newest 2.8.9 release emulators #17536

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

grdddj
Copy link
Contributor

@grdddj grdddj commented Mar 10, 2025

New release emulators in tenv

Copy link

coderabbitai bot commented Mar 10, 2025

Walkthrough

This pull request updates the Docker image tag used for the trezor-user-env across multiple configuration files, including GitHub Actions workflows and several Docker Compose files for various testing and CI environments. The image tag is changed from the old commit hash to a new one, ensuring consistency in the Docker environment setup across different services. Additionally, the commit reference for the trezor-common submodule has been updated.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
docker/docker-compose.suite-dev.yml (1)

7-7: Optional Improvement: Centralize image tag configuration.

Since this image tag is updated across multiple Docker Compose files, consider using an environment variable or a shared configuration file (e.g., a .env file) to define the image tag. This can improve maintainability and reduce duplication in future updates.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6fb2159 and b6acd52.

📒 Files selected for processing (12)
  • .github/workflows/test-trezor-user-env-link-e2e.yml (1 hunks)
  • docker/docker-compose.connect-popup-ci.yml (1 hunks)
  • docker/docker-compose.connect-popup-test.yml (1 hunks)
  • docker/docker-compose.connect-test.yml (1 hunks)
  • docker/docker-compose.connect-webextension-test.yml (1 hunks)
  • docker/docker-compose.suite-ci-pw.yml (1 hunks)
  • docker/docker-compose.suite-desktop-ci.yml (1 hunks)
  • docker/docker-compose.suite-dev.yml (1 hunks)
  • docker/docker-compose.suite-native-ci.yml (1 hunks)
  • docker/docker-compose.suite-test.yml (1 hunks)
  • docker/docker-compose.transport-test-ci.yml (1 hunks)
  • submodules/trezor-common (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (17)
  • GitHub Check: PR-check / node-override init-api-flaky
  • GitHub Check: PR-check / web-override init-api-flaky
  • GitHub Check: PR-check / node-authorizeCoinjoin cancelCoinjoinAuthorization passphrase unlockPath setBusy checkFirmwareAuthenticity keepSession cancel.test info.test resetDevice-api
  • GitHub Check: PR-check / web-authorizeCoinjoin cancelCoinjoinAuthorization passphrase unlockPath setBusy checkFirmwareAuthenticity keepSession cancel.test info.test resetDevice-api
  • GitHub Check: build-deploy
  • GitHub Check: build-deploy
  • GitHub Check: run-desktop-tests (@group=wallet, trezor-user-env-unix bitcoin-regtest)
  • GitHub Check: run-desktop-tests (@group=other, trezor-user-env-unix)
  • GitHub Check: run-desktop-tests (@group=passphrase, trezor-user-env-unix)
  • GitHub Check: run-desktop-tests (@group=settings, trezor-user-env-unix bitcoin-regtest)
  • GitHub Check: run-desktop-tests (@group=device-management, trezor-user-env-unix)
  • GitHub Check: run-desktop-tests (@group=suite, trezor-user-env-unix)
  • GitHub Check: transport-e2e-test
  • GitHub Check: Setup and Cache Dependencies
  • GitHub Check: build-web
  • GitHub Check: Analyze with CodeQL (javascript)
  • GitHub Check: e2e-test-trezor-user-env-link
🔇 Additional comments (12)
submodules/trezor-common (1)

1-1: Submodule Commit Update Verification

The submodule commit hash has been updated to 648fff95111282683f25f9beed6308c8b3f712d4, which should align with the new emulator release in the tenv image. Please verify that downstream dependencies and CI pipelines correctly sync with this update.

.github/workflows/test-trezor-user-env-link-e2e.yml (1)

39-39: Updated Docker image tag in GitHub Actions workflow.

The Docker run command now correctly specifies the new image tag ee7f945dc2cc47e0a5776f3f86dfe5b70455a725, which aligns with the updated emulator release.

docker/docker-compose.connect-test.yml (1)

4-4: Updated Docker image tag in Compose configuration.

The trezor-user-env-unix service now uses the new image tag ghcr.io/trezor/trezor-user-env:ee7f945dc2cc47e0a5776f3f86dfe5b70455a725, ensuring consistency with the newest emulator release.

docker/docker-compose.suite-dev.yml (1)

7-7: Consistent image tag update for suite-dev environment.

The update to the new image tag ensures that the development setup will run the newest emulator release. Make sure that any dependent configurations or build scripts referencing the old tag are also updated.

docker/docker-compose.suite-native-ci.yml (1)

6-6: Updated Docker image tag for CI configuration.

The change to ghcr.io/trezor/trezor-user-env:ee7f945dc2cc47e0a5776f3f86dfe5b70455a725 ensures that the CI environment now utilizes the latest emulator release.

docker/docker-compose.suite-desktop-ci.yml (1)

4-4: Proper image tag update for desktop CI.

The trezor-user-env-unix service in the desktop CI configuration has been updated to the new image tag, maintaining consistency with other environments. Verify that any related dependencies or service links continue to operate as expected with the updated image.

docker/docker-compose.connect-popup-test.yml (1)

4-4: Image Tag Update for trezor-user-env-unix Service
The Docker image tag has been updated to ghcr.io/trezor/trezor-user-env:ee7f945dc2cc47e0a5776f3f86dfe5b70455a725, aligning with the latest release emulators (v2.8.9). This change ensures that the test environment is using the updated image version as intended.

docker/docker-compose.suite-ci-pw.yml (1)

4-4: CI Environment Image Update
The image for the trezor-user-env-unix service is updated to ghcr.io/trezor/trezor-user-env:ee7f945dc2cc47e0a5776f3f86dfe5b70455a725, ensuring that the CI pipeline leverages the newest emulator release.

docker/docker-compose.connect-webextension-test.yml (1)

4-4: WebExtension Test Environment Image Upgrade
The Docker image tag on the trezor-user-env-unix service has been updated to ghcr.io/trezor/trezor-user-env:ee7f945dc2cc47e0a5776f3f86dfe5b70455a725. This update ensures that the webextension test runner is operating with the latest emulator environment as specified in the PR objectives.

docker/docker-compose.suite-test.yml (1)

3-4: Consistent Environment Configuration Update
The trezor-user-env-unix service image has been updated to the new tag ghcr.io/trezor/trezor-user-env:ee7f945dc2cc47e0a5776f3f86dfe5b70455a725. This ensures uniformity across the suite test environment by using the latest emulator release.

docker/docker-compose.transport-test-ci.yml (1)

3-4: Transport Test CI Image Tag Upgrade
The image for the trezor-user-env-unix service in the transport test CI configuration is now updated to ghcr.io/trezor/trezor-user-env:ee7f945dc2cc47e0a5776f3f86dfe5b70455a725. Please verify that the updated image is fully compatible with your CI tests and local development needs.

docker/docker-compose.connect-popup-ci.yml (1)

4-4: Review: Updated Docker Image Tag

The new image tag:

ghcr.io/trezor/trezor-user-env:ee7f945dc2cc47e0a5776f3f86dfe5b70455a725

correctly reflects the updated 2.8.9 release emulators as outlined in the PR objectives. This change ensures that the service trezor-user-env-unix in this CI configuration uses the latest image. Please double-check that similar updates across other relevant Docker Compose files are consistent with this change.

Copy link
Contributor

@Vere-Grey Vere-Grey left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants