The tip-manual gate passes when tips appear outside the tips table
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 82/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- go
- Ambito
- documentation, testing
Direzione di ricerca
Start in internal/tui3/hometip_test.go:237 and inspect the table under ## Every hint codeaf can show in internal/manual/chat/hints-and-tips.md. Run go test ./internal/tui3 -run TestEveryTipIsOnTheManualPage -count=1, then use the two described counterexamples to verify the gate checks the table's contents and order. Done means the current table passes and both counterexamples fail, with the invalidates change entry corrected.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Seen on dev@debffabf6. Surfaced while verifying #1389; introduced by it.
What happened
TestEveryTipIsOnTheManualPage checks manual.Chat().Mentions(n.text) for each tip. That searches the whole chat corpus, so a tip can be deleted from the hints-and-tips.md table, moved out of order, or appear only in another page while the gate stays green. The change entry and manual describe a stronger, word-for-word table contract.
Replication
Deterministic (no model). In a disposable checkout, move one tip line out of the table section into another chat page, then run go test ./internal/tui3 -run TestEveryTipIsOnTheManualPage -count=1. The test still passes because the words remain somewhere in the corpus. Restore the checkout afterward. Reorder two table lines for a second passing counterexample.
Where
internal/tui3/hometip_test.go:237 at dev@debffabf6 uses corpus-wide Mentions. The table is in internal/manual/chat/hints-and-tips.md under ## Every hint codeaf can show.
The fix
Read that exact table section, parse its ordered tip lines, and compare them with the code's ordered tip list.
Acceptance
- e2e: a documentation command or targeted test fails if a visible tip is absent from the table or its order changes without a matching code change.
- Unit: the gate rejects the two counterexamples above and accepts the current table.
- Correct the change entry's gate claim in
invalidates.
- Lingua principale
- Go
- Stelle
- 115
- Fork
- 14
- Merge medio
- 9h 38m
- PR unite (30g)
- 749
Preparare l'ambiente
Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 Agent-Field/CodeAF
-
area:chat feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Agent-Field/CodeAF#1510 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Agent-Field/CodeAF#1489 ·
I maintainer di solito rispondono entro 1 giorno
-
area:chat bug good first issue sev:papercut
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Agent-Field/CodeAF#1470 ·
I maintainer di solito rispondono entro 1 giorno
-
area:chat bug good first issue sev:papercut
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
Agent-Field/CodeAF#1469 ·
I maintainer di solito rispondono entro 1 giorno
-
area:chat bug sev:papercut
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Agent-Field/CodeAF#1468 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Agent-Field/CodeAF
Issue simili
-
enhancement low priority
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
eugenioenko/ttt#674 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
Remove obsolete ipAllocationPolicy field from containernodepool-subnetworkref test dependencyAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
GoogleCloudPlatform/k8s-config-connector#13462 ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
vavallee/bindery#2793 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno