Skip to content

fix: show selected and actual build destinations - #4723

Merged
janicduplessis merged 1 commit into
mainfrom
codex/2549-build-destinations
Nov 1, 2026
Merged

janicduplessis merged 1 commit into
mainfrom
codex/2549-build-destinations

Conversation

@janicduplessis

Copy link
Copy Markdown
Collaborator

Description

Build details hide the selected build machine. Desktop also labels completed runs without a recorded compilation destination as local, including cache hits.

Solution

Show the recorded selection and compilation machine in Desktop and the phone app, and label STIM_OFFLOAD_REFUSED in plain language. Missing compilation data stays unknown; the existing payload and placement controls are unchanged.

Fixes #2549.

Test plan

Owned iOS27 and hosted macOS27 fixtures show remote compilation, remote artifact-cache reuse without a compilation claim, and readable offload refusal.

Desktop checks temporarily selected the existing DEBUG screen/scenario at launch because agent-device#3965 blocks its picker. Tested views and decoding match this diff; the temporary defaults and launch arguments are restored. Captures use only the verified owned window.

Desktop compilation

Desktop cached artifact

Phone cached artifact

Phone refusal

@janicduplessis janicduplessis added area: desktop apps/desktop area: mobile apps/mobile and apps/demo-server area: website website/ labels Nov 1, 2026

@janicduplessis janicduplessis left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Independent exact-head review of 7e503fb against 0136d5f: clear, no actionable findings.

Reviewed the complete source diff, existing decode/render contracts, BuildRun-to-record association, both cache wire shapes and actual phone/Desktop captures. Optional fields preserve old payload decoding. Native local/remote cache hits and raw macOS cacheHit:true suppress the new compilation claim even if an older producer populated builtOn. Existing status, fallback, log routing and running-build behavior are retained. The change adds no protocol/state/picker behavior or test cases. Temporary DEBUG presentation used for the owned native proof is absent from final source.

@janicduplessis janicduplessis added the review: ai-approved A fresh AI review found nothing left to fix label Nov 1, 2026
@janicduplessis

Copy link
Copy Markdown
Collaborator Author

Exact head: 7e503fbab711a965315369e97c5eedab6fea0173.

Codex Review

Target: branch diff against origin/main

No actionable bugs were found in the diff. Mobile type-checking and the Desktop ASCII check passed; the focused mobile test could not run because the read-only sandbox blocked Jest cache writes.

@janicduplessis
janicduplessis marked this pull request as ready for review November 1, 2026 09:36
@janicduplessis
janicduplessis added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit 28c96d1 Nov 1, 2026
11 of 13 checks passed
@janicduplessis
janicduplessis deleted the codex/2549-build-destinations branch November 1, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: desktop apps/desktop area: mobile apps/mobile and apps/demo-server area: website website/ review: ai-approved A fresh AI review found nothing left to fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show a build's selected and actual machine in Desktop and the phone app

1 participant