Skip to content

Pin acts@main to pre-grid-regression commit to unblock build#67

Closed
madbaron wants to merge 1 commit into
mainfrom
pin-acts-pre-grid-regression
Closed

Pin acts@main to pre-grid-regression commit to unblock build#67
madbaron wants to merge 1 commit into
mainfrom
pin-acts-pre-grid-regression

Conversation

@madbaron

@madbaron madbaron commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Pins acts@main to commit 0f9e9afe (parent of the breaking refactor) to unblock the nightly stack build.

Problem

The sim layer fails to compile k4actstracking against current acts@main (HEAD 739072bb):

Acts/Utilities/detail/MultiAxisHelper.hpp:192:70: error: subscripted value is neither array nor pointer
  192 |     multiIndex.at(N) = static_cast<std::size_t>(thisAxis.getBin(point[N]));

Instantiation chain:

CylindricalSpacePointGridCreator::fillGrid
  -> Grid<T,Axes>::atPosition(const Point&)            [Point = std::size_t]   # a global-bin index!
    -> Grid<T,Axes>::localBinsFromPosition(const Point&) [Point = std::size_t]
      -> MultiAxisHelper::getMultiIndexFromPoint -> point[N]                    # subscripts a scalar

Root cause

This is an upstream acts regression, not a k4ActsTracking/branch issue (k4actstracking main fails identically). In CylindricalSpacePointGrid.ipp, acts calls grid.atPosition(binIndex) with a std::size_t global-bin index; after the 2026-06-08 grid refactor (acts-project/acts#5541, c36cd88cd) that resolves to the position-lookup overload, so MultiAxisHelper subscripts a scalar.

  • Bad: 739072bb (current acts main HEAD)
  • Good: 0f9e9afe (parent of c36cd88cd, 2026-06-08) — pinned here

Verified the deleted buildcache forced a from-source rebuild that still failed, confirming the source (not a stale binary) is the problem.

Fix

Freeze acts@main to 0f9e9afe in environments/mucoll-common/packages.yaml. Revert to plain @main once acts main is fixed upstream (an issue is being filed at acts-project/acts).

🤖 Generated with Claude Code

acts main HEAD (739072bb) fails to compile k4actstracking: the
CylindricalSpacePointGrid fill path calls grid.atPosition(binIndex) with a
std::size_t global-bin index, which after the 2026-06-08 grid refactor
(acts-project/acts#5541, c36cd88cd) resolves to the position-lookup overload
(Point = std::size_t). MultiAxisHelper then subscripts the scalar, giving
"subscripted value is neither array nor pointer".

Freeze acts@main to 0f9e9afe (parent of the breaking refactor, 2026-06-08) so
the nightly stack builds. Revert to plain '@main' once acts main is fixed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Base automatically changed from acorn_integration to main June 10, 2026 15:18
@madbaron madbaron closed this Jun 10, 2026
@madbaron madbaron deleted the pin-acts-pre-grid-regression branch June 10, 2026 15:21
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.

1 participant