Skip to content

feat: pixi-compute-engine - #5912

Merged
baszalmstra merged 5 commits into
prefix-dev:feature/lockfile-v7from
baszalmstra:feat/pixi-compute
Apr 16, 2026
Merged

baszalmstra merged 5 commits into
prefix-dev:feature/lockfile-v7from
baszalmstra:feat/pixi-compute

Conversation

@baszalmstra

Copy link
Copy Markdown
Contributor

Description

This PR introduces a generic compute engine based on buck2 DICE, bazels Skyframe, salsa and picante. I want to eventually replace the command dispatcher with this code. I will apply the strangler pattern to slowly replace the command dispatcher from the inside out. This PR adds the foundation of the compute engine. Follow-ups will integrate this into the command dispatcher itself.

How Has This Been Tested?

Extensive unit and integration tests.

AI Disclosure

  • This PR contains AI-generated content.
    • I have tested any AI-generated content in my PR.
    • I take responsibility for any AI-generated content in my PR.

Tools: Claude COde

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added sufficient tests to cover my changes.

@baszalmstra
baszalmstra requested a review from hunger April 16, 2026 09:43
@@ -0,0 +1,189 @@
//! Generic incremental computation engine for pixi.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I recommend start the review here.

//! // Render the snapshot to Graphviz `.dot` for visualization. Use
//! // `write_dot(path)` to write straight to a file, or `write_dot_to`
//! // for any `std::io::Write` (here, stderr).
//! graph.write_dot_to(&mut std::io::stderr()).unwrap();

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

If you render the output you get:

Image

Comment thread crates/pixi_compute_engine/Cargo.toml Resolved
@baszalmstra
baszalmstra force-pushed the feature/lockfile-v7 branch from d11415d to 7cf6e7d Compare April 16, 2026 12:45
@baszalmstra
baszalmstra force-pushed the feature/lockfile-v7 branch from 7cf6e7d to feada3d Compare April 16, 2026 12:54
@baszalmstra
baszalmstra force-pushed the feature/lockfile-v7 branch from feada3d to 6241687 Compare April 16, 2026 13:49
@baszalmstra
baszalmstra force-pushed the feat/pixi-compute branch 2 times, most recently from 7fa7375 to 059f2bd Compare April 16, 2026 14:03
@baszalmstra
baszalmstra merged commit 090aafa into prefix-dev:feature/lockfile-v7 Apr 16, 2026
36 of 37 checks passed
baszalmstra added a commit that referenced this pull request May 1, 2026
baszalmstra added a commit that referenced this pull request May 1, 2026
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.

2 participants