Force push does not invalidate existing approved reviews
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- github, javascript
- Ambito
- tooling
Direzione di ricerca
L'issue non indica alcun file sorgente, test o punto di ingresso. Inizia individuando la gestione delle review e dei force-push in node-core-utils e riproduci lo scenario nodejs/node#46904; il lavoro è completato quando un'approvazione non conta più dopo un force-push del branch esaminato, con una copertura per questo comportamento.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
If the author force pushes to their branch after a reviewer approved it, I assumed that it would invalidate existing approved reviews, since the code that was reviewed is changed. But right now approved reviews count as valid ones, and might lead to unwanted code to be merged to main.
Example https://github.com/nodejs/node/pull/46904
➜ node git:(main) ✗ git node metadata 46904
✔ Done loading data for nodejs/node/pull/46904
----------------------------------- PR info ------------------------------------
Title url: use private properties for brand check (#46904)
Author Yagiz Nizipli <yagiz@nizipli.com> (@anonrig)
Branch anonrig:url-context -> nodejs:main
Labels semver-major, performance, whatwg-url, esm, author ready, worker, needs-ci
Commits 1
- url: use private properties for brand check
Committers 1
- Yagiz Nizipli <yagiz@nizipli.com>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/46904
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
--------------------------------------------------------------------------------
ℹ This PR was created on Wed, 01 Mar 2023 21:28:43 GMT
✔ Approvals: 3
✔ - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/46904#pullrequestreview-1320667498
✔ - Ruben Bridgewater (@BridgeAR) (TSC): https://github.com/nodejs/node/pull/46904#pullrequestreview-1320668469
✔ - Benjamin Gruenbaum (@benjamingr): https://github.com/nodejs/node/pull/46904#pullrequestreview-1321281126
✖ This PR needs to wait 21 more hours to land
✖ GitHub CI is still running
ℹ Last Full PR CI on 2023-03-02T23:13:10Z: https://ci.nodejs.org/job/node-test-pull-request/50175/
✔ Build data downloaded
✖ Last Jenkins CI still running
- Lingua principale
- JavaScript
- Stelle
- 313
- Fork
- 137
- Merge medio
- 2g 8h
- PR unite (30g)
- 24
Guida per i contributori
Apri 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 nodejs/node-core-utils
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
nodejs/node-core-utils#664 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
nodejs/node-core-utils#1164 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 68/100
nodejs/node-core-utils#1160 · 3 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
nodejs/node-core-utils#1151 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
nodejs/node-core-utils#1063 ·
Tutte le issue di nodejs/node-core-utils
Issue simili
-
bug customer-eng Durable Agents Inngest status: needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
optimization optimization:agents-md-curator
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
githubnext/gh-aw-cao#13475 ·
-
[BUG]: "Clear All" in Settings doesn't clear the saved analysis, old data comes back after reload Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
AOSSIE-Org/OrgExplorer#253 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
oxc-project/oxc#26944 ·
-
ai-observability bug team/ai-observability
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100