GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — watcher.integration.test.ts の symlinked workspace テストが flaky · Issue #172 · ymnao/scripta

watcher.integration.test.ts の symlinked workspace テストが flaky #172

New issue
Copy link
New issue
Copy link
Closed
#174
Closed
watcher.integration.test.ts の symlinked workspace テストが flaky#172
#174
Copy link
Milestone
v0.3.0

Description

@ymnao
ymnao
opened on Jun 11, 2026
Issue body actions

症状

unit テスト全体実行(pnpm test)で、electron/main/ipc/watcher.integration.test.ts の

emits input-form paths even when chokidar reports canonical (symlinked workspace)

が稀に失敗する。再実行すると pass する(単独実行では未観測)。

推定原因

chokidar の watch 開始(ready)と fs イベント発火のタイミング競合。全体実行時はマシン負荷が高く、watch 確立前の書き込みイベントを取りこぼす・イベント待機がタイムアウトする等の race が顕在化しやすい。要調査。

修正の方向性(案)

  • ready 後の安定待ち(awaitWriteFinish / 短い settle wait)の見直し
  • イベント待機の poll 間隔・タイムアウトの調整
  • それでも不安定なら vitest の retry をこのテストに限定して付与(安易な retry での隠蔽は避け、原因特定を優先する)

補足

HANDOFF の環境メモに「watcher.integration.test.ts の symlink テストは flaky(全体実行で稀に失敗、再実行で pass)」として記録されていた既知事象の恒久対応。

Activity

  1. ymnao
    added this to the v0.3.0 milestone on Jun 11, 2026
  2. ymnao
    added a commit that references this issue on Jun 11, 2026

    fix: watcher integration テストの registerWorkspaceRoot を await (#172) (#174

    d267429
  3. ymnao
    closed this as completedin #174on Jun 11, 2026
  4. ymnao
    added a commit that references this issue on Jun 11, 2026

    chore: Biome nursery ルール noFloatingPromises を有効化し既存違反 10 件を解消 (#176)

    462b7eb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      • v0.3.0No due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.