Skip to content

chore: finalize motoko/backend_only migration to icp-cli#1373

Draft
marc0olo wants to merge 5 commits into
masterfrom
chore/finalize-backend-only-migration
Draft

chore: finalize motoko/backend_only migration to icp-cli#1373
marc0olo wants to merge 5 commits into
masterfrom
chore/finalize-backend-only-migration

Conversation

@marc0olo

@marc0olo marc0olo commented Jun 10, 2026

Copy link
Copy Markdown
Member

Summary

Finalizes the icp-cli migration for motoko/backend_only and rust/backend_only (both previously had dual dfx/icp support).

Motoko:

  • Bump recipe @dfinity/motoko@v4.1.0v5.0.0; move config from icp.yaml to mops.toml [canisters.backend]
  • Update mops.toml: moc 1.9.0, core 2.5.0, --default-persistent-actors; remove redundant persistent keyword from actor
  • Add Makefile with 1 test; delete dfx.json, BUILD.md, .devcontainer/
  • README: rewrite per canonical structure; fix dapp→app

Rust:

  • Bump recipe @dfinity/rust@v3.1.0v3.2.0; remove candid: (no frontend — recipe extracts Candid from WASM via candid-extractor in icp-dev-env-rust:0.3.2)
  • Bump ic-cdk 0.16 → 0.20, candid 0.10 → 0.10
  • Add Makefile with 1 test; delete dfx.json, BUILD.md, .devcontainer/

CI: New backend_only.yml workflow; both jobs on icp-dev-env-{motoko,rust}:0.3.2

Test plan

  • motoko-backend_only CI passes
  • rust-backend_only CI passes

🤖 Generated with Claude Code

marc0olo and others added 5 commits June 10, 2026 23:44
Upgrades icp.yaml to @dfinity/motoko@v5.0.0 (no configuration block),
bumps mops.toml to moc 1.9.0 / core 2.5.0 with --default-persistent-actors,
removes redundant persistent keyword from actor, adds Makefile with greet test,
adds CI workflow backend_only.yml, rewrites README to canonical structure,
and deletes dfx.json, BUILD.md, and .devcontainer/.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…dd Makefile

- Bump recipe to @dfinity/rust@v3.2.0 with candid: backend/backend.did
  (v3.1.0 required candid-extractor which is not in the container)
- Bump ic-cdk 0.16 → 0.20, candid 0.10.10 → 0.10
- Commit backend/backend.did (greet interface)
- Add Makefile with test
- Delete dfx.json, BUILD.md, .devcontainer/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- icp-dev-env 0.3.2 includes candid-extractor — no longer need to commit
  backend.did as a workaround
- Remove candid: backend/backend.did from icp.yaml (backend-only, no bindings)
- Delete rust/backend_only/backend/backend.did
- Bump both motoko and rust container images to 0.3.2

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.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.

1 participant