Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#1,524 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
78/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
go
Ambito
backend, cli

Direzione di ricerca

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.

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

Descrizione

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.
Lingua principale
Go
Stelle
115
Fork
14
Merge medio
9h 35m
PR unite (30g)
752

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

  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 Agent-Field/CodeAF

Tutte le issue di Agent-Field/CodeAF

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.