Skip to content

fix: Audit 06/18 - #2577

Merged
milesj merged 3 commits into
masterfrom
fixes-0615
Jun 18, 2026
Merged

fix: Audit 06/18#2577
milesj merged 3 commits into
masterfrom
fixes-0615

Conversation

@milesj

@milesj milesj commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 18, 2026 21:48

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.

Pull request overview

This PR updates workspace alias handling and task output caching behavior, and includes a small Docker prune fix plus routine dependency/toolchain bumps across the Rust/WASM portions of the repo.

Changes:

  • Allow aliases that are identical to a project ID to be stored on the project (while avoiding alias re-index collisions).
  • Ensure output caching updates remote cache even when the casOutputsCache experiment is disabled.
  • Bump built-in toolchain plugin locator versions and refresh wasm/Cargo.lock.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
wasm/Cargo.lock Updates WASM workspace dependency lockfile entries (new/updated transitive crates).
crates/workspace/src/workspace_builder.rs Adjusts alias tracking to allow alias == project ID without conflicting with other IDs/aliases.
crates/workspace/src/projects_builder.rs Mirrors alias tracking changes in the projects builder implementation.
crates/task-runner/src/output_archiver.rs Refactors archiving flow to always save to CAS/remote, with legacy local archive only when CAS outputs cache is disabled.
crates/project-graph/tests/project_graph_test.rs Updates test expectations to reflect alias == ID now being recorded on the project.
crates/config-loader/src/toolchains_config_ext.rs Bumps default built-in toolchain plugin locator versions.
crates/app/src/commands/docker/prune.rs Refactors Docker prune install package collection and adds unit tests.
CHANGELOG.md Adds unreleased entries describing the fixes and toolchain changes.

Comment on lines +69 to +81
// Collect all outputs (streams each file directly into the CAS)
let outputs = self.collect_output_blobs(hash).await?;
let mut archived = !outputs.is_empty();

// Store action + result in local and/or remote caches
self.save_in_cas(hash, state, outputs).await?;
// Store action + result in local and/or remote caches
self.save_in_cas(hash, state, outputs).await?;

return Ok(archived);
// Create the archive file (temporary)
if !state.local_cas_enabled {
archived = self.pack_local_archive(hash, state).await?;
}

// Create the archive file (temporary)
self.pack_local_archive(hash, state).await
Ok(archived)
Comment on lines +24 to +32
.flat_map(|project| {
project.aliases.iter().filter_map(|alias| {
if alias.plugin == toolchain_id {
Some(alias.alias.clone())
} else {
None
}
})
})
Comment on lines +162 to +165
packages: get_install_packages_for_projects(
&instance.projects,
&toolchain.id,
),
@codspeed-hq

codspeed-hq Bot commented Jun 18, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

✅ 23 untouched benchmarks


Comparing fixes-0615 (aeddf16) with master (b009ad3)

Open in CodSpeed

@milesj
milesj merged commit 7164c7b into master Jun 18, 2026
36 checks passed
@milesj
milesj deleted the fixes-0615 branch June 18, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants