Skip to content

fix(files): hydrate chat attachments and reject blank download URLs #31608

fix(files): hydrate chat attachments and reject blank download URLs

fix(files): hydrate chat attachments and reject blank download URLs #31608

Triggered via pull request September 15, 2026 23:51
Status Failure
Total duration 4m 18s
Artifacts

ci.yml

on: pull_request
Detect Version
0s
Detect Version
Migrate Dev DB  /  Apply Database Migrations
Migrate Dev DB / Apply Database Migrations
Detect Desktop Changes
0s
Detect Desktop Changes
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Matrix: Test and Build / oauth-postgres
Matrix: Test and Build / test-shard
Test and Build  /  Lint and Test
3m 6s
Test and Build / Lint and Test
Test and Build  /  Build App
3m 54s
Test and Build / Build App
Check Docs Changes
0s
Check Docs Changes
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
0s
Deploy Trigger.dev (Dev)
Check Desktop Signing Secrets
0s
Check Desktop Signing Secrets
Migrate DB  /  Apply Database Migrations
Migrate DB / Apply Database Migrations
Create Desktop Prerelease
0s
Create Desktop Prerelease
Promote Images
Promote Images
Desktop Prerelease Build  /  Build, Sign, Notarize
Desktop Prerelease Build / Build, Sign, Notarize
Matrix: Create GHCR Manifests
Process Docs  /  Process Documentation Embeddings
Process Docs / Process Documentation Embeddings
Publish Desktop Prerelease
Publish Desktop Prerelease
Resolve Attestation Subjects
Resolve Attestation Subjects
Prune Desktop Prereleases
Prune Desktop Prereleases
Matrix: Attest Images
Create GitHub Release
Create GitHub Release
Desktop Release  /  Build, Sign, Notarize
Desktop Release / Build, Sign, Notarize
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 6 warnings
Test and Build / Test (shard 3)
Process completed with exit code 1.
lib/internal/file/operations.test.ts > file manage operations > returns incomplete provenance for an input that cannot bind to a canonical file row: apps/sim/lib/internal/file/operations.test.ts#L2147
AssertionError: expected 404 to be 200 // Object.is equality - Expected + Received - 200 + 404 ❯ lib/internal/file/operations.test.ts:2147:29
lib/internal/file/operations.test.ts > file manage operations > overwrites an existing file with the bytes of a stored file input: apps/sim/lib/internal/file/operations.test.ts#L1766
AssertionError: expected 404 to be 200 // Object.is equality - Expected + Received - 200 + 404 ❯ lib/internal/file/operations.test.ts:1766:29
lib/internal/file/operations.test.ts > file manage operations > rendered file contributors > write retains the secret owner guard for rendered contributors: apps/sim/lib/internal/file/operations.test.ts#L1321
AssertionError: {"success":false,"error":"File not found"}: expected 404 to be 200 // Object.is equality - Expected + Received - 200 + 404 ❯ lib/internal/file/operations.test.ts:1321:64
lib/internal/file/operations.test.ts > file manage operations > rendered file contributors > write does not replace an older rendered revision with a safe revision of the same file: apps/sim/lib/internal/file/operations.test.ts#L1284
AssertionError: {"success":false,"error":"File not found"}: expected 404 to be 200 // Object.is equality - Expected + Received - 200 + 404 ❯ lib/internal/file/operations.test.ts:1284:64
lib/internal/file/operations.test.ts > file manage operations > rendered file contributors > write preserves unknown rendered-asset provenance: apps/sim/lib/internal/file/operations.test.ts#L1253
AssertionError: {"success":false,"error":"File not found"}: expected 404 to be 200 // Object.is equality - Expected + Received - 200 + 404 ❯ lib/internal/file/operations.test.ts:1253:64
lib/internal/file/operations.test.ts > file manage operations > rendered file contributors > write keeps transformed secret-bearing assets unknown even when the source is exact-empty: apps/sim/lib/internal/file/operations.test.ts#L1212
AssertionError: {"success":false,"error":"File not found"}: expected 404 to be 200 // Object.is equality - Expected + Received - 200 + 404 ❯ lib/internal/file/operations.test.ts:1212:64
Test and Build / Test (shard 3)
@sim/app#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
Test and Build / Lint and Test
Process completed with exit code 1.
Test and Build / Test (shard 3)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 3)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 3)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 3)
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test (shard 3)
Skipping sticky disk commit due to previous step failures
Test and Build / Test (shard 3)
Found 2 failed/cancelled steps in previous workflow steps