Skip to content

[anneal] Cleanup test infrastructure and implement atomic setup#3305

Merged
joshlf merged 1 commit intomainfrom
G4c76oil24wlyjqav3c5s5woakn5rcxpm
Apr 21, 2026
Merged

[anneal] Cleanup test infrastructure and implement atomic setup#3305
joshlf merged 1 commit intomainfrom
G4c76oil24wlyjqav3c5s5woakn5rcxpm

Conversation

@joshlf
Copy link
Copy Markdown
Member

@joshlf joshlf commented Apr 21, 2026

  • Remove obsolete worker pool and smart cache cloning from integration
    tests
  • Configure tests to use the shared global Lean artifact cache via
    LAKE_CACHE_DIR
  • Simplify src/setup.rs by assuming only fresh installations:
    • Remove verify_tools and individual binary checksums for Aeneas
    • Simplify toolchain directory hashing to use the Rust tag
    • Make installation and Git initialization unconditional
  • Implement atomic installation in setup using a temporary directory
    and rename
  • Remove setup-related tests which are less useful now, and will become
    even less useful than that going forward as we simplify the setup
    logic

Prior to this change, the integration tests relied on a complex worker
pool and symlinking infrastructure to isolate tests and share build
artifacts. This required large amounts of disk space (e.g., a specific
run with ~100 parallel worker threads and caches consumed ~100GB). In
this commit, removing the worker pool and cache cloning approach lets us
save significant disk space usage during integration test runs.


Latest Update: v6 — Compare vs v5

📚 Full Patch History

Links show the diff between the row version and the column version.

Version v5 v4 v3 v2 v1 Base
v6 vs v5 vs v4 vs v3 vs v2 vs v1 vs Base
v5 vs v4 vs v3 vs v2 vs v1 vs Base
v4 vs v3 vs v2 vs v1 vs Base
v3 vs v2 vs v1 vs Base
v2 vs v1 vs Base
v1 vs Base
⬇️ Download this PR

Branch

git fetch origin refs/heads/G4c76oil24wlyjqav3c5s5woakn5rcxpm && git checkout -b pr-G4c76oil24wlyjqav3c5s5woakn5rcxpm FETCH_HEAD

Checkout

git fetch origin refs/heads/G4c76oil24wlyjqav3c5s5woakn5rcxpm && git checkout FETCH_HEAD

Cherry Pick

git fetch origin refs/heads/G4c76oil24wlyjqav3c5s5woakn5rcxpm && git cherry-pick FETCH_HEAD

Pull

git pull origin refs/heads/G4c76oil24wlyjqav3c5s5woakn5rcxpm

Stacked PRs enabled by GHerrit.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

🤖 Optimistically Approved: Changes appear scoped. Final strict verification will occur in the Merge Queue.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.88%. Comparing base (d410c16) to head (f98458e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3305   +/-   ##
=======================================
  Coverage   91.88%   91.88%           
=======================================
  Files          20       20           
  Lines        6076     6076           
=======================================
  Hits         5583     5583           
  Misses        493      493           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@joshlf joshlf force-pushed the G4c76oil24wlyjqav3c5s5woakn5rcxpm branch from a71a6d5 to 2fb636c Compare April 21, 2026 08:08
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

🤖 Optimistically Approved: Changes appear scoped. Final strict verification will occur in the Merge Queue.

@joshlf joshlf changed the title [anneal] WIP: Burn integration cache to the ground [anneal] Cleanup test infrastructure and implement atomic setup Apr 21, 2026
@joshlf joshlf force-pushed the G4c76oil24wlyjqav3c5s5woakn5rcxpm branch from 2fb636c to 9c54d16 Compare April 21, 2026 08:18
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

🤖 Optimistically Approved: Changes appear scoped. Final strict verification will occur in the Merge Queue.

@joshlf joshlf force-pushed the G4c76oil24wlyjqav3c5s5woakn5rcxpm branch from 9c54d16 to 20034af Compare April 21, 2026 08:21
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

🤖 Optimistically Approved: Changes appear scoped. Final strict verification will occur in the Merge Queue.

@joshlf joshlf force-pushed the G4c76oil24wlyjqav3c5s5woakn5rcxpm branch from 20034af to 7f5cca4 Compare April 21, 2026 09:37
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

🤖 Optimistically Approved: Changes appear scoped. Final strict verification will occur in the Merge Queue.

- Remove obsolete worker pool and smart cache cloning from integration
  tests
- Configure tests to use the shared global Lean artifact cache via
  `LAKE_CACHE_DIR`
- Simplify `src/setup.rs` by assuming only fresh installations:
  - Remove `verify_tools` and individual binary checksums for Aeneas
  - Simplify toolchain directory hashing to use the Rust tag
  - Make installation and Git initialization unconditional
- Implement atomic installation in `setup` using a temporary directory
  and rename
- Remove setup-related tests which are less useful now, and will become
  even less useful than that going forward as we simplify the setup
  logic

Prior to this change, the integration tests relied on a complex worker
pool and symlinking infrastructure to isolate tests and share build
artifacts. This required large amounts of disk space (e.g., a specific
run with ~100 parallel worker threads and caches consumed ~100GB). In
this commit, removing the worker pool and cache cloning approach lets us
save significant disk space usage during integration test runs.

gherrit-pr-id: G4c76oil24wlyjqav3c5s5woakn5rcxpm
@joshlf joshlf force-pushed the G4c76oil24wlyjqav3c5s5woakn5rcxpm branch from 7f5cca4 to f98458e Compare April 21, 2026 09:50
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

🤖 Optimistically Approved: Changes appear scoped. Final strict verification will occur in the Merge Queue.

@joshlf joshlf enabled auto-merge April 21, 2026 10:20
@joshlf joshlf added this pull request to the merge queue Apr 21, 2026
Merged via the queue into main with commit 11515dc Apr 21, 2026
134 checks passed
@joshlf joshlf deleted the G4c76oil24wlyjqav3c5s5woakn5rcxpm branch April 21, 2026 11:05
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