Skip to content

fix: validate benchmark caches with the pinned fingerprint library - #452

Merged
janicduplessis merged 1 commit into
mainfrom
fix/benchmark-fingerprint-pin-451
Sep 6, 2026
Merged

fix: validate benchmark caches with the pinned fingerprint library#452
janicduplessis merged 1 commit into
mainfrom
fix/benchmark-fingerprint-pin-451

Conversation

@janicduplessis

Copy link
Copy Markdown
Collaborator

Description

The SDK 58 benchmark refused a successfully built golden because it calculated the expected cache key with the app's fingerprint dependency. rc.17 uses a different version; the two versions enumerate different inputs and produce different hashes for the same app.

Solution

Resolve the fingerprint implementation from the pinned Stim package while hashing the fixture directory. Keep the platform and generated-path exclusions unchanged. This changes only benchmark validation, not published Stim behavior or stored cache keys.

Test plan

The regression supplies a conflicting fixture fingerprint package and exercises the real pinned implementation: machine-local Android configuration and iOS edits preserve the Android key, while an Android native edit invalidates it. On the SDK 58 fixture, the pinned implementation reproduces the stored 47b4b4 cache key instead of the fixture dependency's 7999f7 key.

Fixes #451.

@janicduplessis
janicduplessis marked this pull request as ready for review September 6, 2026 05:18
@janicduplessis
janicduplessis merged commit 0079fb3 into main Sep 6, 2026
5 checks passed
@janicduplessis
janicduplessis deleted the fix/benchmark-fingerprint-pin-451 branch September 6, 2026 05:18
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.

Benchmark golden validation must use the pinned CLI fingerprint library

1 participant