Skip to content

chore: migrate motoko/query_stats to icp-cli#1364

Draft
marc0olo wants to merge 12 commits into
masterfrom
chore/migrate-query-stats-to-icp-cli
Draft

chore: migrate motoko/query_stats to icp-cli#1364
marc0olo wants to merge 12 commits into
masterfrom
chore/migrate-query-stats-to-icp-cli

Conversation

@marc0olo

@marc0olo marc0olo commented Jun 10, 2026

Copy link
Copy Markdown
Member

Summary

Migrates motoko/query_stats from dfx to icp-cli.

  • Replace dfx.json with icp.yaml (@dfinity/motoko@v5.0.0)
  • Move src/query_stats_backend/main.mobackend/app.mo; rename actor to QueryStats
  • Replace inline actor "aaaaa-aa" with import { ic } "mo:ic" (mo:ic 4.0.0); add Nat import
  • Update mops.toml: moc 1.9.0, core 2.5.0, ic 4.0.0, --default-persistent-actors
  • Add icp.yaml, Makefile with 2 tests (timestamp format + all four stat fields), CI workflow (icp-dev-env-motoko:0.3.2)
  • README: drop ## Overview / GitHub link; fix dapp→app

Test plan

  • motoko-query_stats CI passes

🤖 Generated with Claude Code

marc0olo and others added 12 commits June 10, 2026 17:15
Replace dfx.json with icp.yaml, update mops.toml to current toolchain
versions (moc 1.9.0, core 2.5.0, ic 4.0.0), replace inline management
canister actor type with `import { ic } "mo:ic"`, move source to
backend/app.mo, add Makefile with numbered tests, CI workflow, and
updated README.

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

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>
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