Skip to content

Use Base deleteat! directly - #625

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:agent/import-deleteat-from-base
Aug 11, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:agent/import-deleteat-from-base

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Aug 11, 2026 •

Copy link
Copy Markdown
Member

Important

Please ignore this PR until it has been reviewed by @ChrisRackauckas.

What changed

Remove deleteat! from the explicit DiffEqBase import list and use Base's binding directly.

deleteat! is exported by Base and used by src/coupling.jl. The stale non-owner import was added in 033d48a and became visible to the current QA graph after #624 allowed LinearSolve 5. ExplicitImports now correctly reports that Base owns the imported function.

This does not change runtime behavior or public API: unqualified deleteat! resolves to the same Base function without the redundant DiffEqBase import.

Failing before

On current master 93d9c903689feaaec222b3708c627b0248abfd60, Julia 1.10.11, and a fresh registered graph (LinearSolve 5.9.0, OrdinaryDiffEq 7.3.0, SciMLBase 3.44.0; no local package overrides):

$ GROUP=QA /home/crackauc/.juliaup/bin/julia +1.10 --startup-file=no --project -e 'using Pkg; Pkg.test()'
ExplicitImportsFromNonOwnerException
Module `JumpProcesses` has explicit imports of names from modules other than their owner as determined via `Base.which`:
- `deleteat!` has owner `Base` but it was imported from `DiffEqBase` at `src/JumpProcesses.jl:41:19`

Test Summary:       | Pass  Fail  Error  Total
ExplicitImports     |    3            1      4

The same run also reports the independent intentional-reexport failure fixed by #623.

Passing after

After this one-line import correction, the same LinearSolve 5 graph reports:

Test Summary:       | Pass  Total
ExplicitImports     |    4      4

Applying the independent one-line reexport fix from #623 in the local validation checkout makes the entire QA group green:

Test Summary: | Pass  Total   Time
QA Tests      |   15     15  31.1s
31.345975 seconds (25.07 M allocations: 1.352 GiB, 6.72% gc time, 72.55% compilation time: <1% of which was recompilation)
     Testing JumpProcesses tests passed

Additional checks:

$ typos src/JumpProcesses.jl
# exit 0

$ git diff --check
# exit 0

The runtime group containing the affected split-coupling code also passes:

$ GROUP=InterfaceI /home/crackauc/.juliaup/bin/julia +1.10 --startup-file=no --project -e 'using Pkg; Pkg.test()'
Test Summary:       | Pass  Total   Time
Split Coupled Tests |    5      5  37.7s
...
1285.631678 seconds (1.49 G allocations: 75.855 GiB, 2.93% gc time, 45.17% compilation time: <1% of which was recompilation)
     Testing JumpProcesses tests passed

The group completed with 860 passing assertions across 19 counted testsets. I did not run GPU, docs, prerelease, or downstream groups locally.

The repository-wide JuliaFormatter check is independently not clean on unmodified master and would rewrite 34 files, including reversals of intentional readability edits. That baseline failure is documented at #458 (comment); no mechanical formatting changes are included here.

Co-Authored-By: Chris Rackauckas <[email protected]>
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

The extra runtime validation completed on the exact pushed commit:

$ GROUP=InterfaceI /home/crackauc/.juliaup/bin/julia +1.10 --startup-file=no --project -e 'using Pkg; Pkg.test()'
Test Summary:       | Pass  Total   Time
Split Coupled Tests |    5      5  37.7s
...
1285.631678 seconds (1.49 G allocations: 75.855 GiB, 2.93% gc time, 45.17% compilation time: <1% of which was recompilation)
     Testing JumpProcesses tests passed

The full group passed with 860 assertions across 19 counted testsets. I also updated the PR body with this final result.

@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review August 11, 2026 10:09
@ChrisRackauckas
ChrisRackauckas merged commit ce9509e into SciML:master Aug 11, 2026
11 of 12 checks passed
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

CI isolates the dependency on the companion QA fix exactly as expected:

Job: https://github.com/SciML/JumpProcesses.jl/actions/runs/31479756326/job/93744569278

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