Skip to content

Expect runtime activity for the rooted-constant rule test on every Julia version - #3732

Merged
vchuravy merged 1 commit into
vc/enzyme-jll-0.0.300from
wm/rooted-const-test
Oct 1, 2026
Merged

vchuravy merged 1 commit into
vc/enzyme-jll-0.0.300from
wm/rooted-const-test

Conversation

@wsmoses

@wsmoses wsmoses commented Oct 1, 2026

Copy link
Copy Markdown
Member

Fixes the Julia 1.13 job of Enzyme's "Julia Enzyme CI" after EnzymeAD/Enzyme#3352 (e.g. https://github.com/EnzymeAD/Enzyme/actions/runs/36807106156/job/110193998438), which fails in test/rules/rules.jl "Rooted constant with active non-rooted arg".

The test's 1.13-only branch encoded that attribute inference on LLVM 20 proved the data half of the split convention readnone from the body of test_trace!, so the call worked without runtime activity there. test_trace! has a custom rule, which may read the whole argument, and since #3352 the body of such a function no longer yields that inference on any version, so 1.13 now throws EnzymeRuntimeActivityError like every other version. The test expects that everywhere; it is the same expectation #3610 states (its hunk for this file), extracted so it can land on its own.

Verified on Julia 1.13.0-rc1 with Enzyme main (including #3352) built locally: rules/rules fails before (28 pass, 1 error) and passes after (30 of 30).

🤖 Generated with Claude Code

https://claude.ai/code/session_01G84mmXoaait2MBqCH5BKNb

@codecov

codecov Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.10%. Comparing base (d7a2f8f) to head (c15d1c9).

Additional details and impacted files
@@                    Coverage Diff                    @@
##           vc/enzyme-jll-0.0.300    #3732      +/-   ##
=========================================================
+ Coverage                  80.05%   80.10%   +0.04%     
=========================================================
  Files                         71       71              
  Lines                      24172    24172              
=========================================================
+ Hits                       19351    19363      +12     
+ Misses                      4821     4809      -12     

☔ View full report in Codecov by Harness.
📢 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.

@vchuravy

vchuravy commented Oct 1, 2026

Copy link
Copy Markdown
Member

Verified on Julia 1.13.0-rc1

The delta there is quite big,. You should update to 1.13.1

@vchuravy
vchuravy changed the base branch from main to vc/enzyme-jll-0.0.300 October 1, 2026 10:26
@vchuravy
vchuravy added this pull request to stack #3735 October 1, 2026 10:32
…lia version

The test's 1.13-only branch encoded that attribute inference proved the
data half of the split convention readnone from the body of test_trace!,
so the call worked without runtime activity there. test_trace! has a
custom rule, which may read the whole argument, and since
EnzymeAD/Enzyme#3352 the body of such a function no longer yields that
inference on any version, so 1.13 now throws EnzymeRuntimeActivityError
like the others. This is the expectation #3610 states as well.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G84mmXoaait2MBqCH5BKNb
@vchuravy
vchuravy force-pushed the wm/rooted-const-test branch from 54e3921 to c15d1c9 Compare October 1, 2026 10:33
vchuravy added a commit that referenced this pull request Oct 1, 2026
#3732 targets #3734 but does not contain it, so without this the new tests ran with 0.0.299.

Assisted-by: Claude Code (Opus 5.5)
@vchuravy
vchuravy merged commit 99526be into main Oct 1, 2026
45 checks passed
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