VS Code: a revocation whose save failed lasts until the broker window closes, not until Dormouse quits
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- Active
- Stack technique
- typescript
- Domaine
- documentation, security
Piste de recherche
Start by reading docs/specs/remote-security-model.md (Revocation section) and lib/src/host/remote/service.ts around lines 539 and 1199 to see how #unsavedRevocations and the error text work. Note vscode-ext/src/burrow.ts starts the service only in the broker window. Done depends on maintainer's call: either edit those texts or hand pending revocations to the next broker.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
In VS Code, a phone revocation whose ACL save failed lasts only as long as the broker window, not until Dormouse quits. docs/specs/remote-security-model.md → "Revocation" says "quitting Dormouse before one undoes it". The error the user sees says "refused until Dormouse quits". In VS Code, closing one window is enough.
How it happens. #unsavedRevocations is held in memory on a single BurrowService (service.ts#L539). VS Code runs that service only in the broker window (startService in vscode-ext/src/burrow.ts). When the broker window closes and another window takes over, the new service loads the stored ACL, which never received the revocation, so the revoked phone is paired again. Standalone runs one sidecar per app, so the spec's wording is accurate there.
This only happens after an ACL save has already failed, which is rare. Two directions, and the choice is a maintainer's:
- Narrow the promise. Change the spec sentence and the error text to say the refusal lasts until the window running remote control closes, or until Dormouse quits.
- Keep the promise. Hand pending revocations to the next broker, either through the peer link at handoff or a small separate record. A record has to be written somewhere, and the ACL write just failed, so this is the larger change.
A related note from the same review of #1459 (not a bug)
- The public
BurrowService.revoke(service.ts#L1172) has no caller, tests included. Settings anddor remote revokeboth go through#revokeDevice.security-remote.mdS292 and the spec's passkey-target sentence name it as the entry point.
- Langage dominant
- TypeScript
- Étoiles
- 5
- Forks
- 1
- Merge moyen
- 11 h 41 min
- PR mergées (30 j)
- 432
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
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 diffplug/dormouse
-
`CI` failing on `main` (push)Ouvertetend-ci-failure
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
diffplug/dormouse#1575 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Decide how to clear 28 npm Dependabot alerts that need a direct dependency bump or an overrideOuvertesecurity
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
diffplug/dormouse#1574 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 18/100
diffplug/dormouse#1572 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
tend-ci-cause
Difficulté 4/5 1-2 jours Accessibilité débutants 42/100
diffplug/dormouse#1565 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Red team: November 2026Ouvertered-team
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 5/100
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de diffplug/dormouse
Issues similaires
-
[Text] Add Reading Time & Word Count Estimator for Reflection Notes in src/lib/text/reading-time.tsOuvertearea:core beginner-friendly community contributions-welcome difficulty:easy enhancement good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Les mainteneurs répondent en général sous 1 jour
-
[fullsend] E2E: scorecard — filecheck GitLab entity metrics unavailable due to initialDelay timingOuvertee2e-failure ready-to-code
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
redhat-developer/rhdh-plugin-export-overlays#4698 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
devswha/herdr-web-ui#2884 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
b:minor bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
software-mansion/argent#1771 ·
Les mainteneurs répondent en général sous 1 jour