[GH-ISSUE #642] Clarify HopperTargetLease realpath fallback semantics #305

Closed
opened 2026-10-15 18:23:41 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @morluto on GitHub (Oct 5, 2026).
Original GitHub issue: https://github.com/morluto/rea/issues/642

Deferred from the silent-catch sweep (#637).

Location: src/hopper/HopperTargetLease.ts:38 — realpath failure falls back to resolve. This is fallback-value semantics, not an unhandled rejection, so the sweep left it alone.

Problem: the fallback is silent by design, but nothing documents when realpath is expected to fail versus when fallback masks a real problem.

Ask: document the expected fallback conditions, or log the fallback at debug level.

Originally created by @morluto on GitHub (Oct 5, 2026). Original GitHub issue: https://github.com/morluto/rea/issues/642 Deferred from the silent-catch sweep (#637). **Location:** `src/hopper/HopperTargetLease.ts:38` — `realpath` failure falls back to `resolve`. This is fallback-value semantics, not an unhandled rejection, so the sweep left it alone. **Problem:** the fallback is silent by design, but nothing documents when realpath is expected to fail versus when fallback masks a real problem. **Ask:** document the expected fallback conditions, or log the fallback at debug level.
bsakaguchi 2026-10-15 18:23:41 +00:00
  • closed this issue
  • added the
    P3: low
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#305
No description provided.