hyperdb-bootstrap never prunes superseded hyperd pins (793 MB for one active version)
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
- 55/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- powershell, rust
- Ambito
- build-system, tooling
Direzione di ricerca
Start at hyperdb-bootstrap, especially download_and_extract and refresh_current, then inspect the make clean target and build.ps1 equivalent. Clarify whether cleanup should retain one previous pin or only the active pin, and verify that installation and targeted cleanup remove stale versioned directories while preserving current/ and the active release.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
hyperdb-bootstrap never removes a superseded hyperd release, so every pin bump leaves the previous one on disk permanently. On this workstation that is already 793 MB for a single pinned version:
263M .hyperd/0.0.26359.r07abb490 <- superseded pin, nothing references it
265M .hyperd/0.0.26479.r96880f6a <- the current pin
265M .hyperd/current <- a full copy of the current pin
793M .hyperd
Two things compound:
- No pruning on bump.
download_and_extractclears only the directory for the release it is installing, andrefresh_currentclears onlycurrent/. Neither considers older versioned directories, so each bump adds ~263 MB that is never reclaimed. current/is a full file copy rather than a symlink. That is deliberate — it avoids requiring symlink privileges on Windows — but it means the active pin is always stored twice.
Nothing in the repository references the superseded directory by path; the only 26359 matches are version strings in changelogs, benchmark history, and a --version example.
Why the existing cleanup does not help
make clean does rm -rf .hyperd, which removes current/ along with everything else and forces a full re-download of the pinned release. So the only available cleanup is all-or-nothing: either carry the superseded copies indefinitely, or discard the working engine too and re-fetch ~265 MB.
There is no targeted way to say "keep the current pin, drop the rest."
Fix direction
Either would resolve it, and they compose:
- Prune on install. After
refresh_currentsucceeds, remove versioned directories under.hyperd/other than the one just installed. Doing it after the new pin is verified andcurrent/is refreshed keeps the operation safe — a failed download must not leave the tree with no usable engine. - Add a targeted cleanup target. A
make clean-hyperd-stale(plus thebuild.ps1equivalent) that removes superseded versioned directories while leavingcurrent/and the active pin intact. Useful independently of (1), since it also cleans up trees that predate the change.
Worth considering whether to keep exactly one previous pin, which would make an A/B benchmark against the prior release — the procedure the update-hyperd-release skill documents — possible without re-downloading. That argues for pruning to N most recent rather than to one.
Provenance
Noticed while correcting the HYPERD_PATH guidance (#298). Verified against main at 05e993f.
- Lingua principale
- Rust
- Stelle
- 3
- Fork
- 2
- Merge medio
- 23h 11m
- PR unite (30g)
- 65
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
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 tableau/hyper-api-rust
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
tableau/hyper-api-rust#294 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
tableau/hyper-api-rust#311 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
tableau/hyper-api-rust#305 ·
I maintainer di solito rispondono entro 1 giorno
-
Windows Named Pipe: verify DACL denies other users, and measure read-path perf for MCP workloadsAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
tableau/hyper-api-rust#302 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
tableau/hyper-api-rust#300 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di tableau/hyper-api-rust
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pnpm/pnpm#16635 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: Bedrock request metadata forwarding does not work for /embeddingsForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug llm translation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
pytest plugin: a crashed xdist worker aborts the whole session with INTERNALERRORForse già presa @hazelxue 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 85/100
I maintainer di solito rispondono entro 1 giorno
-
skillfs: one malformed chat-log line aborts the entire skill-usage analysis (skill_usage_from_chat_logs.py)Forse già presa @zjncs l’ha presa oggi. Apertacomponent:skillfs
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
agentic-os-org/ANOLISA#6116 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno