Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

teams: a local launch writes no Close/Reopen note to the team's Traffic

Offen
#1,524 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

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
78/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
go
Bereich
backend, cli

Rechercherichtung

Start in cmd/codeaf/chatv3_local.go with the localDoors seam, then compare its team close/reopen path with the engine road and the pattern in TestPlainLaunchReadsClosedTeamReportFromEngineProfile. Add a cmd/codeaf seam test that closes and reopens a team, reads teams.ReadTraffic, and verifies both entries appear; the plain-launch e2e behavior should match the engine road.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area:chat bug sev:papercut

What happened

On a plain codeaf launch (no --host), closing a team and reopening it on the teams page writes no Close/Reopen note to that team's Traffic log. teamsUndoClose in internal/tui3/teamclose.go sends the person reopened the team, and close sends its equivalent, but on a local launch neither reaches the log. This was found on 2026-09-25 while fixing #1516's item 6.

It has the same cause as #1516's item 6. The local launch's teams seam (localDoors in cmd/codeaf/chatv3_local.go) was not handed the door that the engine road uses. Item 6 fixed History; the Traffic write for these notes is still missing.

Replication

Deterministic: a cmd/codeaf test that builds the plain-launch doors (localDoors), closes a team through the seam and reopens it, then reads teams.ReadTraffic for that team. Today no close/reopen entry is there. TestPlainLaunchReadsClosedTeamReportFromEngineProfile (#1516) is the pattern to copy.

By hand:

  1. Run codeaf.
  2. Press alt+2, make a team with a manager, and close it with Close.
  3. Reopen it with u.
  4. Look at the manager's Traffic column. It shows no close or reopen line.

The fix

A local launch writes the same Close/Reopen notes to Traffic as the engine road does.

Acceptance

  • e2e: on a plain launch, the manager's Traffic shows the close and the reopen lines after the steps above.
  • Unit: the localDoors seam test sees both entries in teams.ReadTraffic.
Vorherrschende Sprache
Go
Sterne
115
Forks
14
Ø Merge
9 Std.
Gemergte PRs (30 T.)
232

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

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Agent-Field/CodeAF

Alle Issues in Agent-Field/CodeAF

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.