Skip to content

Document local QA setup and reduced-test loading context - #5300

Merged
ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:docs/qa-environment-hygiene
Oct 30, 2026
Merged

ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:docs/qa-environment-hygiene

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

🚧 UNREVIEWED — Ignore this PR until reviewed by @ChrisRackauckas.
🤖 This PR was prepared by an AI agent; Chris has not reviewed it.

Local test setup can rewrite tracked source paths or omit solver extensions loaded by earlier official testsets. Add16 lines to AGENTS.md covering portable QA source paths and preservation of the official runner's module-loading context in reduced tests. This keeps setup failures separate from numerical regression evidence. Runtime, tests, dependencies and QA configuration are unchanged.

Verification

The existing official QA runner on the earlier guidance revision, with the identical runtime/test/environment tree, reproduced the path rewrite, and the setup-only change was restored after all test processes ended. Final tracked diff contains AGENTS.md alone; spelling and whitespace checks exit 0. Julia source formatting and a docs build do not apply to this Markdown guidance change.

Julia 1.13.1, four Julia/precompile threads, one BLAS/OMP thread; isolated local validation environment:

JULIA_REVISE_POLL=1 GROUP=QA julia +1.13 --startup-file=no --project="$VALIDATION_ENV" -e 'using Pkg; Pkg.test("ModelingToolkitBase")'
JET Tests  | 54  54  50.3s
Aqua Tests | 21  21  5m47.2s
Testing ModelingToolkitBase tests passed
exit 0

Two earlier runs with default watcher transport passed JET54/54 and failed Aqua20pass/1error at FolderMonitor(start): EMFILE. An independent untouched-base and standalone syscall investigation isolated shared inotify-instance accounting: Julia had 18 file descriptors, no inotify instance and a 1M descriptor limit; ordinary file opens still succeeded. Revise's documented polling transport keeps file monitoring active and runs the same assertions without inotify. The passing run changes only that job-scoped transport setting; no test, tolerance, exception policy or host setting was changed. It does not claim to repair the host's inotify capacity.

No new behavior or public API is introduced. No local Everything, docs, GPU or downstream run is claimed.

CI comparison

Exact reviewed guidance head49aef0358dd742896a25caecf13e25ca3a186caf completed with71 successful checks, ten failures, zero pending and four skipped. Modern ci-compare records all ten failures as pre-existing against default207f39e2d3. Five InterfaceI variants share the causal equation-direction assertion at components.jl:446; three Optimization variants share unsupported literal_pow; one indexing job has the lowered-state BoundsError; Sensitivity Core8 shares the default time-gradient AD failure at mtk.jl:216. No runtime/test/environment file changes.

The current-head CI docs build passed; this is CI evidence, not a local docs run. Current CI, matching default CI, current Sensitivity Core8, matching default Core8.

Independent review

A new fresh Codex CLI0.163.0/gpt-6-astra reviewer inspected the complete16-line diff before author evidence and rated it low risk, high confidence, no blocking findings. It independently verified that only AGENTS.md differs from clean207, all runtime/test/metadata bytes match, Code Generation precedes Discrete System in both runners, and Code Generation imports the public OrdinaryDiffEq solver package. It also confirmed the root macro loads ModelingToolkit while the sublibrary macro differs. Its own spelling and whitespace checks pass. It read the completed54+21 QA logs above; it did not rerun Julia for the new prose. No permission or API change is introduced.

Current reviewer: local session01a15ec6-8592-73e3-a785-76bb35f0e0d8 (no session URL). The earlier eight-line QA-path guidance had a separate fresh Astra review, local session01a15da9-56d1-7771-869f-cde9b62f0166 (no session URL), followed by completed official QA and metadata restoration.

Links

Risk assessment

  • Risk: low
  • Blast radius: repository contributor guidance only; no runtime, tests, dependency constraints or public API change.
  • Evidence: repeated observed setup-only path rewrites, official QA54+21pass with documented polling transport, clean final source/test/environment bytes, spelling/whitespace exit 0.
  • Independent review: Codex CLI 0.163.0 / gpt-6-astra rated it low risk/high confidence, no findings; required QA condition subsequently met (review evidence).
  • Merge: qualified parent handoff under the inherited-red policy: fresh low-risk review and all ten current failures default-matching. Draft remains subject to @ChrisRackauckas review; root does not merge.

🤖 Posted by an AI agent — harness: Codex CLI 0.163.0 · model: gpt-6.1-sol.
Conversation: local session 01a15ca3-5696-7ea3-bbac-ba551b6975af (no session URL).

🤖 Automated review section from an AI agent running as Chris Rackauckas's account — not written or reviewed by Chris.

