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 — fix(scripts): normalize Windows path separators in validation scripts by sahooarnav2007-gif · Pull Request #9400 · simstudioai/sim

Conversation

@sahooarnav2007-gif

@sahooarnav2007-gif sahooarnav2007-gif commented Oct 27, 2026

Copy link
Copy Markdown

Summary

Normalizes path separators in scripts/check-tool-registry-boundary.ts and scripts/check-api-validation-contracts.ts to ensure consistent cross-platform execution on Windows environments.

Problems Resolved:

  1. check-tool-registry-boundary.ts: collectEntries() emitted relative paths with Windows backslashes (\), causing all 85 entries to fail comparison against check-tool-registry-boundary.baseline.json as unbaselined/removed.
  2. check-api-validation-contracts.ts: INDIRECT_ZOD_ROUTES.has(relativePath) failed for all 55 exempted routes due to backslash paths, falsely reporting non-Zod routes increased from 0 to 55. In addition, routeFamily() prefix stripping and isApiRouteHandler() / isClientHookFile() failed when comparing POSIX paths against Windows directory paths.

Product update (if relevant)

N/A — Developer tooling and CI verification fix for Windows environments.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Other: _____

Testing

  • Verified bun run check:tool-registry-boundary on Windows: passes cleanly with all 85 entry graphs matching baseline.
  • Verified bun run check:api-validation on Windows: passes cleanly with 895/895 Zod-backed routes and 0 non-Zod routes.
  • Verified code style and formatting with bunx biome check.

Checklist

  • Code follows project style guidelines
  • Self reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Screenshots/Videos

terminal_verification

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

greptile-apps[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Arnav
fix(scripts): normalize Windows path separators in validation scripts
64ae9c0
@vercel

vercel Bot commented Oct 27, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Sim Team on Vercel.

A member of the Team first needs to authorize it.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@greptile-apps

greptile-apps Bot commented Oct 27, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge.

Summary

This PR makes path comparisons consistent on Windows in two validation scripts.

  • The API validation check uses forward slashes when matching routes and folders.
  • The registry boundary check writes discovered entry names with forward slashes.

No actionable issues found. This review checked the code paths; it did not run the scripts on Windows.

Reviews (1) · Last reviewed commit: "fix(scripts): normalize Windows path sep..." · Reviewed by Greptile

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This branch has not been deployed

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

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@sahooarnav2007-gif
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.
You are visitor 01402503 — 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.