Issue triage automation applies model output to issues without validating it

Aperta
#30,205 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #30139 di @r-bedekar — chiusa senza merge

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
github-actions, typescript
Ambito
tooling

Direzione di ricerca

Read gemini-automated-issue-triage.yml, .github/scripts/apply-issue-labels.cjs, and gemini-automated-issue-dedup.yml to trace where model output reaches GitHub. Compare each value with the constraints stated in the issue and its prompts; done means invalid values are dropped or fail with a clear message while valid output behaves as before. A fix is already open in #30139.

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

Descrizione

area/platform status/need-triage

The issue triage automation writes the model's answer to the issue without checking it first. Three places pass the output through as is:

  1. gemini-automated-issue-triage.yml, Apply Labels step: the returned label is applied even if it is not one of the area/ labels the model was given.
  2. .github/scripts/apply-issue-labels.cjs (scheduled triage): label names are sent to addLabels without checking them against the repository's labels, and issue_number is not checked to be a positive integer.
  3. gemini-automated-issue-dedup.yml: items in the duplicate list are used without checking that they are issue numbers.

Expected: only values the prompts already describe reach the GitHub API; anything else is dropped or fails the step with a clear message. No change for valid output.

A fix is open in #30139.

Lingua principale
TypeScript
Stelle
109k
Fork
15k
Merge medio
1g 1h
PR unite (30g)
106

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 google-gemini/gemini-cli

Tutte le issue di google-gemini/gemini-cli

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.