compile: fd-anchored compiled-output writes and a single base-directory resolve
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
- 22/100
Direzione di ricerca
Start with the compiled-output writer touched by #5190/#5308 and the confined-writer work in #5182, since this extends both. Trace where the writer resolves its base directory per write and where the directory chain is currently re-checked before writing; the batch loop is where the resolve-once change lands. The acceptance test is a cell that swaps a directory for a link between check and write (POSIX only) plus a call-count assertion that the base directory resolves once per batch. Expect to need the existing writer test suite to reproduce the check-then-write window first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Follow-up of the compiled-output writer change (#5190, carried in #5308).
- Race-free write path on POSIX. Each compiled write now re-checks its directory chain for links right before writing, which narrows but does not close the window between check and write. Write through an fd-anchored path instead: open each directory with
O_DIRECTORY | O_NOFOLLOWfrom the project root, then create the file withopenatrelative to the final directory fd. A link swapped into the chain is then refused by the open itself. This belongs with the confined-writer work (#5182). - Resolve the base directory once. The writer resolves its base directory twice per write; resolve it once per batch.
Done when: on POSIX, a cell that swaps a directory for a link between check and write shows the write refused with nothing written outside the project, and the base directory is resolved once per batch (asserted by a call count).
- Lingua principale
- Python
- Stelle
- 4.4k
- Fork
- 430
- Merge medio
- 19h 38m
- PR unite (30g)
- 637
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un 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 microsoft/apm
-
flaky: test_fire_returns_thread_per_http_entry_on_head waits 5 s per dispatch worker on busy shardsApertastatus/accepted type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
microsoft/apm#5309 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[DOCS] Document Mode B waiver formatting/merge-queue requirements and post-approval issue editsApertastatus/triage-pending type/docs
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
microsoft/apm#4719 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement status/accepted
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
microsoft/apm#4075 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
audit --ci deployed-files check misses user-scope files under a redirected CLAUDE_CONFIG_DIRForse già presa @danielmeppiel l’ha presa oggi. Apertabug status/accepted type/bug
Difficoltà 3/5 Mezza giornata Idoneità per principianti 35/100
microsoft/apm#5312 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
architecture: register the uninstall in-use cwd check under the path-containment owner guardForse già presa @danielmeppiel l’ha presa oggi. Apertaenhancement status/accepted
Difficoltà 3/5 Mezza giornata Idoneità per principianti 45/100
microsoft/apm#5310 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/apm
Issue simili
-
bug vector-store
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
EverMind-AI/Raven#1413 ·
I maintainer di solito rispondono entro 1 giorno
-
Tests: parallel pyinstallcheck runs oversubscribe the machine through nested TBB and BLAS poolsForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
ACCESS-NRI/containerised-environments-infra#143 ·
I maintainer di solito rispondono entro 2 giorni
-
Teams conversion crashes on channel messages sent by an applicationForse già presa @sdivyanshu90 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni