refactor(providers): share one lease table across cloud device providers
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
- Issue-Typ
- Refactoring
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript
- Bereich
- backend
Rechercherichtung
Start by reading the lease bookkeeping in provider-limrun and the review findings in #4092 to understand the existing rules. Extract the shared lease table, migrate limrun without behavior changes, then move provider-revyl to it and remove duplicate bookkeeping. Run the relevant provider tests; done means both providers share the table and the typed cleanup-pending outcome is used when a stop is unconfirmed.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
provider-limrun and the new provider-revyl (#4092) each keep their own lease state: allocate once per lease, track in-flight allocations, release only after the provider confirmed the stop, drain on shutdown, bound work by the caller's deadline, and recover expired leases. Each provider re-implements these rules, so each one can get a different rule wrong. In #4092, most review findings were about this bookkeeping, not about Revyl itself.
Proposal: extract one provider lease table that owns these rules, with a typed provider-cleanup-pending outcome when a stop is not confirmed. A provider would supply only start, stop by lease, find by lease, and its interactor.
Order:
- Extract the table from
provider-limrunand migrate limrun onto it with no behavior change. - Move
provider-revylonto the same table. - Delete the per-provider lease bookkeeping.
Decided on #4092: Revyl lands first, and this refactor follows.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 5.3k
- Forks
- 377
- Ø Merge
- 14 Std. 6 Min.
- Gemergte PRs (30 T.)
- 650
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus callstack/agent-device
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 79/100
callstack/agent-device#4249 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug ready-for-agent
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 90/100
callstack/agent-device#4212 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
iOS alert wait: the last poll can get ~30 ms and turns "no alert" into a failed readEvtl. vergeben @pcbeingused333 hat das vor 5 Tagen übernommen. Offenbug ready-for-agent
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
callstack/agent-device#4018 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
callstack/agent-device#1869 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug ready-for-agent
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
callstack/agent-device#4247 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in callstack/agent-device
Ähnliche Issues
-
Navbar avatar and name stay stale after saving profile changesEvtl. vergeben @alexechoi hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
marmelab/atomic-crm#416 ·
Maintainer antworten meist innerhalb von 1 Tag
-
feature-request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
bluesky-social/social-app#12343 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
lucide-icons/lucide#5165 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Feature] Preferences - Keep the theme selection popover open after selection for quick previewOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
marktext/marktext#6033 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:desktop bug has repro platform:macos
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
anthropics/claude-code#107903 ·