Repository navigation
Set up Julia in formatter workflow - #88
Closed
ChrisRackauckas-Claude wants to merge 1 commit into
Closed
ChrisRackauckas-Claude wants to merge 1 commit into
ChrisRackauckas-Claude wants to merge 1 commit into
Conversation
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: OpenAI Codex <noreply@openai.com> Agent-Harness: Codex CLI 0.151.0 Agent-Model: gpt-5.6-sol Agent-Session: local session ID 01a0598f-11b9-72d1-91d9-b2fbb186557d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ignore this PR until it has been reviewed by @ChrisRackauckas.
What changed and why
The scheduled formatter workflow invoked
juliawithout first provisioning it. That happened to work on GitHub-hosted Ubuntu images, but run 671 was assigned to an organization self-hosted runner without Julia and failed before JuliaFormatter could be installed. This adds the documentedjulia-actions/setup-julia@v3step with Julia1; the formatter commands and all package code remain unchanged.History inspection and a repository bisect identified
786de00a76ddebade7acd7d0aa00f76402bd256e(Setup CI) as the first bad commit: it introducedFormatPR.ymlwith the ambient-Julia assumption.Failing before
The hosted job checked out
d39e0b9d2438e92b6133258d5c4c73461f402fc3on runnerself-hosted-4vcpu-16gb-486tp-runner-vm2rband reported:The same absence is reproducible locally with a clean runner-like PATH:
The predicate used for the bisect treats a present formatter workflow without
julia-actions/setup-juliaas bad:Passing after
The same setup predicate now passes and verifies ordering:
I ran the workflow's exact formatter commands with Julia 1.12.4 in a disposable checkout and workspace-local depot:
The expected formatter changes were confined to that disposable checkout, which was removed after validation.
Additional checks:
Hosted verification
All 17 hosted checks passed on the PR head. The final BoundaryValueDiffEq downstream job passed in 55m55s:
https://github.com/SciML/FastAlmostBandedMatrices.jl/actions/runs/33467336935/job/99729814812
Not verified
Links
🤖 Generated with Codex CLI 0.151.0 (model: gpt-5.6-sol; session: local session ID 01a0598f-11b9-72d1-91d9-b2fbb186557d)