Refactor shared editor-readiness tracking for remote export and review
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Refactoring
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- electron, typescript
Direzione di ricerca
Start by comparing electron/mcp/remoteExport.ts and electron/mcp/reviewRecording.ts, then inspect their corresponding tests and the PR #1110 review thread for context. Identify the duplicated readiness and lifecycle behavior before locating the shared tracker’s appropriate module and test entry points. Done means both consumers share readiness state, meet the listed acceptance criteria, and their tracker and consumer tests pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Extract the duplicated editor-readiness tracking from electron/mcp/remoteExport.ts and electron/mcp/reviewRecording.ts into a shared createEditorTracker({ ipc }) module.
This is a non-blocking maintainability follow-up to PR #1110. Requested by @deepak982. Keep this refactor separate from that PR.
Rationale
Both consumers maintain ready-editor maps, monitor editor lifecycle events, register remote-editor-ready listeners, and wait for an editor to report the requested recording path. Readiness-rule changes currently require updates in both modules.
Required changes
- Move ready-editor tracking, path normalization, lifecycle monitoring, and the
remote-editor-readylistener into the shared tracker. - Expose
waitForEditor(videoPath, signal, cancelMessage). - Expose
onEditorGone(editor, cb)so each consumer can settle its own pending request when its editor closes, crashes, or reloads. - Update remote export and recording review to use the tracker and remove their duplicated readiness logic.
- Ensure both consumers share one tracker instance for the same IPC source rather than creating separate readiness maps and listeners.
- Preserve each consumer's export or review behavior, cancellation messages, and timeout behavior.
Affected areas
electron/mcp/remoteExport.tselectron/mcp/reviewRecording.ts- A new shared editor-readiness tracker module
- Corresponding tracker, remote-export, and recording-review tests
Acceptance criteria
- Remote export and recording review use shared readiness state and lifecycle monitoring.
- Waiting resolves only for a live, non-crashed editor reporting the requested recording path.
- Not-ready notifications and editor closure, crashes, or main-frame reloads clear readiness.
- Editor disappearance settles the affected consumer's pending request.
- Cancellation and timeout paths remove wait callbacks, timers, and abort listeners.
- Tests cover the shared tracker and preserve existing remote-export and recording-review behavior.
References
- Lingua principale
- TypeScript
- Stelle
- 32.4k
- Fork
- 2.6k
- Merge medio
- 5g 3h
- PR unite (30g)
- 23
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di webadderallorg/Recordly
-
System FFmpeg should be preferred over bundled ffmpeg-static on Linux for GPU hardware accelerationForse già presa @LangerSword l’ha presa 11 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
webadderallorg/Recordly#757 · 1 reazione ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 22/100
webadderallorg/Recordly#1140 ·
I maintainer di solito rispondono entro 2 giorni
-
Webcam recording is kept in renderer memory, HUD crashes after ~73 min and the webcam track is lostForse già presa @samhvw8 l’ha presa oggi. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 24/100
webadderallorg/Recordly#1139 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 55/100
webadderallorg/Recordly#1136 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
webadderallorg/Recordly#1134 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di webadderallorg/Recordly
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
agilepathway/label-checker#739 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
CopilotKit/OpenBot#800 ·
I maintainer di solito rispondono entro 1 giorno
-
Endpoint links in the tag operations list are below the 24px target sizeForse già presa @AdzerKI l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
ehmpathy/rhachet-roles-bhuild#471 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
I maintainer di solito rispondono entro 1 giorno