Skip to content

Index immutable replay evidence and fix Unity 2021 shipping graph - #590

Merged
Eli Pinkerton (wallstop) merged 3 commits into
masterfrom
codex/close-509-572-586
Sep 14, 2026
Merged

Eli Pinkerton (wallstop) merged 3 commits into
masterfrom
codex/close-509-572-586

Conversation

@wallstop

@wallstop Eli Pinkerton (wallstop) commented Sep 13, 2026 •

Copy link
Copy Markdown
Collaborator

Why

Issue #509 completed its immutable replay publication and restore gate, while an exact-master endpoint run for #506/#508 exposed one incorrect edge in the Unity 2021 shipping package-lock fixture.

What changed

  • Indexes the immutable native lifecycle replay bundle with complete release, asset, source, verifier, and digest identities.
  • Models the exact official com.unity.sysroot.linux-x86_64@2.0.9 -> com.unity.sysroot@2.0.10 dependency edge observed on Unity 2021.
  • Strengthens the package-lock tests to reject a missing edge or changed dependency version while preserving exact names, versions, depths, registry, source, and root-package checks.

How we know

The #509 release is immutable and passed an independent anonymous clean-clone restore, inventory, SHA-256 verification, replay of all three message kinds, and clean-worktree check.

Run 34781552796 supplied the endpoint RED: all three ordinary Unity 2021 modes passed, then all 20 shipping cells rejected the same missing modeled edge before BuildPipeline. Unity's official registry metadata declares that exact dependency.

Focused shipping-fidelity tests pass after failing against the old production graph. npm run validate:all and all 1,331 script tests pass. The workflow remains manual-only for shipping/native evidence; recurring CI work and test filters are unchanged.

Related Issues

Closes #509

Progresses #506 and #508.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactor (code change that neither fixes a bug nor adds a feature)

Checklist

  • All applicable tests pass locally
  • Code is properly formatted
  • Added regression coverage for the observed endpoint failure
  • Updated the evidence documentation
  • No CHANGELOG entry is needed because user-facing behavior is unchanged
  • No breaking changes

@wallstop Eli Pinkerton (wallstop) changed the title Index immutable differential replay evidence Index immutable replay evidence and fix Unity 2021 shipping graph Sep 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Performance Numbers

Measured commit: 15ed15c
Trusted reporting code (PR base): 86abc48
Workflow run: 34782566586 attempt 1

Benchmark or harness paths changed, so historical deltas are non-comparable:

  • scripts/unity/run-ci-tests.ps1

Historical Standalone delta

Delta direction: + is better; - is worse.

Historical delta omitted because benchmark or harness code changed in this pull request.

Current TargetMap evidence

These raw rows are current-run diagnostics. Use fresh bracketed controls before accepting a micro-optimization.

