The tip-manual gate passes when tips appear outside the tips table
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 82/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- go
- Bereich
- documentation, testing
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- Go
- Sterne
- 115
- Forks
- 14
- Ø Merge
- 15 Std. 56 Min.
- Gemergte PRs (30 T.)
- 231
Entwicklungsumgebung
Die Einrichtungsdateien dieses Projekts haben wir noch nicht geprüft. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus Agent-Field/CodeAF
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Agent-Field/CodeAF#1841 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:chat bug sev:papercut
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Agent-Field/CodeAF#1805 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:session bug sev:papercut
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Agent-Field/CodeAF#1779 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:session bug sev:papercut
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Agent-Field/CodeAF#1768 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:chat bug sev:papercut
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Agent-Field/CodeAF#1742 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in Agent-Field/CodeAF
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
scaleway/scaleway-cli#6492 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
taskcluster/taskcluster#9284 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Review backlog (docs-currency): operator-reference.md dependency-bot sweep paragraph does not mention the transient-triage wordingEvtl. vergeben @hivecommons-hive hat das heute übernommen. Offenagent/reviewer approved-direction help wanted hive/claimed-by-scanner
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
hivecommons/hive#13025 · 7 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
fluxcd/go-git-providers#329 ·