@@ -431,8 +431,8 @@ test('keeps Rust CI independent, restore-only on PRs, and target-focused', () =>
431431 ) ;
432432 assert . deepEqual (
433433 rustJob . strategy . matrix . os ,
434- [ 'ubuntu-latest' , 'macos-15-intel ' , 'windows-latest' ] ,
435- 'Rust validation must retain the reviewed Linux, macOS, and Windows matrix' ,
434+ [ 'ubuntu-latest' , 'macos-15' , 'windows-latest' ] ,
435+ 'Rust validation must retain the reviewed Linux, Apple Silicon macOS, and Windows matrix' ,
436436 ) ;
437437 assert . equal (
438438 rustJob . steps . some ( ( step ) => step . uses ?. startsWith ( 'actions/download-artifact@' ) ) ,
@@ -471,23 +471,30 @@ test('keeps Rust CI independent, restore-only on PRs, and target-focused', () =>
471471 / g i t h u b \. b a s e _ r e f \| \| g i t h u b \. r e f _ n a m e / ,
472472 `${ jobName } must not mix main and explore build outputs` ,
473473 ) ;
474+ if ( jobName === 'rust-build-check' ) {
475+ assert . match (
476+ cache ?. with ?. [ 'shared-key' ] ?? '' ,
477+ / r u n n e r \. a r c h / ,
478+ 'Rust validation caches must stay isolated by architecture' ,
479+ ) ;
480+ }
474481 }
475482
476483 const cliJob = workflow . jobs [ 'cli-test' ] ;
477484 assert . deepEqual (
478485 cliJob . strategy . matrix . include . map ( ( entry ) => entry . os ) ,
479486 rustJob . strategy . matrix . os ,
480- 'CLI and Rust validation must exercise the same Linux, Intel macOS, and Windows hosts' ,
487+ 'CLI and Rust validation must exercise the same Linux, Apple Silicon macOS, and Windows hosts' ,
481488 ) ;
482489 assert . equal (
483- cliJob . strategy . matrix . include . find ( ( entry ) => entry . os === 'macos-15-intel ' ) . cache_key ,
484- 'macos-intel ' ,
490+ cliJob . strategy . matrix . include . find ( ( entry ) => entry . os === 'macos-15' ) . cache_key ,
491+ 'macos-arm64 ' ,
485492 ) ;
486493 assert . equal ( cliJob [ 'timeout-minutes' ] , '${{ matrix.timeout_minutes }}' ) ;
487494 assert . deepEqual (
488495 cliJob . strategy . matrix . include . map ( ( entry ) => entry . timeout_minutes ) ,
489496 [ 30 , 75 , 30 ] ,
490- 'Only the cold Intel macOS CLI build needs a longer job budget' ,
497+ 'Only the cold macOS CLI build needs a longer job budget' ,
491498 ) ;
492499 assert . ok (
493500 cliJob . strategy . matrix . include . some ( ( entry ) => entry . os === 'windows-latest' ) ,
0 commit comments