Skip to content

feat(sdk): bump kernel to v6.18.56-ctsi-1 - #562

Merged
endersonmaia merged 7 commits into
prerelease/v2-alphafrom
feat/bump-kernel-version
Nov 11, 2026
Merged

endersonmaia merged 7 commits into
prerelease/v2-alphafrom
feat/bump-kernel-version

Conversation

@endersonmaia

@endersonmaia endersonmaia commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

This pull request updates the @cartesi/sdk package with several important upgrades and improvements to dependencies, Dockerfile setup, and devnet configuration. The main goals are to keep the stack up-to-date with the latest versions, improve compatibility and reliability, and ensure historical state reads work for longer devnet sessions.

Dependency Upgrades:

  • Bumped machine-emulator to v0.22.0 for improved emulator features and fixes. [1] [2] [3]
  • Updated the kernel to v6.18.56-ctsi-1 and changed the source for kernel images and headers to the new cartesi/linux repository. [1] [2] [3]
  • Bumped dave (PRT) to v3.0.0-alpha.6 and updated related Dockerfile sections, including new download URLs and checksums for the sling node binary. [1] [2] [3] [4]
  • Upgraded rollups-node to v2.0.0-alpha.14 with updated checksums. [1] [2]
  • Upgraded PostgreSQL base image to v18 and adjusted Dockerfile to accommodate new PGDATA location. [1] [2] [3]

Devnet and Dockerfile Improvements:

  • Increased Anvil's state retention from 3,600 to 86,400 blocks (--max-persisted-states 86400) for better support of long-running sessions and historical state reads. [1] [2]
  • Updated Dockerfile to use new binary names and download locations for sling node and kernel images, with corresponding checksum changes. [1] [2] [3]

These changes ensure the SDK is using the latest and most compatible versions of its core dependencies, while also improving the reliability of development environments.

@changeset-bot

changeset-bot Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f50637c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cartesi/sdk Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@endersonmaia
endersonmaia force-pushed the feat/bump-kernel-version branch from c367e78 to c4b9818 Compare November 11, 2026 17:23
@endersonmaia
endersonmaia force-pushed the feat/bump-kernel-version branch from c4b9818 to cf68702 Compare November 11, 2026 17:32
@endersonmaia
endersonmaia marked this pull request as ready for review November 11, 2026 17:33
@endersonmaia
endersonmaia requested a balanced review from Copilot November 11, 2026 17:33
@endersonmaia endersonmaia self-assigned this Nov 11, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The SDK bumps leave the CLI rejecting emulator 0.22.0 and using outdated PRT deployment bindings, breaking Docker-backed build/shell commands and PRT runs.

2 open issues
What changed in this PR

Updates the Cartesi SDK’s kernel and runtime dependencies, adjusts Docker packaging for upstream changes, and extends devnet historical-state retention.

Changes:

  • Upgrades the kernel, machine emulator, Dave, rollups-node, and PostgreSQL.
  • Updates artifact URLs, checksums, Sling binary naming, and PostgreSQL data copying.
  • Enables historical-state preservation with a limit of 86,400 persisted states.
File Description
packages/​sdk/​Dockerfile Updates artifacts, checksums, binary paths, and PostgreSQL data copying.
packages/​sdk/​docker-bake.hcl Pins upgraded dependencies and base images.
packages/​sdk/​devnet Enables extended historical-state retention.
.changeset/​yellow-sides-give.md Records the PostgreSQL upgrade.
.changeset/​solid-cups-smell.md Records the Dave upgrade.
.changeset/​slimy-tigers-dream.md Records the kernel upgrade.
.changeset/​slick-cobras-joke.md Records the machine-emulator upgrade.
.changeset/​shiny-wings-play.md Documents increased devnet state retention.
.changeset/​sharp-buttons-matter.md Records the rollups-node upgrade.

Review effort: Balanced

Comment thread packages/sdk/docker-bake.hcl Resolved
Comment thread packages/sdk/docker-bake.hcl Resolved
@github-project-automation github-project-automation Bot moved this from Todo to Waiting Merge in Rollups SDK Nov 11, 2026
@github-project-automation github-project-automation Bot moved this to 👍 Waiting Merge in Rollups Tooling Nov 11, 2026
@endersonmaia
endersonmaia merged commit 9aba98f into prerelease/v2-alpha Nov 11, 2026
7 checks passed
@endersonmaia
endersonmaia deleted the feat/bump-kernel-version branch November 11, 2026 18:23
@github-project-automation github-project-automation Bot moved this from Waiting Merge to Done in Rollups SDK Nov 11, 2026
@github-project-automation github-project-automation Bot moved this from 👍 Waiting Merge to 📦 Done in Rollups Tooling Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done
Status: 📦 Done

Development

Successfully merging this pull request may close these issues.

3 participants