Skip to content

CompatHelper: bump compat for JuliaSyntax to 1, (keep existing compat)#52

Closed
mtfishman wants to merge 1 commit into
mainfrom
compathelper/new_version/2026-04-23-02-37-24-650-03745105199
Closed

CompatHelper: bump compat for JuliaSyntax to 1, (keep existing compat)#52
mtfishman wants to merge 1 commit into
mainfrom
compathelper/new_version/2026-04-23-02-37-24-650-03745105199

Conversation

@mtfishman
Copy link
Copy Markdown
Member

This pull request changes the compat entry for the JuliaSyntax package from 0.4.10 to 0.4.10, 1.
This keeps the compat entries for earlier versions.

Note: I have not tested your package with this new compat entry.
It is your responsibility to make sure that your package tests pass before you merge this pull request.

@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 (12ca441).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #52   +/-   ##
=======================================
  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.

mtfishman added a commit to ITensor/ITensorActions that referenced this pull request Apr 23, 2026
## Summary

Skip \`force_latest_compatible_version\` on the LTS leg of the Tests
matrix.
Keep the default (\`auto\`) on current Julia.

## Why

\`julia-actions/julia-runtest\`'s default is
\`force_latest_compatible_version:
auto\`, which pins each dep to the upper end of its declared compat on
bot-
authored PRs — so CompatHelper bumps are actually exercised against the
new
version instead of resolving vacuously.

That's the correct behavior on current Julia. On LTS it produces
spurious
failures whenever a transitive dep hasn't caught up. Concrete example:

[ITensorFormatter.jl#52](ITensor/ITensorFormatter.jl#52)
widens \`JuliaSyntax\` compat to \`\"0.4.10, 1\"\`, but \`JuliaFormatter
2.3\`
(the only version compatible on LTS) pins JuliaSyntax to \`0.4.10\` —
forcing
\`1\` on LTS makes it unsatisfiable. Tests on current Julia pass; tests
on
LTS fail as unresolvable.

In many cases we're fine with a bump being aspirational on LTS while
working on current Julia. Without this change those PRs can never merge
unless the entire upstream LTS chain also catches up — which we can't
always control.

## Result

- **Current Julia**: \`auto\` as before — bump PRs still verified
against the
  claimed latest version.
- **LTS**: resolves to whatever's reachable; tests still run, just not
  pinned to the upper-end compat.
@mtfishman mtfishman closed this Apr 23, 2026
@mtfishman mtfishman reopened this Apr 23, 2026
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