Skip to content

πŸ› (clear-signing-tester) [NO-ISSUE]: Use previous Speculos Docker image#1496

Merged
aussedatlo merged 1 commit into
developfrom
fix/no-issue-update-speculos-image
May 19, 2026
Merged

πŸ› (clear-signing-tester) [NO-ISSUE]: Use previous Speculos Docker image#1496
aussedatlo merged 1 commit into
developfrom
fix/no-issue-update-speculos-image

Conversation

@aussedatlo
Copy link
Copy Markdown
Contributor

πŸ“ Description

Restore ghcr.io/ledgerhq/speculos as the Speculos Docker image used by the clear-signing-tester (cs-tester) controller, and revert the command-line arguments to match that image's native speculos entrypoint (--model nanosp/..., appPath/plugins appended after the flags, no --user flag).

Why: the CI workflow in .github/actions/cs-tester-composite/action.yml still pulls ghcr.io/ledgerhq/speculos, while the controller had been pointed at ghcr.io/ledgerhq/ledger-app-builder/ledger-app-dev-tools. The two were out of sync, which broke local/CI runs. This change reuses the previous Speculos image (see commit 7ff5f9844 for the original setup) so the controller, the README, and the CI action all reference the same image again.

Behavior is otherwise unchanged (image pull / stale checks, CAL -p flag, volumes, ports, container naming, custom-app and plugin handling, start/stop lifecycle are all preserved).

❓ Context

  • JIRA or GitHub link: NO-ISSUE

  • Feature: cs-tester / Speculos Docker image alignment

βœ… Checklist

Pull Requests must pass CI checks and undergo code review. Set the PR as Draft if it is not yet ready for review.

  • Covered by automatic tests β€” manual run of cs-tester locally; no unit tests cover the Docker command builder.
  • No changeset needed β€” changes only affect the private apps/clear-signing-tester app, not a published package.
  • Documentation is up-to-date β€” apps/clear-signing-tester/README.md updated to reference ghcr.io/ledgerhq/speculos:latest.
  • Impact of the changes:
    • apps/clear-signing-tester/src/infrastructure/service-controllers/SpeculosServiceController.ts: image base reverted to ghcr.io/ledgerhq/speculos; command rebuilt with --model (mapping nanos+ β†’ nanosp), appPath/plugins after the flags, and --user removed.
    • apps/clear-signing-tester/README.md: docker pull instruction updated.
    • No other packages or apps are affected.

🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.

Made with Cursor

Copilot AI review requested due to automatic review settings May 18, 2026 15:16
@aussedatlo aussedatlo requested a review from a team as a code owner May 18, 2026 15:16
@vercel
Copy link
Copy Markdown

vercel Bot commented May 18, 2026

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

Project Deployment Actions Updated (UTC)
device-sdk-ts-sample Ready Ready Preview, Comment May 18, 2026 3:22pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
doc-device-management-kit Ignored Ignored May 18, 2026 3:22pm

Request Review

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

Reverts the cs-tester Speculos controller to use the ghcr.io/ledgerhq/speculos Docker image, realigning it with the CI workflow which still pulls that image. Command-line arguments are updated to match this image's native speculos entrypoint.

Changes:

  • Restore SPECULOS_DOCKER_IMAGE_BASE to ghcr.io/ledgerhq/speculos.
  • Rebuild docker command with --model (mapping nanos+ β†’ nanosp), drop --user, move appPath/plugin args after flags.
  • Update README docker pull instruction to match.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
apps/clear-signing-tester/src/infrastructure/service-controllers/SpeculosServiceController.ts Switch image base and rebuild command args for the speculos entrypoint.
apps/clear-signing-tester/README.md Update docker pull command to the speculos image.

πŸ’‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Restore ghcr.io/ledgerhq/speculos as the Docker image and adapt the
command to its native speculos entrypoint, so the controller is aligned
with the CI workflow which still pulls that image. The device model is
inferred from the .elf file, so no --model argument is passed.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown
Contributor

Danger Check Results

Messages

⚠️

No changeset file found. Please make sure this is intended or add a changeset file.

βœ…

Danger: All checks passed successfully! πŸŽ‰

Generated by 🚫 dangerJS against c808a03

@aussedatlo aussedatlo added this pull request to the merge queue May 19, 2026
Merged via the queue into develop with commit 1cda236 May 19, 2026
58 of 59 checks passed
@aussedatlo aussedatlo deleted the fix/no-issue-update-speculos-image branch May 19, 2026 07:43
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