[FEATURE]: Replace /tmp/ with a persistent folder with expiry

Aperta
#65,197 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
18/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
devtools

Direzione di ricerca

This is a design question: the issue asks that agent session work folders replace /tmp/ with persistent storage that expires after inactivity or manual deletion, but it does not name the files where temp paths are created. Start by searching the TypeScript codebase for where /tmp or os.tmpdir() is used for session working directories, and read the single existing comment for any direction already agreed. Done means a maintainer-approved storage location and expiry policy, not just a patch.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area/core type/feature version/v2
Feature hasn't been suggested before.
  • I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request

The issue
/tmp/ is deleted on reboot and work can be interrupted so the agent will need to reconstruct it back. (/tmp/ doesn't survive a reboot.) And agents may be working for several days.

The proposed solution
I think /tmp/ should be replaced with persistent storage: every session has its folder and if the session is inactive for x amount of time(can be set by an agent) or manually deleted by an agent - only then it's deleted.

Lingua principale
TypeScript
Stelle
227k
Fork
30.7k
Merge medio
3h 57m
PR unite (30g)
484

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di anomalyco/opencode

Tutte le issue di anomalyco/opencode

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.