Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

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

Ouverte
#1,524 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
78/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
go
Domaine
backend, cli

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.
Langage dominant
Go
Étoiles
115
Forks
14
Merge moyen
9 h 37 min
PR mergées (30 j)
755

Préparer son environnement

Nous n'avons pas encore vérifié les fichiers d'installation de ce projet. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de Agent-Field/CodeAF

Toutes les issues de Agent-Field/CodeAF

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.