node version updated from 18 to 22.x on github workflows and Dockerfile#2341
node version updated from 18 to 22.x on github workflows and Dockerfile#2341pwilczynskiclearcode merged 1 commit intomasterfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
💡 Enable Vercel Agent with $100 free credit for automated AI reviews |
199a558 to
aa1c03b
Compare
There was a problem hiding this comment.
amazing ty thought i'd need to do this myself 😅
cc @junhyr @gioelecerati the "node bump" you made recently has left the master branch broken for over a month now. I now need to do some urgent changes to fix production issues we are having and am hitting this broken repository that was left behind. Please avoid doing so in the future and only consider the work done after you get a clean build on the main branch.
|
@victorges @junhyr FAIL src/controllers/generate.test.ts (6.477 s)
● controllers/generate › generate route › should call the AI Gateway for generate API /llm
expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 422
250 | body: buildForm({ prompt: "foo" }),
251 | });
> 252 | expect(res.status).toBe(200);
| ^
253 | expect(await res.json()).toEqual({
254 | message: "success",
255 | reqContentType: expect.stringMatching("^multipart/form-data"),
at Object.toBe (src/controllers/generate.test.ts:252:26)
● controllers/generate › beta generate route › should call the AI Gateway for generate API /llm
expect(received).toBe(expected) // Object.is equality
Expected: 200
Received: 422
250 | body: buildForm({ prompt: "foo" }),
251 | });
> 252 | expect(res.status).toBe(200);
| ^
253 | expect(await res.json()).toEqual({
254 | message: "success",
255 | reqContentType: expect.stringMatching("^multipart/form-data"),
at Object.toBe (src/controllers/generate.test.ts:252:26)
Test Suites: 1 failed, 35 passed, 36 total
Tests: 2 failed, 495 passed, 497 total
Snapshots: 0 total
Time: 115.407 s
Jest did not exit one second after the test run has completed. |
|
Thanks @pwilczynskiclearcode . This is because of the changes I made on the ai handlers. Not critical as I'm just matching the breaking changes made in the batch AI APIs, but I'll fix them today. |
Following up #2338