Skip to content

docs: replace stale Pantelides link - #5056

Merged
ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:codex/fix-pantelides-doc-link
Sep 2, 2026
Merged

ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:codex/fix-pantelides-doc-link

Conversation

@ChrisRackauckas-Claude

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

Copy link
Copy Markdown
Member

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

What changed and why

The Pantelides index-reduction tutorial linked to a Berkeley lecture PDF that no longer responds and causes the documentation link checker to time out. This replaces it with the maintained Modelica Language Specification 3.6 appendix, which explicitly describes applying the Pantelides algorithm to reduce DAE index.

This is a one-link documentation repair discovered while validating #5055. It does not change public API or runtime behavior.

Verification

Failing before the change on clean upstream/master (e91f13e48fc4f2fdda67e66ad7b2d9c67234ac2b):

$ TMPDIR=... julia --startup-file=no --project=docs docs/make.jl
┌ Error: `curl ... https://ptolemy.berkeley.edu/projects/embedded/eecsx44/lectures/Spring2013/modelica-dae-part-2.pdf --max-time 10 ...` failed:
│    failed process: Process(..., ProcessExited(28)) [28]
└ @ Documenter .../utilities.jl:47
ERROR: LoadError: `makedocs` encountered an error [:linkcheck]

The URL was introduced with the tutorial in commit 60594b9.

The replacement passes the exact HEAD request used by Documenter:

$ curl -sI --proto =http,https,ftp,ftps -g -H 'accept-encoding: gzip, deflate, br' --user-agent 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36' 'https://specification.modelica.org/maint/3.6/modelica-dae-representation.html' --max-time 10 -o /dev/null --write-out '%{http_code} %{url_effective} %{redirect_url}\n'
200 https://specification.modelica.org/maint/3.6/modelica-dae-representation.html
$ TMPDIR=... GROUP=QA julia --startup-file=no --project=. -e 'using Pkg; Pkg.test()'
Test Summary: | Pass  Total     Time
QA            |   40     40  4m23.8s
     Testing ModelingToolkit tests passed
$ typos docs/src/examples/modelingtoolkitize_index_reduction.md
# exit 0
$ git diff --check
# exit 0

The full fix-branch docs build completed doctests and template expansion and reached link checking without reporting an error for the replacement URL. It then stopped on a separate, intermittent master failure: GitHub returned HTTP 429 for https://github.com/SciML/ModelingToolkit.jl/blob/master/NEWS.md. An isolated clean-master investigation could not reproduce that error, and Documenter's exact request subsequently returned HTTP 200, confirming transient GitHub rate limiting; no source change was warranted. A separate local docs run for #5055 with the identical URL replacement completed document checks, rendering, HTML generation, and deployment detection without a Documenter error.

Not verified

GROUP=Everything, GPU, and Julia pre jobs were not run. They are unrelated to this documentation-only link replacement.

Reviewer note

The replacement points to a maintained language specification rather than another mirror of the old lecture PDF. Appendix B directly documents Pantelides index reduction and is the authoritative source for the linked claim.

🤖 Generated with Codex CLI 0.151.0 (model: gpt-5.6-sol; session: local session ID 01a057e2-edc7-7342-9835-8122a5c647eb).

Replace the unreachable Berkeley lecture PDF with the official Modelica
Language Specification section that documents Pantelides index reduction.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: OpenAI Codex <[email protected]>
Agent-Harness: Codex CLI 0.151.0
Agent-Model: gpt-5.6-sol
Agent-Session: local session ID 01a057e2-edc7-7342-9835-8122a5c647eb
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Validation scratchpad:

  1. Reproduce the Berkeley timeout on clean upstream/master and identify the introducing commit. — complete
  2. Replace it with an authoritative reachable source and validate Documenter’s exact request. — complete
  3. Run typos, diff checks, GROUP=QA, and the docs build. — complete; the focused docs run reached linkcheck with the replacement passing, then encountered the separately investigated master NEWS.md HTTP 429.
  4. Monitor draft CI and address any branch-specific failures. — in progress

Related workflow PR: #5055

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Follow-up audit results:

  • The unrelated Symbolics FAQ HTTP 503 was transient: the exact anchor still exists, 20/20 normal requests and 20/20 Documenter-style requests returned 200, and clean-master docs did not reproduce it. Introducing commit: 4b02343
  • The unrelated GitHub NEWS.md HTTP 429 was transient rate limiting: a clean-master docs rerun did not reproduce it and Documenter-style HEAD returned 200. Introducing commit: 0a4c160
  • No source change is warranted for either transient failure.

Current CI: spelling, Runic format, and Runic suggestions are green; documentation is running at https://github.com/SciML/ModelingToolkit.jl/actions/runs/33466438619/job/99727161797.

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

CI analysis: the replacement Modelica specification link passed. The documentation job https://github.com/SciML/ModelingToolkit.jl/actions/runs/33466438619/job/99727161797 failed later on two unrelated DOI links timing out with curl exit 28: 10.1017/S1751731117002774 and 10.3168/jds.2007-0398. Those master failures are being reproduced and assessed separately; they will not be mixed into this focused citation PR.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: OpenAI Codex <[email protected]>
Agent-Harness: Codex CLI 0.151.0
Agent-Model: gpt-5.6-sol
Agent-Session: local session ID 01a057e2-edc7-7342-9835-8122a5c647eb
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Docs CI retry:

The first documentation run https://github.com/SciML/ModelingToolkit.jl/actions/runs/33466438619/job/99727161797 reached linkcheck with the new Modelica specification link passing, then failed because two unrelated DOI resolver requests timed out with ProcessExited(28):

  • https://doi.org/10.1017/S1751731117002774
  • https://doi.org/10.3168/jds.2007-0398

I reran Documenter's exact HEAD request five times for each DOI. Both returned 302 to their expected Elsevier targets on all 5/5 attempts, in 0.13–0.21 seconds. This confirms transient DOI resolver availability rather than a source defect.

Because GitHub denied an API rerun for insufficient administrative permission, I pushed the clearly labeled empty commit ChrisRackauckas-Claude@3acce8d to retrigger CI without changing the validated patch.

@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review September 2, 2026 10:05
@ChrisRackauckas
ChrisRackauckas merged commit 22cb5b0 into SciML:master Sep 2, 2026
4 checks passed
ChrisRackauckas added a commit that referenced this pull request Sep 7, 2026
- qa: approve newly exported Symbolics API (#5050)
- Update redirected documentation links (#5054)
- qa: fix ModelingToolkitBase import checks (#5028)
- docs: replace stale Pantelides link (#5056)
- Precompile ODEProblem construction and DAE initialization in MTK workloads (#5061)
- Release 11.41.0 (#5069)



Agent-Harness: Claude Code
Agent-Model: claude-opus-5[1m]
Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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