check-server: 30s go test budget trips on loaded Windows boxes with every test green

Ouverte
#3,306 1 commentaire 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-3 heures
Accessibilité débutants
15/100
Type d'issue
Bug
Clarté
À clarifier
Activité
Active
Stack technique
go, javascript
Domaine
ci-cd, testing

Piste de recherche

The budget check lives in scripts/checks/check_go_server.mjs, and the budget list is scripts/checks/go-test-budget.txt; internal/gates is the package that exceeds 30s locally. The issue says the fix is workstation hygiene, not a code or ledger change, so there is no clear patch to write. Before touching anything, confirm with a maintainer whether any change to the gate is wanted at all.

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

Description

area: server bug priority: medium

Observed 2026-11-12 on the laptop workstation during PR #3305's local gates:

  • pnpm task run check:server: every package passes, but the budget step rejects the run - internal/gates measured 36.6s in the full run and 39.5s in the solo re-measure (budget 30s, scripts/checks/check_go_server.mjs).
  • A hand solo run of go test ./internal/gates/ -count=1 took 442s wall with ~1s user+sys CPU: the time is process-start/init stalls (the documented Windows AV-scan pattern on freshly linked test binaries), not test work. The same package's boundary test alone finishes in ~12s including compile.
  • scripts/checks/go-test-budget.txt names only internal/game/action; on CI runners internal/gates is comfortably inside the budget, so this is a workstation-load phenomenon, not package growth.

This is the #2562 class (closed: cannot waive - rerun on a quieter box). Filed so local submissions on a busy box can name an open issue in the gate waiver instead of re-litigating it; the fix, if any, is box hygiene (fewer concurrent suites), not a ledger entry - the ledger can only shrink and CI does not need it.

Langage dominant
Go
Étoiles
97
Forks
61
Merge moyen
4 h 14 min
PR mergées (30 j)
913

Préparer son environnement

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 opensro-dev/opensro

Toutes les issues de opensro-dev/opensro

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.