Skip to content

fix(web): reject non-string connected repo coordinates - #235

Open
dirtybits wants to merge 1 commit into
mainfrom
fix/validate-connected-repo-coordinate-types
Open

dirtybits wants to merge 1 commit into
mainfrom
fix/validate-connected-repo-coordinate-types

Conversation

@dirtybits

Copy link
Copy Markdown
Owner

Summary

  • reject non-string GitHub owner and repository coordinates before regex validation can coerce them
  • cover numeric, object, and array coordinate inputs alongside the existing branch-input guard

Test plan

  • npm test --workspace @agentvouch/web -- __tests__/lib/mirror-connectedRepos.test.ts --maxWorkers=1 --no-fileParallelism
  • npm run check — format, lint, typecheck, and all 1,394 tests passed; the final webpack production build compiled successfully but failed only during /sitemap.xml prerender because this cron worktree has no DATABASE_URL in web/.env.local
  • git diff --check

Not verified

  • A complete production build and any database-backed runtime flow were not verified because this worktree lacks the required DATABASE_URL.

This branch was successfully deployed

1 active deployment
Preview — 516bb660 Deployed Oct 11, 2026 by vercel[bot]
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.

1 participant