Skip to content

Fix incorrect benchmark-set options on app reload - #1185

Merged
anhappdev merged 1 commit into
masterfrom
fix-benchmark-set-options
Oct 7, 2026
Merged

anhappdev merged 1 commit into
masterfrom
fix-benchmark-set-options

Conversation

@farook-edev

Copy link
Copy Markdown
Contributor

This PR adds missing line to properly apply benchmark set options after loading them from preferences (on app reopening)

it supersedes #1180

it includes FIXME notes for a couple other bugs that aren't affecting the app currently, but will if we use min/max or incorrect option ID logic.

@farook-edev
farook-edev requested review from a team and anhappdev as code owners October 2, 2026 08:42
@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@sonarqubecloud

sonarqubecloud Bot commented Oct 2, 2026

Copy link
Copy Markdown

@freedomtan freedomtan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@freedomtan

Copy link
Copy Markdown
Contributor

let's merge this. @anhappdev please also fix the FIXME part after this one is merged.

@anhappdev

Copy link
Copy Markdown
Collaborator

let's merge this. @anhappdev please also fix the FIXME part after this one is merged.

Ok. They should be fixed in #1180.

anhappdev added a commit that referenced this pull request Oct 6, 2026
…Android macOS) (#1186)

## Summary

The `Build Android app` job in **Android Build & Test (macOS)** fails at
`Install dependencies` on every run (e.g. #1185):

```
python@3.14 3.14.7 is already installed but outdated (so it will be upgraded).
...
Upgrading python@3.14 dependency: openssl@3
##[error]The `brew link` step did not complete successfully
Could not symlink bin/openssl
Target /opt/homebrew/bin/openssl
is a symlink belonging to openssl@1.1.
```

The macos-15 runner image creates `/opt/homebrew/bin/openssl ->
/opt/homebrew/opt/openssl@1.1/bin/openssl` as a plain symlink that brew
does not track. Since python 3.14.8 was published, `brew install
python@3.14` upgrades the image's 3.14.7 together with `openssl@3`,
whose link collides with that symlink, so `brew install` exits 1.

This removes that symlink before the `brew install` lines, only when it
points at openssl@1.1. (`brew unlink openssl@1.1` was tried first and
removed 0 symlinks, since brew doesn't own the link.)

## Note

The `Build iOS app (apple)` / `(tflite)` failures on current PRs are
unrelated and not fixable in code: Apple requires the team's Account
Holder to accept the updated Program License Agreement (`PLA Update
available ... must agree to the latest Program License Agreement`). They
will keep failing on this PR too until that's done.

## Test plan

- [ ] `Build Android app` in Android Build & Test (macOS) gets past
`Install dependencies` and passes on this PR
@anhappdev
anhappdev merged commit 978419f into master Oct 7, 2026
37 of 43 checks passed
@anhappdev
anhappdev deleted the fix-benchmark-set-options branch October 7, 2026 05:56
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants