Skip to content

fix: normalize island ID paths for Windows compatibility - #64

Merged
Brooooooklyn merged 1 commit into
mainfrom
04-01-fix_normalize_island_id_paths_for_windows_compatibility
Apr 1, 2026
Merged

Brooooooklyn merged 1 commit into
mainfrom
04-01-fix_normalize_island_id_paths_for_windows_compatibility

Conversation

@shulaoda

@shulaoda shulaoda commented Apr 1, 2026

Copy link
Copy Markdown
Member

Summary

  • Wrap relative() calls with Vite's normalizePath() when generating island IDs in all framework adapters (react, vue, solid, svelte) and the md plugin
  • On Windows, path.relative() returns backslash-separated paths (e.g. blog\_Counter), causing data-island attributes and client hydration map keys to mismatch, breaking island HMR updates

Test plan

  • Verify island component HMR updates without full page reload passes on Windows CI
  • Verify all island-related integration tests pass on both Linux and Windows

@Brooooooklyn
Brooooooklyn merged commit 71e7e03 into main Apr 1, 2026
5 of 6 checks passed
@Brooooooklyn
Brooooooklyn deleted the 04-01-fix_normalize_island_id_paths_for_windows_compatibility branch April 1, 2026 11:47
cpojer pushed a commit that referenced this pull request Sep 11, 2026
Deployments stuck in active states (pending, uploading, migrating,
prerendering) would stay there forever if the deploy handler was killed
mid-execution, since the only recovery was the stale detection at the
start of the next deploy attempt for the same project.

- Add updated_at column to deployments, set on every status transition
- Add failStaleDeployments() to the scheduled cron, auto-failing any
  deployment whose last status change was more than 30 minutes ago
- Add a 5-minute AbortSignal timeout to the migration fetch so it fails
  cleanly instead of hanging until the runtime kills the handler

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Brooooooklyn added a commit that referenced this pull request Nov 24, 2026
…, show the last bypass

- waiting_scan copy (API and CLI) says when it waits for a deploy going live
  or for the project's Zero Trust row, not only for a scan (#75, #86).
- The CLI bypass sends the request it saw; the route takes `requestId`, so a
  bypass that loses to a protect gets 409 `public request closed` with its
  state instead of "no public request ... run public" (#72).
- Bypass refusals keep the API code, status and blockers in `--json` (#93).
- GET /projects/:id/zero-trust returns `lastBypass` (reason for deploy and
  up) and `zero-trust status` prints a "Last bypass" line (§13.3).
- `protect` that cancels an open request prints "Public request canceled.
  <slug> stays protected."; a held `public` prints the CLI request lines and
  "Check it: void project zero-trust status" (§11.4, §13.3, #80).
- A public-only Zero Trust switch with the gate on is refused with 409
  `security public gate on` before the existing-projects check (#64).
- Copy nits: "finishes" for one going-public project, the requester in the
  cancel preview, "failing since" from a stored start of the probe failure,
  bypass during a Zero Trust change says "Try again after it ends", and a
  passed request drops its held reason (#65, #87, #89, §5.2).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brooooooklyn added a commit that referenced this pull request Nov 24, 2026
…ode first

The CLI previews a configure before it runs it, so the preview route's
order decides what the user sees. It checked the existing-project choice
before the gate, so a public-only switch with the gate on still got
zero_trust_unavailable instead of 409 'security public gate on' (#64).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants