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

flake: TestSnapshotChanged_MultipleConfigFiles (multiple variants)

Aperta
#1,616 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

CI Run: https://github.com/coder/coder/actions/runs/29076046174
Job: test-go-pg (ubuntu-latest)
Failure time: 2026-07-10T07:28:11Z
Commit: 3d8ffd34b3054ca192c471b6aa9546d4d910741f (Thomas Kosiewski)

Failed tests:

  • agent/x/agentmcp TestSnapshotChanged_MultipleConfigFiles (reload_internal_test.go:249)
  • agent/x/agentmcp TestReload/SequentialReloadsDiffDetect (reload_internal_test.go:386)

Error evidence:

  • TestSnapshotChanged_MultipleConfigFiles: Error: Should be true / message: snapshot should change when second file is mutated
  • TestReload/SequentialReloadsDiffDetect: Error: Should be true

No panic/OOM indicators and no data race warnings observed in the job log excerpt.

Root cause assessment:
Likely flaky snapshot-change detection (file mutation not observed). Both failing assertions are SnapshotChanged returning false after rewriting .mcp.json, suggesting a timing/mtime/fsnotify edge where the second write isn’t picked up immediately.

Assignment analysis:

  • git blame -L 240,270 agent/x/agentmcp/reload_internal_test.go
  • git blame -L 370,395 agent/x/agentmcp/reload_internal_test.go
    Both lines were last modified in 27ecd17991f54ae26a78941bdccd48ff3ab8185f (Kyle Carberry) “refactor: consolidate agent MCP onto a single persistent engine (#26599)”, which updated these tests to use the new connected catalog helpers.

Related issues:

  • None found after searching coder/internal for TestSnapshotChanged_MultipleConfigFiles, SequentialReloadsDiffDetect, reload_internal_test.go, or "snapshot should change".

Reproduction:

  • Not known; appears intermittent.
Lingua principale
Nessun dato sulla lingua
Stelle
3
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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 coder/internal

Tutte le issue di coder/internal

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.