Skip to content

Atomic: docker cargo cache#7256

Merged
h0lybyte merged 2 commits intodevfrom
atom-02250839-docker-cargo-cache
Feb 25, 2026
Merged

Atomic: docker cargo cache#7256
h0lybyte merged 2 commits intodevfrom
atom-02250839-docker-cargo-cache

Conversation

@github-actions
Copy link
Contributor

Atomic Branch: atom-02250839-docker-cargo-cache

This is an automated pull request for atomic changes.

Changes

  • Review changes
  • Verify tests pass
  • Ready to merge

Branch Info

  • Source: atom-02250839-docker-cargo-cache
  • Target: dev
  • Type: Atomic workflow

This PR was automatically created by the atomic branch workflow.

…plugin

Split the monolithic builder stage into separate deps, builder, and
plugin-builder stages so BuildKit can compile the server binary and
plugin cdylib concurrently. The plugin stage reuses cooked third-party
deps via CARGO_TARGET_DIR, eliminating redundant compilation.
Pre-build workspace crates in dependency order across isolated Docker
layers so only the changed tier recompiles on rebuild:

  deps → foundation (nbt, api-macros, util, data, macros, config)
       → core (world, protocol, inventory)
       → builder | plugin-builder  (parallel via BuildKit)

When only the root pumpkin crate or plugin source changes, foundation
and core layers are fully cached.
@github-project-automation github-project-automation bot moved this to Review in KBVE Feb 25, 2026
@h0lybyte h0lybyte merged commit ee41418 into dev Feb 25, 2026
5 of 6 checks passed
@h0lybyte h0lybyte deleted the atom-02250839-docker-cargo-cache branch February 25, 2026 14:06
@github-project-automation github-project-automation bot moved this from Review to Done in KBVE Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant