Skip to content

feat(backend): enforce sibling-device envelope coverage on send and edit (#188) #154

feat(backend): enforce sibling-device envelope coverage on send and edit (#188)

feat(backend): enforce sibling-device envelope coverage on send and edit (#188) #154

Re-run triggered June 29, 2026 13:24
Status Failure
Total duration 31s
Artifacts

backend-ci.yml

on: pull_request
Format · Lint · Test
25s
Format · Lint · Test
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 11 warnings
Format · Lint · Test
Process completed with exit code 1.
src/__tests__/selfSync.test.ts > send_message — sibling device enforcement (#188) > freshly linked sibling causes subsequent sends to fail without its envelope: apps/backend/src/services/deliveryPipeline.ts#L33
TypeError: db.select is not a function ❯ deliverMessage src/services/deliveryPipeline.ts:33:6 ❯ src/socket/messaging.ts:172:13 ❯ src/__tests__/selfSync.test.ts:279:5
src/__tests__/selfSync.test.ts > send_message — sibling device enforcement (#188) > does not require envelopes for revoked sibling devices: apps/backend/src/services/deliveryPipeline.ts#L33
TypeError: db.select is not a function ❯ deliverMessage src/services/deliveryPipeline.ts:33:6 ❯ src/socket/messaging.ts:172:13 ❯ src/__tests__/selfSync.test.ts:244:5
src/__tests__/selfSync.test.ts > send_message — sibling device enforcement (#188) > accepts a message that includes envelopes for all active siblings: apps/backend/src/services/deliveryPipeline.ts#L33
TypeError: db.select is not a function ❯ deliverMessage src/services/deliveryPipeline.ts:33:6 ❯ src/socket/messaging.ts:172:13 ❯ src/__tests__/selfSync.test.ts:179:5
src/__tests__/selfSync.test.ts > send_message — sibling device enforcement (#188) > accepts a message when the sender has no sibling devices: apps/backend/src/services/deliveryPipeline.ts#L33
TypeError: db.select is not a function ❯ deliverMessage src/services/deliveryPipeline.ts:33:6 ❯ src/socket/messaging.ts:172:13 ❯ src/__tests__/selfSync.test.ts:158:5
Format · Lint · Test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Format · Lint · Test: apps/backend/src/__tests__/users.test.ts#L301
Unexpected any. Specify a different type
Format · Lint · Test: apps/backend/src/__tests__/presence.test.ts#L93
Unexpected any. Specify a different type
Format · Lint · Test: apps/backend/src/__tests__/presence.test.ts#L92
Unexpected any. Specify a different type
Format · Lint · Test: apps/backend/src/__tests__/presence.test.ts#L88
Unexpected any. Specify a different type
Format · Lint · Test: apps/backend/src/__tests__/presence.test.ts#L86
Unexpected any. Specify a different type
Format · Lint · Test: apps/backend/src/__tests__/presence.test.ts#L82
Unexpected any. Specify a different type
Format · Lint · Test: apps/backend/src/__tests__/presence.test.ts#L80
Unexpected any. Specify a different type
Format · Lint · Test: apps/backend/src/__tests__/presence.test.ts#L79
Unexpected any. Specify a different type
Format · Lint · Test: apps/backend/src/__tests__/presence.test.ts#L72
Unexpected any. Specify a different type
Format · Lint · Test: apps/backend/src/__tests__/presence.test.ts#L67
Unexpected any. Specify a different type