Dev app: reload action and reporting an open launch that exits early
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 62/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- macos, typescript
- Domaine
- desktop
Piste de recherche
Start at apps/host/src/health.ts, the source of "uses an incompatible protocol; restart it", and trace where the conflicting helper is detected so the error can name that helper's bundle id and path instead of advising a restart. Then read apps/host/src/config.ts desktop() and apps/desktop/src/helper.ts to see how dev ports, profiles and listeners are assigned — the loopback-only test host and the dev-app reload action live in the same area. Done when conflict errors identify the other helper without telling the user to restart an unrelated one, and each remaining bullet has a test or manual check.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Status (Oct 15)
- githubnext/ace#112:
bun desktop devruns a checkout's source host and app together on their own port and data profile, refuses existing listeners, never registers or restarts Ace Helper, and stops host and app together. - githubnext/ace#118: dev runs give their source host and workers the checkout's signed native client.
- githubnext/ace#123: all checkouts deliberately share one
dev.ace.desktop.devidentity and Apple Development signature, so one permission grant covers every dev run; separate profiles keep data, settings, Keychain services, ports and WebKit storage apart. Source dev runs coexist with installed Canary, not with an installed Ace-dev managed helper (details). - githubnext/ace#386: conflict errors name the Ace holding a port (bundle, path, PID), and
ace serve --loopbackkeeps test hosts off the tailnet;bun desktop devuses it.
The original expectation of a per-lane helper identity running side by side with an installed Ace-dev is superseded by githubnext/ace#123.
Remaining
- A reload action in the dev app, so a UI rebuild doesn't require relaunching the client (also hit in githubnext/ace#55).
- An
openlaunch that exits before showing a window reports why (not verified on current main).
Original report
A desktop build made from a lane cannot be exercised in isolation: every development build shares one helper identity, port, and data directory, so the new client connects to whichever older Ace-dev helper is already installed and running. Validating a UI change in the shipped desktop shell then requires replacing the user's installed development helper.
Reproduction (dogfooding githubnext/ace#91 from Ace Canary 0.0.11)
- In a lane at
origin/main(1ab91be, desktop 0.0.11) plus the githubnext/ace#91 UI change, runbun scripts/build.ts devinapps/desktop. This buildsapps/desktop/dist/dev-macos-arm64/Ace-dev.app(bundle iddev.ace.desktop.dev) and warns that native desktop inspection needs an Apple Development signature. openthat bundle. The client process (PID 35146) exited before showing a window, with no dialog or log.- Run its
Contents/MacOS/launcherdirectly. The client (PID 35598) shows: "Could not connect to Ace Helper. Ace Helper on port 4141 uses an incompatible protocol; restart it". - Port 4141 belongs to
/Applications/Ace-dev.app/Contents/MacOS/Ace Helper(PID 2326, launchddev.ace.desktop.dev.helper, running since the previous day), an older installed development build. Its host also listens on the tailnet. - The only offered remedy is to restart that helper. That would replace the user's installed development helper and its channel host, so the lane build was never connected and the new UI code was not exercised.
During the same session the supervisor reported that Canary was trying to use an old Ace instance, and stopped validation.
Cause
apps/host/src/config.ts desktop() gives every dev build the same port (4141), ~/.local/state/ace-dev home, settings directory, and keychain service. apps/desktop/src/helper.ts connects to whatever answers on that port and registers the same launchd identifier. Nothing ties a client to the helper built from the same bundle or lane.
Blocks UI validation for githubnext/ace#91. Related to githubnext/ace#55 ("Keep a working installed Ace separate from the source build under development"). Part of githubnext/ace#5.
- Langage dominant
- TypeScript
- Étoiles
- 1
- Forks
- 0
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de githubnext/ace2
-
Ace: adopt desktopToolRules()Ouvertedocumentation
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
githubnext/ace2#530 · 1 commentaire ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
githubnext/ace2#437 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
githubnext/ace2#529 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
githubnext/ace2#528 ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
githubnext/ace2#511 ·
Toutes les issues de githubnext/ace2
Issues similaires
-
skillopt: success-reflect prompt omits the edit schema, so every success-only edit is droppedOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Workspace secrets/constants containing "$" are corrupted when resolved in data source optionsOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
mobile-next/mobile-mcp#526 ·
Les mainteneurs répondent en général sous 1 jour
-
e2e-failure ready-to-code
Difficulté 1/5 Moins d'une heure Accessibilité débutants 73/100
redhat-developer/rhdh-plugin-export-overlays#4470 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour