Skip to content

Fix strict QA follow-ups after #640 - #641

Closed
ChrisRackauckas-Claude wants to merge 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:agent/recursivearraytools-strict-qa-20260808
Closed

Fix strict QA follow-ups after #640#641
ChrisRackauckas-Claude wants to merge 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:agent/recursivearraytools-strict-qa-20260808

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Ignore this PR until reviewed by @ChrisRackauckas.

Summary

  • fix RaggedArrays inference when the ragged element storage is immutable
  • add a StaticArrays regression test for immutable storage
  • remove persistent local [sources] path overrides from monorepo test environments
  • develop the checked-out root and subpackages at test runtime instead

The pre-existing root-package ambiguity exception remains narrowly scoped. The underlying ambiguity families and their introducing commits are recorded in #326; this PR does not hide any new QA failure.

Local verification

  • Julia release root Core passed
  • Julia release root QA passed: 19 passed, 1 pre-existing broken
  • Julia 1.10 root Core passed
  • Julia 1.10 root QA passed: 17 passed, 1 pre-existing broken
  • Julia release and 1.10 Core/QA passed for RecursiveArrayToolsArrayPartitionAnyAll
  • Julia release and 1.10 Core/QA passed for RecursiveArrayToolsRaggedArrays
  • Julia release and 1.10 Core/QA passed for RecursiveArrayToolsShorthandConstructors
  • Runic 1.7 check passed on all changed Julia files
  • git diff --check passed

Co-Authored-By: Chris Rackauckas accounts@chrisrackauckas.com

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Comment on lines -8 to -10
[sources]
RecursiveArrayTools = {path = "../.."}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, keep sources.

@@ -1,5 +1,7 @@
using RecursiveArrayTools, RecursiveArrayToolsArrayPartitionAnyAll, Test
using Pkg
Pkg.develop(PackageSpec(path = normpath(joinpath(@__DIR__, "..", "..", ".."))))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't do this, use sources.

fill!(VA[:, i], x)
else
# For immutable arrays like SVector, create a new filled array
VA.u[i] = fill(x, StaticArraysCore.similar_type(VA.u[i]))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

StaticArraysCore.similar_type should be allowed.

@ChrisRackauckas

Copy link
Copy Markdown
Member

All of the changes in this PR are just wrong and unnecessary.

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Closed because the changes are unnecessary and should not be merged.

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