Skip to content

Repair post-merge CI, search, and repository hardening#6

Merged
drftstatic merged 8 commits into
mainfrom
codex/repair-post-merge
Jul 19, 2026
Merged

Repair post-merge CI, search, and repository hardening#6
drftstatic merged 8 commits into
mainfrom
codex/repair-post-merge

Conversation

@drftstatic

@drftstatic drftstatic commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Summary

Repairs the post-merge regression and hardens the repository in a reviewable sequence.

  • repair the npm 10 lockfile/CI install failure
  • restore a single owner for video-search synchronization and reliable loading state
  • remove the unused Google Cloud Storage dependency and update safe production dependencies
  • make the local entry point the sole HTTP server owner
  • replace full response logging with compact metadata and preserve unhandled error visibility
  • remove verbose Archive.org payload/sample logging
  • fix malformed Hogan, DX, and Max Headroom gradient CSS
  • remove the type-only @vercel/node dependency and upgrade to Vite 7
  • make the serverless ESM graph resolvable by Vercel's Node runtime

Verification

  • npm ci with Node 20.20.2 / npm 10.8.2
  • npm run check
  • npm run build (no CSS parser or stale Browserslist warnings)
  • drizzle-kit check
  • production npm audit: 0 vulnerabilities
  • full npm audit: 4 moderate, dev-only findings, all from the deprecated esbuild loader bundled by the latest stable drizzle-kit; npm's proposed fix is an unsafe downgrade
  • browser smoke test: page renders, rapid query replacement resolves to the latest query, Archive.org results load, and NWO/DX/Max Headroom gradients compute correctly
  • GitHub Actions: passing
  • Vercel Git preview: passing
  • exact-HEAD protected Vercel preview: HTML 200 and serverless /api/search returns a real result

Preview

Protected exact-HEAD preview: https://staticbuffet-50crmia6r-fladry-creative.vercel.app

@vercel

vercel Bot commented Jul 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
staticbuffet Ready Ready Preview, Comment Jul 19, 2026 9:14pm

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the useVideoSearch hook to accept a syncToStore option, allowing multiple observers to use the hook without duplicating state syncs in the Zustand store. It also introduces deduplication of search results by identifier when appending pages. The review feedback highlights two important improvements: adding a cleanup function to the loading state effect to prevent the global loading state from getting stuck on unmount, and introducing defensive checks when mapping search results to avoid potential runtime crashes from malformed API data.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread client/src/hooks/use-video-search.ts
Comment thread client/src/hooks/use-video-search.ts Outdated
Addresses PR review feedback on use-video-search:
- reset the global loading flag when the syncing observer unmounts so
  the UI can't get stuck loading if a request is still in flight
- filter out docs and stored results without identifiers before keying
  the dedupe map, protecting the render tree from malformed payloads

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@drftstatic
drftstatic marked this pull request as ready for review July 19, 2026 21:28
@drftstatic
drftstatic merged commit 811aa5c into main Jul 19, 2026
3 checks passed
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