Skip to content

fix(tests): improve test isolation in FeedService tests #3

fix(tests): improve test isolation in FeedService tests

fix(tests): improve test isolation in FeedService tests #3

Triggered via push May 6, 2026 11:06
Status Failure
Total duration 1m 8s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 13 warnings
error: expect(received).toBe(expected): server/src/services/__tests__/feed.test.ts#L432
Expected: 200 Received: 500 at <anonymous> (/home/runner/work/Rin/Rin/server/src/services/__tests__/feed.test.ts:432:38)
error: expect(received).toBe(expected): server/src/services/__tests__/feed.test.ts#L397
Expected: 200 Received: 500 at <anonymous> (/home/runner/work/Rin/Rin/server/src/services/__tests__/feed.test.ts:397:38)
error: expect(received).toBe(expected): server/src/services/__tests__/feed.test.ts#L355
Expected: 200 Received: 500 at <anonymous> (/home/runner/work/Rin/Rin/server/src/services/__tests__/feed.test.ts:355:38)
error: expect(received).toBe(expected): server/src/services/__tests__/feed.test.ts#L279
Expected: 200 Received: 500 at <anonymous> (/home/runner/work/Rin/Rin/server/src/services/__tests__/feed.test.ts:279:32)
SyntaxError: Failed to parse JSON: server/src/services/__tests__/feed.test.ts#L238
at <anonymous> (/home/runner/work/Rin/Rin/server/src/services/__tests__/feed.test.ts:238:48)
SyntaxError: Failed to parse JSON: server/src/services/__tests__/feed.test.ts#L204
at <anonymous> (/home/runner/work/Rin/Rin/server/src/services/__tests__/feed.test.ts:204:48)
error: expect(received).toBe(expected): server/src/services/__tests__/feed.test.ts#L173
Expected: 200 Received: 500 at <anonymous> (/home/runner/work/Rin/Rin/server/src/services/__tests__/feed.test.ts:173:38)
error: expect(received).toBe(expected): server/src/services/__tests__/feed.test.ts#L70
Expected: 200 Received: 500 at <anonymous> (/home/runner/work/Rin/Rin/server/src/services/__tests__/feed.test.ts:70:33)
error: expect(received).toBe(expected): server/src/services/__tests__/feed.test.ts#L432
Expected: 200 Received: 500 at <anonymous> (/home/runner/work/Rin/Rin/server/src/services/__tests__/feed.test.ts:432:38)
error: expect(received).toBe(expected): server/src/services/__tests__/feed.test.ts#L397
Expected: 200 Received: 500 at <anonymous> (/home/runner/work/Rin/Rin/server/src/services/__tests__/feed.test.ts:397:38)
error: expect(received).toBe(expected): server/src/services/__tests__/feed.test.ts#L355
Expected: 200 Received: 500 at <anonymous> (/home/runner/work/Rin/Rin/server/src/services/__tests__/feed.test.ts:355:38)
error: expect(received).toBe(expected): server/src/services/__tests__/feed.test.ts#L279
Expected: 200 Received: 500 at <anonymous> (/home/runner/work/Rin/Rin/server/src/services/__tests__/feed.test.ts:279:32)
SyntaxError: Failed to parse JSON: server/src/services/__tests__/feed.test.ts#L238
at <anonymous> (/home/runner/work/Rin/Rin/server/src/services/__tests__/feed.test.ts:238:48)
SyntaxError: Failed to parse JSON: server/src/services/__tests__/feed.test.ts#L204
at <anonymous> (/home/runner/work/Rin/Rin/server/src/services/__tests__/feed.test.ts:204:48)
error: expect(received).toBe(expected): server/src/services/__tests__/feed.test.ts#L173
Expected: 200 Received: 500 at <anonymous> (/home/runner/work/Rin/Rin/server/src/services/__tests__/feed.test.ts:173:38)
error: expect(received).toBe(expected): server/src/services/__tests__/feed.test.ts#L70
Expected: 200 Received: 500 at <anonymous> (/home/runner/work/Rin/Rin/server/src/services/__tests__/feed.test.ts:70:33)
coverage
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, oven-sh/setup-bun@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
coverage
Failed to restore: Cache service responded with 400
test-server
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, oven-sh/setup-bun@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
format-check
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, oven-sh/setup-bun@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
format-check
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>00iD7aQAAAADMVeYh1c6lQLdQf76Lx9l4UEhMMzBFREdFMDQxNgBFZGdl
format-check
Failed to restore: Cache service responded with 400
test-server
Failed to restore: Cache service responded with 400
typecheck
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, oven-sh/setup-bun@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
typecheck
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>03yD7aQAAAAD6AG2/A16zQ4eh/Pzn0uyaUEFPRURHRTA2MTUARWRnZQ==
typecheck
Failed to restore: Cache service responded with 400
test-client
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, oven-sh/setup-bun@v1. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test-client
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0/SD7aQAAAADf0WBs0J73QJ7HupISYiDEU0xDMzFFREdFMDcxNgBFZGdl
test-client
Failed to restore: Cache service responded with 400