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

test(planning): make the surface ui_journey checks wait for the state they assert

Aperta
#7,210 1 commento 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
63/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
shell
Ambito
devtools, testing

Direzione di ricerca

Start with plugins/planning/surface/surface.test.sh and inspect the failing ui_journey.2 and ui_journey.13 checks to see what state each asserts and what it currently waits for. Replace timing-dependent waits with waits tied to the asserted state, then run the script 20 consecutive times under load; done means all 20 runs pass.

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

Descrizione

good first issue needs-triage priority: medium

Problem

plugins/planning/surface/surface.test.sh fails sometimes with no change to the files it covers. While verifying #7009, three runs on the same head gave three different results:

  • run 1: exit 1, failing ui_journey.2 ("Answer again moves focus to the first choice");
  • run 2: exit 1, failing ui_journey.2 and ui_journey.13;
  • run 3: exit 0 (PASS=480).

No file under plugins/planning/surface changed between the runs, and the failing checks differ from run to run. That points to a browser timing race in the UI journey checks: a focus assertion running before the page has settled.

Fix

Find what each failing check waits on and make it wait for the state it asserts. For example, wait for the focused element or a settled-render signal instead of a fixed delay, so the result does not depend on machine load.

Done when

  • surface.test.sh passes 20 consecutive runs on a loaded machine (for example, while another test suite runs in parallel).

Refs: #7009

Lingua principale
Shell
Stelle
22
Fork
2
Merge medio
8h 24m
PR unite (30g)
947

Preparare l'ambiente

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 melodic-software/claude-code-plugins

Tutte le issue di melodic-software/claude-code-plugins

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.