Skip to content

Narrow test JuliaSyntax compat to match resolver#53

Merged
mtfishman merged 2 commits intomainfrom
mf/narrow-compat-to-match-resolver
Apr 23, 2026
Merged

Narrow test JuliaSyntax compat to match resolver#53
mtfishman merged 2 commits intomainfrom
mf/narrow-compat-to-match-resolver

Conversation

@mtfishman
Copy link
Copy Markdown
Member

@mtfishman mtfishman commented Apr 23, 2026

JuliaFormatter 2.3.0 (the latest registered version) pins JuliaSyntax to 0.4.10. That makes test/Project.toml's entry JuliaSyntax = "0.4.10, 1" aspirational — the 1 disjunct is never reachable.

Under the compat-bounds check's breaking-bucket rule (ITensorActions#79), this spans two buckets (0.4 and 1) and fails the check. Narrowing to "0.4.10" collapses to a single bucket.

Widen back whenever JuliaFormatter ships a release with broader JuliaSyntax compat.

Supersedes

JuliaFormatter 2.3.0 (the latest registered) pins JuliaSyntax to 0.4.10.
That transitively forces Runic to downgrade from 1.7 to 1.5.1 (the last
Runic compatible with JuliaSyntax 0.4.10). The Check Compat Bounds check
was flagging the resulting aspirational claims:

- Runic: root compat "1.5.1" (caret, >=1.5.1, <2.0) claimed support up
  to 1.7.0; resolver only reaches 1.5.1. Narrow to "~1.5.1" (1.5.x).
- JuliaSyntax: test compat "0.4.10, 1" claimed support for 1.x; resolver
  only reaches 0.4.10. Drop the 1.x disjunct.

Widen back whenever JuliaFormatter ships a 2.4 release with broader
JuliaSyntax compat.
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.22%. Comparing base (75e24d5) to head (246f79d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #53   +/-   ##
=======================================
  Coverage   86.22%   86.22%           
=======================================
  Files           9        9           
  Lines         392      392           
=======================================
  Hits          338      338           
  Misses         54       54           
Flag Coverage Δ
docs 4.24% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Under the updated compat-bounds check (ITensorActions#79), within-bucket
gaps no longer fail. Runic at 1.5.1 vs 1.7.0 is the same major-1
breaking bucket, so the narrowing from "1.5.1" (caret) to "~1.5.1" is
no longer needed. The JuliaSyntax test narrowing (0.4.10 vs 1) stays
because it spans breaking buckets.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mtfishman mtfishman changed the title Narrow Runic and JuliaSyntax compat to match resolver Narrow test JuliaSyntax compat to match resolver Apr 23, 2026
@mtfishman mtfishman merged commit d8307d0 into main Apr 23, 2026
16 checks passed
@mtfishman mtfishman deleted the mf/narrow-compat-to-match-resolver branch April 23, 2026 19:33
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.

1 participant