Repository navigation
Conversation
shulaoda
marked this pull request as ready for review
April 3, 2026 07:25
cpojer
approved these changes
Apr 3, 2026
shulaoda
deleted the
04-03-fix_normalize_drizzle_schema_paths_for_windows_compatibility
branch
April 3, 2026 07:46
cpojer
pushed a commit
that referenced
this pull request
Apr 3, 2026
cpojer
added a commit
that referenced
this pull request
Sep 11, 2026
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
discoverSchema()usingtoSlash(), soschema.pathalways uses forward slashes regardless of platformposix.joininstead ofpath.joinfor@schema/subpath resolution inresolveId, preventing backslash module IDs on Windowsschema.pathis now pre-normalized, remove the per-comparisonnormalizePath(schema.path)— but keepnormalizePath(importer)since Vite'simporterargument is not guaranteed to be normalizedRoot cause
On Windows,
path.join(root, "db", "schema.ts")produces backslash paths (e.g.D:\a\void\void\db\schema.ts). These flowed into two places:resolveIdcomparisons —schema.pathwith backslashes never matched the (potentially normalized)importer, causing schema files to be incorrectly redirected to the runtime DB virtual module instead of the schema-only stub, triggering circular dependenciesresolveIdreturn values —@schema/subpath resolution viapath.joinreturned backslash module IDs that Vite cannot resolve, breaking imports in meta-framework SSR environments (Astro workerd runner, etc.)Test plan