Repository navigation
Conversation
9 of 10 tasks
7 of 8 tasks
Collaborator
|
Closing. The colliding-host case is already covered on main (automation rows resolve their project and workspace inside their own host, and #27246 made run opening follow the owner). The folder-workspace bug is real and is fixed separately in #27416: automations that target a folder workspace were shown as unavailable on the Automations page. |
7 of 9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
Automations saved for one host could appear unavailable or open a matching workspace from another host. Run now and workspace opening now keep the saved repository and workspace owner.
What Changed
Resolve captured automation rows by catalog publisher, original execution host and saved repository path. Preserve a refused qualified lookup instead of substituting a bare-ID map entry. Before opening a run or changing its terminal layout, pass the checked workspace owner through the existing activation path.
Why
The existing row and activation selectors already carry the owner. Extending those boundaries keeps later file and terminal operations on the selected checkout without introducing another ownership store or changing published IDs. Unscoped rows and rows without a saved run context retain their existing legacy policy.
Linked Issue
Stacked on checked activation and session routing #27045, above host session ownership #27030. Internal reproducible audit; no new issue or copied donor implementation.
Visual Proof
Combined hidden Electron validation remains a separate gate. Current controls use mounted automation-page components, the actual renderer Store and the registered backend. No native app or desktop-focus proof is claimed.
Testing
This seven-file consumer delta is byte-for-byte the frozen consumer commit, applied on client
91773413b8030e35a1ed05d1b4b339a3309f3956. The proposed head is57e3170c5a14219125c564bc3062ab1f08c7e420, tree752282f3ff2fd3553a94fa092c5c2e055dee16a1. All 98 client paths remain unchanged.Six focused suites pass 86 cases, including captured Run now targets, both local/SSH catalog orders, paired publishers with colliding private hosts, linked checkout paths, poisoned fallback refusal, duplicate refusal and the unique local bootstrap control. The original real-opening control remains preserved as four failures before the checked caller and seven passing controls afterward.
A separate 11-case composition proof now imports the consumer from this checkout and exercises actual OpenRunWorkspace with default host notification, real client activation and selectors, registered RPC/controller, SQLite sessions, immediate inventory and bounded recovery. It includes exact selector compatibility, stale/duplicate refusal and separate concurrent owner requests. Provider inventory, initial terminal startup and external wake/resume edges are isolated; no native PTY, SSH connection, app launch or focus action ran. Direct folder activation and terminal-layout effects are outside that producer proof.
All three type checks, changed-code quality for seven files, and diff checks pass. The private pinned Shiki closure preserves the canonical web file list, compiler options and existing aliases. The working tree is clean.
Review
The normal application had no conflicts or manual source corrections. A bounded read of all seven changed files and the default-notification call chain found no new blocker. Final root review accepted this exact source and packet. Combined rendered validation remains a separate gate; this packet does not claim it complete.
Agent skill upstream boundary
Notes
This consumer adds no state store, wire field, method, opcode, capability or ID migration. Older-host refusal and missing-identity behavior come from the reviewed client/backend prerequisites. Unknown or duplicate captured targets remain unavailable rather than selecting a sibling.
Checklist