Skip to content

Remove stale Markdown doc-string macro import - #1601

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:agent/remove-stale-doc-str
Sep 12, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:agent/remove-stale-doc-str

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Sep 12, 2026 •

Copy link
Copy Markdown
Member

Please ignore this draft until reviewed by @ChrisRackauckas.

Remove the unused Markdown.@doc_str import. The docstring cleanup in fae101f replaced its last two uses with ordinary docstrings, causing the existing no_stale_explicit_imports QA check to fail on master. This is a standalone mechanical prerequisite for SciML/OrdinaryDiffEq.jl#4436.

Verification used the existing QA group, unchanged, on clean checkouts of both sides of the introducing commit:

GROUP=QA JULIA_PKG_PRECOMPILE_AUTO=0 \
  TMPDIR="$PWD/../OrdinaryDiffEq-shared-reactant/.work/tmp" \
  PIXI_CACHE_DIR="$PWD/../OrdinaryDiffEq-shared-reactant/.work/pixi-base-review" \
  RATTLER_CACHE_DIR="$PWD/../OrdinaryDiffEq-shared-reactant/.work/rattler-base-review" \
  /home/crackauc/.juliaup/bin/julia +1.12.4 --project=. \
  -e 'using Pkg; Pkg.test(; julia_args=["--compiled-modules=existing"])'

Before the introducing commit, bd9cf32:

QA | 123 123 8m05.3s
Testing SciMLBase tests passed

At the introducing commit:

Module `SciMLBase` has stale (unused) explicit imports for:
* `@doc_str`
QA | 122 1 123 9m14.9s
ERROR: Package SciMLBase errored during testing

The same failure also reproduces on unmodified master 0d5c48897. With this change on master:

QA | 123 123 11m01.3s
Testing SciMLBase tests passed

Formatting, spelling, and whitespace checks:

/home/crackauc/.juliaup/bin/julia +1.10 --project=../runic-1.10-env -e 'using Runic;exit(Runic.main(ARGS))' -- --check src/SciMLBase.jl
typos src/SciMLBase.jl
git diff --check

All exited zero. No new test duplicates the existing discriminating QA check. No public API or documentation changes; docs, full Everything, GPU, and downstream groups were not run for this unused-import deletion. The existing shared Pixi cache was corrupt, so the command uses a fresh workspace-local cache.

CI follow-up (2026-09-12)

Downstream CI is not green: SciMLSensitivity Core3 received signal 11 in Julia 1.13 LLVM loop-unrolling code, and Catalyst failed during setup while writing its installed test/extensions/Project.toml (Permission denied). These failures remain unresolved; local master QA and the minimal import cleanup were verified as recorded above.

🤖 Generated with Codex CLI 0.153.4 (model: gpt-6-astra; session: local transcript /home/crackauc/.codex/sessions/2026/09/05/rollout-2026-09-05T07-40-10-01a0715e-73c9-7e21-a18b-c5b0504a4bf3.jsonl).

The docstring cleanup in fae101f removed the final use of @doc_str,
leaving the import rejected by the existing explicit-import QA check.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Codex <[email protected]>
Agent-Harness: Codex CLI 0.153.4
Agent-Model: gpt-6-astra
Agent-Session: local transcript /home/crackauc/.codex/sessions/2026/09/05/rollout-2026-09-05T07-40-10-01a0715e-73c9-7e21-a18b-c5b0504a4bf3.jsonl
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review September 12, 2026 15:49
@ChrisRackauckas
ChrisRackauckas merged commit 0238e6e into SciML:master Sep 12, 2026
69 of 72 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.

2 participants