Skip to content

tests: align adapter offset pins with placement storage growth - #763

Merged
luisleo526 merged 1 commit into
mainfrom
abi-offset-pins
Nov 6, 2026
Merged

luisleo526 merged 1 commit into
mainfrom
abi-offset-pins

Conversation

@luisleo526

Copy link
Copy Markdown
Collaborator

Summary

Corrects three stale offset pins in tests/test_abi_layout_probe.cpp. Commit 075d86f added a bool, seven bytes of alignment padding and three uint64_t counters to PlacementTable (32 bytes). PineExecutionAdapter holds that table by value before the pinned members, so each of them moves by exactly 32 bytes:

member before after
pine_view_ 88208 88240
retired_row_scratch_ 88216 88248
staged_scopes_ 88888 88920

The two size pins were already updated for that change; the three offsets were not. The members are fixed-width, so the new values do not depend on the compiler. No other number changes.

The sanitizer jobs of ci-post and native-live also print df -h / /mnt after verification, to show the remaining disk margin.

Testing

The offset pins run only on Linux x86-64 with libstdc++, so this PR's hosted x86 jobs are the proof: native-live-shard (native, 2/4), build-shard (Debug, 2/2) and build-shard (Release, 2/4).

🤖 Generated with Claude Code

Expectation corrected: pine_view_ 88208 -> 88240, retired_row_scratch_
88216 -> 88248 and staged_scopes_ 88888 -> 88920, because
075d86f added a bool, its seven bytes
of alignment padding and three uint64 counters to PlacementTable.
The adapter contains that table by value before the pinned members.
The enclosing size pins were already updated; keep those and every
other offset unchanged.

Record filesystem capacity after sanitizer verification, including a
failed verification, alongside the preparation measurements.

@graphify-labs graphify-labs Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Graphify reviewed this change.

No issues found by static checks — no coupling regressions or blocking issues in the code graph. That is not the same as safe to merge: see what was not checked.

Not checked: tests were not run; no formal proof of the changed code.


Graphify review — findings

Adds a df -h / /mnt disk-space measurement step after verification in the sanitizer jobs of both ci-post.yml and native-live.yml. The step runs under always() once authz has succeeded, so it reports free space even when verification fails and before diagnostics are staged. Updates the ABI layout probe's pinned offsets for PineExecutionAdapter::pine_view_, retired_row_scratch_ and staged_scopes_, each shifted up by 32 bytes (to 88240, 88248 and 88920). The PineStrategyHost::adapter_ pin stays at 6440.

No blocking issues surfaced. 1 lower-confidence candidate did not survive cross-model review.

Analysis details — impact, health, verification

Impact & health

Graphify review

Impact — 46 functions depend on the 46 functions this change touches.

Health — grade A; no new coupling hotspots.

Verification — 46 functions in the blast radius were not formally verified this run (proofs are advisory here).

Gate & verification

graphify gate

PASS — objectively clean (no health regressions, tests not run — proofs not run this pass (advisory)). Grounded, not self-assessed.

Advisory (not blocking):

  • verification_scope: 46 function(s) in the blast radius were not formally verified this run

@luisleo526
luisleo526 merged commit c9a6414 into main Nov 6, 2026
18 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.

1 participant