Skip to content

Fix allocation issue on julia pre CI#402

Merged
amontoison merged 1 commit intoJuliaSmoothOptimizers:mainfrom
MaxenceGollier:patch-allocations
Feb 21, 2026
Merged

Fix allocation issue on julia pre CI#402
amontoison merged 1 commit intoJuliaSmoothOptimizers:mainfrom
MaxenceGollier:patch-allocations

Conversation

@MaxenceGollier
Copy link
Copy Markdown
Contributor

see for example this run.

I think this should fix, @amontoison, can you approve the workflows and merge if it solves ?

We can merge #399 and #400 after.

Fixes allocation isse on julia pre
Copilot AI review requested due to automatic review settings February 20, 2026 19:44
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 adjusts the @wrappedallocs test helper macro to reduce CI flakiness in allocation checks (notably on Julia pre-release CI) by “warming up” the evaluated expression before measuring allocations.

Changes:

  • Update @wrappedallocs to evaluate the target expression once before running @allocated on it.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/test_diag.jl
@amontoison
Copy link
Copy Markdown
Member

@MaxenceGollier I approved the workflow.
The Julia servers are down this afternoon.

@amontoison amontoison closed this Feb 21, 2026
@amontoison amontoison reopened this Feb 21, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.36%. Comparing base (32dbc5e) to head (708d00e).
⚠️ Report is 67 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #402      +/-   ##
==========================================
+ Coverage   95.00%   95.36%   +0.36%     
==========================================
  Files          17       21       +4     
  Lines        1100     1186      +86     
==========================================
+ Hits         1045     1131      +86     
  Misses         55       55              

☔ 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.

@amontoison amontoison merged commit 40edb65 into JuliaSmoothOptimizers:main Feb 21, 2026
65 of 152 checks passed
@MaxenceGollier MaxenceGollier deleted the patch-allocations branch February 23, 2026 14:51
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.

3 participants