Repository navigation
Re-vendor resume-master 2.1.1 - #22
Merged
Merged
Conversation
Invalid JSON on an OK response now throws a plain getResume request failed error with no cause, so upstream body text cannot leak. Co-authored-by: Grant Lindsay <glindsay65@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
[Susan (Grok Bot)]
Re-vendors the Fast Dog Coding website onto the resume-master 2.1.1 portfolio client.
The bundle was built from v2.1.1 at
3d941c4(3d941c41da12f25abce4a024798c293bc31cfe6f) withnpm ci && npm run vendoron Node 26, and handed in because this agent cannot read the private resume-master repo. The four generated files were copied exactly and were not hand-edited.packages/resume-masterhad no repo-owned files outside that drop-in.Client change
Nothing else changed from 2.1.0. When an OK response has a body that is not JSON,
getResumenow throws a plainError("getResume request failed")with no cause. Before,response.json()threw directly, and upstream body text could leak into that error. Transport failures already used the same message. A non-OK status still throwsgetResume failed with HTTP <status>and does not read the body.src/lib/__tests__/resume-adapter.test.tswas the only caller that expected the old/not valid JSON/text. It now expectsgetResume request failed, asserts there is nocause, and asserts the upstream body text does not appear in the error.The app version stays
1.2.0. No Neon sync was run.mainwas not touched.vendorStamp
Before (2.1.0):
clientId:portfolioversion:2.1.0commit:1d71be85118ef86ec595dd1b24987745920886c4generatedAt:2026-11-05T20:44:57.748ZAfter (2.1.1):
clientId:portfolioversion:2.1.1commit:3d941c41da12f25abce4a024798c293bc31cfe6fgeneratedAt:2026-11-11T18:34:38.178Zpackage-lock.jsonrecords@fastdogcoding/resume-master2.1.1for thefile:./packages/resume-masterdependency. That version was updated bynpm install, not by hand.Results
Node used:
v22.23.4(npm10.9.9). The repo declaresengines.node>=20. CI (.github/workflows/ci.yml) uses Node 24. This PR does not change the repo's Node version.npm installexited 0. The lockfile diff is onlypackages/resume-master2.1.0→2.1.1. Prisma generate ran in postinstall.npm ciexited 0. Added 713 packages and generated the Prisma client (v7.8.0).npm run test:run(NODE_ENV=test vitest run) exited 0. 9 files, 68 tests passed.npx tsc --noEmitexited 0.npx next build(Next.js 16.2.6) compiled successfully and finished its TypeScript check, then failed while collecting page data for/api/sync:DATABASE_URL environment variable is not set. This environment has no database.npm run build(scripts/vercel-build.sh) also runsprisma db push, so it was not used. No Neon or production database was contacted.npm run lintexited 1 with 15 problems (11 errors, 4 warnings) in files this PR does not change:HeaderNav.tsx(react-hooks/set-state-in-effect),SiteFooter.tsxandSiteHeader.tsx(@next/next/no-html-link-for-pages),TestimonialSection.tsx(react-hooks/purity), plus warnings inGalleryGrid.tsx,temp.ts, andvitest.setup.ts. CI on this repo runsnpm run test:runonly.