[Standalone] DXM_TARGET_MAP_BENCHMARK scenario=TargetMap_16_Churn keyCount=16 operation=Churn totalOperations=2110000 operationsPerSecond=420051.047 wallClockMs=5023.199 gcAllocations=-1 gcAllocatedBytes=-1 targetMapEntries=16 targetMapCapacity=32 observedInvocations=2130000
[Standalone] DXM_TARGET_MAP_BENCHMARK scenario=TargetMap_16_Hit keyCount=16 operation=Hit totalOperations=77380000 operationsPerSecond=15474811.844 wallClockMs=5000.384 gcAllocations=-1 gcAllocatedBytes=-1 targetMapEntries=16 targetMapCapacity=32 observedInvocations=77400000
[Standalone] DXM_TARGET_MAP_BENCHMARK scenario=TargetMap_16_Miss keyCount=16 operation=Miss totalOperations=82100000 operationsPerSecond=16419062.143 wallClockMs=5000.286 gcAllocations=-1 gcAllocatedBytes=-1 targetMapEntries=16 targetMapCapacity=32 observedInvocations=0
[Standalone] DXM_TARGET_MAP_BENCHMARK scenario=TargetMap_1_Churn keyCount=1 operation=Churn totalOperations=2180000 operationsPerSecond=435206.618 wallClockMs=5009.115 gcAllocations=-1 gcAllocatedBytes=-1 targetMapEntries=1 targetMapCapacity=4 observedInvocations=2200000
[Standalone] DXM_TARGET_MAP_BENCHMARK scenario=TargetMap_1_Hit keyCount=1 operation=Hit totalOperations=75860000 operationsPerSecond=15171474.157 wallClockMs=5000.173 gcAllocations=-1 gcAllocatedBytes=-1 targetMapEntries=1 targetMapCapacity=4 observedInvocations=75880000
[Standalone] DXM_TARGET_MAP_BENCHMARK scenario=TargetMap_1_Miss keyCount=1 operation=Miss totalOperations=82780000 operationsPerSecond=16555042.125 wallClockMs=5000.289 gcAllocations=-1 gcAllocatedBytes=-1 targetMapEntries=1 targetMapCapacity=4 observedInvocations=0
[Standalone] DXM_TARGET_MAP_BENCHMARK scenario=TargetMap_256_Churn keyCount=256 operation=Churn totalOperations=2060000 operationsPerSecond=410658.543 wallClockMs=5016.333 gcAllocations=-1 gcAllocatedBytes=-1 targetMapEntries=256 targetMapCapacity=512 observedInvocations=2080000
[Standalone] DXM_TARGET_MAP_BENCHMARK scenario=TargetMap_256_Hit keyCount=256 operation=Hit totalOperations=71400000 operationsPerSecond=14278233.497 wallClockMs=5000.619 gcAllocations=-1 gcAllocatedBytes=-1 targetMapEntries=256 targetMapCapacity=512 observedInvocations=71420000
[Standalone] DXM_TARGET_MAP_BENCHMARK scenario=TargetMap_256_Miss keyCount=256 operation=Miss totalOperations=79970000 operationsPerSecond=15992717.704 wallClockMs=5000.401 gcAllocations=-1 gcAllocatedBytes=-1 targetMapEntries=256 targetMapCapacity=512 observedInvocations=0
[Standalone] DXM_TARGET_MAP_BENCHMARK scenario=TargetMap_4096_Churn keyCount=4096 operation=Churn totalOperations=1850000 operationsPerSecond=369494.790 wallClockMs=5006.837 gcAllocations=-1 gcAllocatedBytes=-1 targetMapEntries=4096 targetMapCapacity=8192 observedInvocations=1870000
[Standalone] DXM_TARGET_MAP_BENCHMARK scenario=TargetMap_4096_Hit keyCount=4096 operation=Hit totalOperations=59660000 operationsPerSecond=11930539.941 wallClockMs=5000.612 gcAllocations=-1 gcAllocatedBytes=-1 targetMapEntries=4096 targetMapCapacity=8192 observedInvocations=59680000
[Standalone] DXM_TARGET_MAP_BENCHMARK scenario=TargetMap_4096_Miss keyCount=4096 operation=Miss totalOperations=79600000 operationsPerSecond=15918444.131 wallClockMs=5000.489 gcAllocations=-1 gcAllocatedBytes=-1 targetMapEntries=4096 targetMapCapacity=8192 observedInvocations=0
[Standalone] DXM_TARGET_MAP_BENCHMARK scenario=TargetMap_4_Churn keyCount=4 operation=Churn totalOperations=2110000 operationsPerSecond=420732.182 wallClockMs=5015.067 gcAllocations=-1 gcAllocatedBytes=-1 targetMapEntries=4 targetMapCapacity=8 observedInvocations=2130000
[Standalone] DXM_TARGET_MAP_BENCHMARK scenario=TargetMap_4_Hit keyCount=4 operation=Hit totalOperations=75990000 operationsPerSecond=15197376.908 wallClockMs=5000.205 gcAllocations=-1 gcAllocatedBytes=-1 targetMapEntries=4 targetMapCapacity=8 observedInvocations=76010000
[Standalone] DXM_TARGET_MAP_BENCHMARK scenario=TargetMap_4_Miss keyCount=4 operation=Miss totalOperations=83170000 operationsPerSecond=16633148.050 wallClockMs=5000.256 gcAllocations=-1 gcAllocatedBytes=-1 targetMapEntries=4 targetMapCapacity=8 observedInvocations=0
[Standalone] DXM_TARGET_MAP_CONSTRUCTION keyCount=1 wallClockMs=0.000107 operationsPerSecond=9372071.228 gcAllocations=-1 gcAllocatedBytes=-1 targetMapCapacity=4
[Standalone] DXM_TARGET_MAP_CONSTRUCTION keyCount=16 wallClockMs=0.000603 operationsPerSecond=1658031.088 gcAllocations=-1 gcAllocatedBytes=-1 targetMapCapacity=32
[Standalone] DXM_TARGET_MAP_CONSTRUCTION keyCount=256 wallClockMs=0.007700 operationsPerSecond=129870.130 gcAllocations=-1 gcAllocatedBytes=-1 targetMapCapacity=512
[Standalone] DXM_TARGET_MAP_CONSTRUCTION keyCount=4 wallClockMs=0.000222 operationsPerSecond=4504504.505 gcAllocations=-1 gcAllocatedBytes=-1 targetMapCapacity=8
[Standalone] DXM_TARGET_MAP_CONSTRUCTION keyCount=4096 wallClockMs=0.119700 operationsPerSecond=8354.219 gcAllocations=-1 gcAllocatedBytes=-1 targetMapCapacity=8192

@wallstop
Eli Pinkerton (wallstop) merged commit 3f6e73c into master Sep 14, 2026
40 checks passed
@wallstop
Eli Pinkerton (wallstop) deleted the codex/close-509-572-586 branch September 14, 2026 01:39
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.

test: build a differential bus state-machine oracle

1 participant