pregate: safe handling of removed non-test paths and source renames (follow-up to #3529)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- dart, javascript, python, typescript
Direzione di ricerca
Read the GSTA-137 review outputs adversarial-native-5a1577b.txt and fix-check2.txt, then trace how lanes reports PREGATE_NO_LANE for removed paths. The issue calls for a design that detects extensionless, dotted-module, and computed references safely, including old names from source renames. Done means removed source paths and rename old names are handled without waiving paths that remaining tests or code still reference.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Follow-up to #3529 / #3534 (GSTA-137). #3534 waives only removed tests. Every other removed path still fails lanes with PREGATE_NO_LANE until a test or a dependencies entry covers it. That includes a deleted source file nothing uses and a renamed source file's old name, so dead-code cleanups and source renames still need a hand-written entry.
Why it was narrowed. Earlier cycles of #3534 waived a removed JS, TS, Python or Dart file when no remaining file imported it or mentioned its basename. Review kept finding references that check missed, and each one passed pregate while a remaining test failed after merge:
- a computed
path.join(__dirname, 'lib', 'value.js') importlib.import_module("app.handlers")python3 -m tools.clinode lib/cliin package.json
Main refuses all four. The controller (GStack Minder) narrowed plan item D3 to removed tests only.
What a safe design needs. It needs reference detection that fails closed for extensionless, dotted-module and computed references. One option is to resolve a removed source file's old name the way an edit to it would be resolved, then run those tests instead of waiving it. It also needs the same treatment for a source rename's old name.
Evidence: GSTA-137 review outputs adversarial-native-5a1577b.txt and fix-check2.txt.
- Lingua principale
- TypeScript
- Stelle
- 143k
- Fork
- 21k
- Merge medio
- 5h 25m
- PR unite (30g)
- 791
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 garrytan/gstack
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
garrytan/gstack#4971 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement S3
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
garrytan/gstack#4768 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement S3
Difficoltà 3/5 1-2 giorni Idoneità per principianti 60/100
garrytan/gstack#4766 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
S3
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
garrytan/gstack#4765 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement S3
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
garrytan/gstack#4764 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di garrytan/gstack
Issue simili
-
bug Needs Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
scottbenton/Iron-Link#541 ·
I maintainer di solito rispondono entro 1 giorno
-
hosts settings: the SSH address field and the separate User field are two ways to name one SSH userAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
prime-radiant-inc/evener#8161 ·
I maintainer di solito rispondono entro 1 giorno
-
Ignore Rules is not workingApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nicobailon/pi-subagents#3420 ·
I maintainer di solito rispondono entro 1 giorno
-
Edit content TabList: selected tab's icon/label are hidden by its own selection indicator - a11yAperta01 type: bug 99 tag: UX Accessibility
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 2 giorni