Skip to content

Run Runic on master to fix the Runic Format Check#4647

Merged
AayushSabharwal merged 3 commits into
SciML:masterfrom
ChrisRackauckas-Claude:runic-format-master-d55a4aa
Jun 22, 2026
Merged

Run Runic on master to fix the Runic Format Check#4647
AayushSabharwal merged 3 commits into
SciML:masterfrom
ChrisRackauckas-Claude:runic-format-master-d55a4aa

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

What

master is currently red on the Runic / Runic Format Check. 48 tracked .jl files (mostly under lib/ModelingToolkitBase/ and lib/SciCompDSL/, plus several root src/ and test/ files) had drifted out of Runic format after recent merges.

This PR reformats them with Runic v1.7.0 — the version the centralized SciML/.github/.github/workflows/runic.yml@v1 workflow resolves for runic-version: "1".

Verification

Ran Runic 1.7.0 locally over git ls-files -- '*.jl':

  • Before: 48 files flagged (matches the CI failure list).
  • After: ALL CLEAN — Runic check passes (0 files flagged).

Changes are purely stylistic (e.g. 1e-6 -> 1.0e-6, explicit trailing return, closing-paren line wrapping); no semantic changes.

Please ignore until reviewed by @ChrisRackauckas

@AayushSabharwal

Copy link
Copy Markdown
Member

Reran some jobs because I'm suspicious why they timed out

ChrisRackauckas and others added 3 commits June 22, 2026 17:52
The Runic Format Check on master is failing because 48 .jl files (mostly
under lib/ModelingToolkitBase and lib/SciCompDSL, plus several root src/
and test/ files) drifted out of Runic format after recent merges. Format
them with Runic v1.7.0 (the version the centralized
SciML/.github runic.yml@v1 workflow resolves for runic-version=1).

Pure formatting changes only (e.g. 1e-6 -> 1.0e-6, explicit trailing
return, closing-paren line wrapping); no semantic changes.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The runic-action (Runic CLI) normalizes the file to a single trailing
newline, which format_string does not do in-memory; src/systems/codegen.jl
had an extra blank line at EOF that the CLI check flagged. Removing it makes
the full-tree Runic CLI check pass (rc=0).

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@AayushSabharwal AayushSabharwal force-pushed the runic-format-master-d55a4aa branch from 517a54c to 72f44c3 Compare June 22, 2026 12:26
@AayushSabharwal AayushSabharwal marked this pull request as ready for review June 22, 2026 12:26
@AayushSabharwal AayushSabharwal merged commit 41c3a2c into SciML:master Jun 22, 2026
28 of 36 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.

3 participants