Risk assessment (independent review, Codex gpt-6.1-sol, head 49aef03)

  • Risk: low (L1: contributor documentation only; no runtime, test, dependency, or public API change). H6 does not apply: this prose concerns test setup and preservation of intentional edits, without changing privileges, security controls, merge authority, rollout rules, or hooks; the Factory-only path floor does not apply to this repository.
  • Blast radius: contributors preparing local QA environments or reducing test groups. Package users and downstream runtime behavior are unaffected by this diff.
  • Evidence: Read pr.txt, the complete risk.md, the linked Optimization issue, and git diff origin/HEAD...HEAD. git rev-parse HEAD returned 49aef0358dd742896a25caecf13e25ca3a186caf; git merge-base origin/HEAD HEAD returned 207f39e2d3c63d87e9ecde21279ec6967e4e8b21. git diff --quiet 207f39e2d3 HEAD -- . ':!AGENTS.md' exited 0, confirming every other tracked file is identical to the merge base. The current origin/HEAD has advanced, so this identity claim concerns the PR's merge base, not today's default tip. git diff --check origin/HEAD...HEAD and typos AGENTS.md both exited 0; final git status --porcelain=v1 was empty. Inspection confirmed relative [sources] in both QA projects, Pkg.develop in the sublibrary QA setup, the root test macro's ModelingToolkit import, and Code Generation preceding Discrete System with an OrdinaryDiffEq import. No new public names, SemVer change, non-public dependency access, copyleft dependency, skipped tests, or weakened assertions occur in the diff. G1: not applicable (no numerical change). G2: not applicable (no GPU/AD/Reactant/MPI code change). G3: not applicable (no shared-state/cache/threading/default change).
  • Merge: merge

CI evidence was obtained with read-only gh pr view ... --json statusCheckRollup, gh api .../commits/207f39e2d3c63d87e9ecde21279ec6967e4e8b21/check-runs --paginate, and gh api --allow-escape-sequences .../actions/jobs/<id>/logs. I downloaded all 20 paired logs into scratch and compared their failure locations and messages, rather than relying on the author's CI summary:

Failing check Head job Default-base job Matching failure
Downgrade InterfaceI 119270637424 118925097363 Reversed causal equation assertion
SciMLBase SymbolicIndexingInterface 119270633457 118925097189 State indexing and Observed, comprehensive_indexing.jl:127/164; 1-element vector indexed by [1, 2]
SciMLSensitivity Core8 119270633563 118925097105 MTK Forward Mode at mtk.jl:216 and EnzymeVJP Repeated Adjoint time-gradient AD error; matching out-of-bounds messages
InterfaceI LTS 119270815901 118925364680 Reversed causal equation assertion
InterfaceI Julia 1 119270815982 118925364789 Reversed causal equation assertion
InterfaceI x86 119270816008 118925364683 Reversed causal equation assertion
Optimization LTS 119270815684 118925365006 Unsupported nonlinear operator :literal_pow
Optimization Julia 1 119270815867 118925364527 Unsupported nonlinear operator :literal_pow
Downgrade MTKBase InterfaceI 119270697356 118925257471 Reversed causal equation assertion
Downgrade MTKBase Optimization 119270710050 118925274016 Unsupported nonlinear operator :literal_pow

🤖 Posted by an AI agent — harness: Codex CLI · model: gpt-6.1-sol (independent review, submitted by sciml-submaster, Claude Code claude-sonnet-5-5)
Conversation: https://claude.ai/code/session_01379heia6cKWmdtNob6NGzg

ChrisRackauckas and others added 2 commits October 21, 2026 06:31
Record how to restore setup-generated QA project paths while preserving intentional edits.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Codex <noreply@openai.com>
Agent-Harness: Codex CLI 0.163.0
Agent-Model: gpt-6.1-sol
Agent-Session: local session 01a15ca3-5696-7ea3-bbac-ba551b6975af (no session URL)
Record the runner macro, group order, and solver extension loading needed to interpret reduced tests. Missing initializer modules are setup failures rather than numerical endpoints.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Codex <noreply@openai.com>
Agent-Harness: Codex CLI 0.163.0
Agent-Model: gpt-6.1-sol
Agent-Session: local session 01a15ca3-5696-7ea3-bbac-ba551b6975af (no session URL)
@ChrisRackauckas-Claude ChrisRackauckas-Claude changed the title Document cleanup of local QA source paths Document local QA setup and reduced-test loading context Oct 21, 2026
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review October 30, 2026 12:52
@ChrisRackauckas
ChrisRackauckas merged commit db0d622 into SciML:master Oct 30, 2026
75 of 85 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.

OptimizationMOI Core rejects literal_pow expressions with SymbolicUtils 4.52.0

2 participants