Rebase onto upstream/master (2026-08-26): 558 commits (d5b9f6c8..821573ed) #567
pr.yml
on: pull_request
policy
54s
Matrix: e2e_shards
Matrix: general_tests
Canary Dry Run
3m 8s
Matrix: verify_serialized_server
Annotations
66 errors and 2 warnings
|
Verify serialized server suites (5/5)
Process completed with exit code 1.
|
|
[@paperclipai/server] src/__tests__/health.test.ts > GET /health > surfaces redacted database backup warnings for anonymous authenticated probes:
server/src/__tests__/health.test.ts#L342
AssertionError: expected { status: 'ok', …(5) } to deeply equal { status: 'ok', …(7) }
- Expected
+ Received
{
"bootstrapInviteActive": false,
"bootstrapStatus": "ready",
"commit": "0123456789abcdef0123456789abcdef01234567",
- "databaseBackup": {
- "enabled": true,
- "status": "warning",
- "warnings": [
- {
- "code": "database_backup_stale",
- "message": "Latest database backup is stale.",
- },
- ],
- },
"deploymentExposure": "public",
"deploymentMode": "authenticated",
"status": "ok",
- "warnings": [
- {
- "code": "database_backup_stale",
- "message": "Latest database backup is stale.",
- },
- ],
}
❯ src/__tests__/health.test.ts:342:22
|
|
[@paperclipai/server] src/__tests__/health.test.ts > GET /health > finds conventional database backup failure markers without an explicit alert file:
server/src/__tests__/health.test.ts#L284
AssertionError: expected undefined to match object { status: 'warning', …(2) }
- Expected:
{
"lastFailure": {
"message": "db-backup-to-s3 failed beside backups",
"path": "/tmp/pcvt-3111-11-WUmIVB/t/paperclip-health-backups-root-yN9WPB/db-backup-to-s3.failure",
},
"status": "warning",
"warnings": [
{
"code": "database_backup_last_failure",
"message": "db-backup-to-s3 failed beside backups",
},
],
}
+ Received:
undefined
❯ src/__tests__/health.test.ts:284:37
|
|
[@paperclipai/server] src/__tests__/health.test.ts > GET /health > surfaces database backup failure markers in full health details:
server/src/__tests__/health.test.ts#L251
AssertionError: expected undefined to match object { status: 'warning', …(2) }
- Expected:
{
"lastFailure": {
"message": "db-backup-to-s3 failed at 2026-07-06T03:17:00.000Z exit=1",
"path": "/tmp/pcvt-3111-11-WUmIVB/t/paperclip-health-backups-6BqHZK/db-backup-to-s3.failure",
},
"status": "warning",
"warnings": [
{
"code": "database_backup_last_failure",
"message": "db-backup-to-s3 failed at 2026-07-06T03:17:00.000Z exit=1",
},
],
}
+ Received:
undefined
❯ src/__tests__/health.test.ts:251:37
|
|
[@paperclipai/server] src/__tests__/health.test.ts > GET /health > surfaces a stale database backup warning in full health details:
server/src/__tests__/health.test.ts#L217
AssertionError: expected undefined to match object { status: 'warning', …(4) }
- Expected:
{
"backupDir": "/tmp/pcvt-3111-11-WUmIVB/t/paperclip-health-backups-0u2668",
"latestBackup": {
"ageHours": 33.7,
"name": "paperclip-20260705-031702.sql.gz",
},
"maxAgeHours": 26,
"status": "warning",
"warnings": [
{
"code": "database_backup_stale",
},
],
}
+ Received:
undefined
❯ src/__tests__/health.test.ts:217:37
|
|
Typecheck + Release Registry
Cannot find name 'mockInstanceSettingsApi'.
|
|
Typecheck + Release Registry
Cannot find name 'instanceSettingsApi'.
|
|
Typecheck + Release Registry
Cannot find name 'instanceSettingsApi'.
|
|
Typecheck + Release Registry
Property 'enableManagedSandboxOnly' does not exist on type 'PublicFeatureFlags'.
|
|
Typecheck + Release Registry
Cannot find name 'instanceSettings'.
|
|
Typecheck + Release Registry
Property 'enableManagedSandboxOnly' does not exist on type 'PublicFeatureFlags'.
|
|
Typecheck + Release Registry
Property 'enableManagedSandboxOnly' does not exist on type 'PublicFeatureFlags'.
|
|
Typecheck + Release Registry
Cannot find name 'instanceSettings'.
|
|
Typecheck + Release Registry
Property 'enableManagedSandboxOnly' does not exist on type 'PublicFeatureFlags'.
|
|
Typecheck + Release Registry
Cannot find name 'instanceSettings'.
|
|
General tests (workspaces-b)
Process completed with exit code 1.
|
|
[@paperclipai/db] src/issue-thread-interaction-resolver-policy-migration.test.ts > issue interaction resolver policy migration > replays safely and completes a partial prior run:
packages/db/src/issue-thread-interaction-resolver-policy-migration.test.ts#L20
Error: ENOENT: no such file or directory, open '/home/runner/work/paperclip/paperclip/packages/db/src/migrations/0218_mushy_jack_murdock.sql'
❯ resolverPolicyMigrationStatements src/issue-thread-interaction-resolver-policy-migration.test.ts:20:24
❯ src/issue-thread-interaction-resolver-policy-migration.test.ts:95:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/paperclip/paperclip/packages/db/src/migrations/0218_mushy_jack_murdock.sql' }
|
|
[@paperclipai/db] src/issue-comment-on-behalf-migration.test.ts > issue comment on-behalf attribution migration > reapplies the migration and round-trips the nullable user attribution FK:
packages/db/src/issue-comment-on-behalf-migration.test.ts#L17
Error: ENOENT: no such file or directory, open '/home/runner/work/paperclip/paperclip/packages/db/src/migrations/0205_narrow_shiva.sql'
❯ migrationHash src/issue-comment-on-behalf-migration.test.ts:17:19
❯ src/issue-comment-on-behalf-migration.test.ts:38:79
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/paperclip/paperclip/packages/db/src/migrations/0205_narrow_shiva.sql' }
|
|
[@paperclipai/db] src/heartbeat-context-snapshot-index-migration.test.ts > heartbeat context_snapshot expression index migration > applies full migration chain and uses the new indexes:
packages/db/src/heartbeat-context-snapshot-index-migration.test.ts#L67
Error: ENOENT: no such file or directory, open '/home/runner/work/paperclip/paperclip/packages/db/src/migrations/0209_heartbeat_context_snapshot_indexes.sql'
❯ src/heartbeat-context-snapshot-index-migration.test.ts:67:28
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/paperclip/paperclip/packages/db/src/migrations/0209_heartbeat_context_snapshot_indexes.sql' }
|
|
[@paperclipai/db] src/decision-queue-migrations.test.ts > decision queue migrations > can be reapplied without changing schema or existing data:
packages/db/src/decision-queue-migrations.test.ts#L26
Error: ENOENT: no such file or directory, open '/home/runner/work/paperclip/paperclip/packages/db/src/migrations/0198_decision_queues_and_triage.sql'
❯ reapplyDecisionQueueMigrations src/decision-queue-migrations.test.ts:26:22
❯ src/decision-queue-migrations.test.ts:69:9
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/paperclip/paperclip/packages/db/src/migrations/0198_decision_queues_and_triage.sql' }
|
|
[@paperclipai/db] src/company-secret-proposals-migration.test.ts > company secret proposals migration > can be reapplied after its migration journal entry is removed:
packages/db/src/company-secret-proposals-migration.test.ts#L14
Error: ENOENT: no such file or directory, open '/home/runner/work/paperclip/paperclip/packages/db/src/migrations/0207_moaning_amazoness.sql'
❯ migrationHash src/company-secret-proposals-migration.test.ts:14:19
❯ src/company-secret-proposals-migration.test.ts:38:77
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/paperclip/paperclip/packages/db/src/migrations/0207_moaning_amazoness.sql' }
|
|
[@paperclipai/db] src/client.test.ts > applyPendingMigrations > preserves legacy runs while adding native persistence and replay-safe status versioning:
packages/db/src/client.test.ts#L26
Error: ENOENT: no such file or directory, open '/home/runner/work/paperclip/paperclip/packages/db/src/migrations/0227_modern_pandemic.sql'
❯ migrationHash src/client.test.ts:26:19
❯ src/client.test.ts:1415:37
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/paperclip/paperclip/packages/db/src/migrations/0227_modern_pandemic.sql' }
|
|
Verify serialized server suites (2/5)
Process completed with exit code 1.
|
|
[@paperclipai/server] src/__tests__/invite-url-public-base-url.test.ts > invite URL: authPublicBaseUrl precedence > strips trailing slash from authPublicBaseUrl before joining with invite path:
server/src/routes/access.ts#L2658
Error: [vitest] No "instanceSettingsService" export is defined on the "../services/index.js" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("../services/index.js"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ accessRoutes src/routes/access.ts:2658:28
❯ createApp src/__tests__/invite-url-public-base-url.test.ts:101:5
❯ src/__tests__/invite-url-public-base-url.test.ts:159:17
|
|
[@paperclipai/server] src/__tests__/invite-url-public-base-url.test.ts > invite URL: authPublicBaseUrl precedence > falls back to request-derived host when authPublicBaseUrl is not configured:
server/src/routes/access.ts#L2658
Error: [vitest] No "instanceSettingsService" export is defined on the "../services/index.js" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("../services/index.js"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ accessRoutes src/routes/access.ts:2658:28
❯ createApp src/__tests__/invite-url-public-base-url.test.ts:101:5
❯ src/__tests__/invite-url-public-base-url.test.ts:144:17
|
|
[@paperclipai/server] src/__tests__/invite-url-public-base-url.test.ts > invite URL: authPublicBaseUrl precedence > uses authPublicBaseUrl for inviteUrl when configured, ignoring request host:
server/src/routes/access.ts#L2658
Error: [vitest] No "instanceSettingsService" export is defined on the "../services/index.js" mock. Did you forget to return it from "vi.mock"?
If you need to partially mock a module, you can use "importOriginal" helper inside:
vi.mock(import("../services/index.js"), async (importOriginal) => {
const actual = await importOriginal()
return {
...actual,
// your mocked methods
}
})
❯ accessRoutes src/routes/access.ts:2658:28
❯ createApp src/__tests__/invite-url-public-base-url.test.ts:101:5
❯ src/__tests__/invite-url-public-base-url.test.ts:126:17
|
|
General tests (workspaces-a (2/2))
Canceling since a higher priority waiting request for pr-334 exists
|
|
[@paperclipai/ui] src/components/OnboardingWizard.step.test.tsx > OnboardingWizard — which step it lands on > opens on the agent step when the goals lookup fails outright:
ui/src/components/OnboardingWizard.step.test.tsx#L261
AssertionError: expected 'other' to be 'agent' // Object.is equality
Expected: "agent"
Received: "other"
❯ src/components/OnboardingWizard.step.test.tsx:261:27
|
|
[@paperclipai/ui] src/components/OnboardingWizard.step.test.tsx > OnboardingWizard — which step it lands on > opens on the agent step without waiting for the goals lookup:
ui/src/components/OnboardingWizard.step.test.tsx#L252
AssertionError: expected 'other' to be 'agent' // Object.is equality
Expected: "agent"
Received: "other"
❯ src/components/OnboardingWizard.step.test.tsx:252:27
|
|
[@paperclipai/ui] src/components/OnboardingWizard.step.test.tsx > OnboardingWizard — which step it lands on > opens a company that already has its mission on the agent step:
ui/src/components/OnboardingWizard.step.test.tsx#L233
AssertionError: expected 'other' to be 'agent' // Object.is equality
Expected: "agent"
Received: "other"
❯ src/components/OnboardingWizard.step.test.tsx:233:27
|
|
[@paperclipai/ui] src/pages/IssueDetail.test.tsx > IssueDetail > shows the properties sidebar immediately on a non-first task:
ui/src/pages/IssueDetail.test.tsx#L2301
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 1 times
Received:
1st vi.fn() call:
Array [
<IssueProperties
checkingMonitorNow={false}
childIssues={Array []}
documentDeepLink={null}
hasActiveRun={false}
issue={
Object {
"ancestors": Array [],
"assigneeAdapterOverrides": null,
"assigneeAgentId": null,
"assigneeUserId": null,
"billingCode": null,
"cancelledAt": null,
"checkoutRunId": null,
"companyId": "company-1",
"completedAt": null,
"createdAt": 2026-04-21T00:00:00.000Z,
"createdByAgentId": null,
"createdByUserId": null,
"currentExecutionWorkspace": null,
"description": "Loads after the initial pending query.",
"documentSummaries": Array [],
"executionAgentNameKey": null,
"executionLockedAt": null,
"executionPolicy": null,
"executionRunId": null,
"executionState": null,
"executionWorkspaceId": null,
"executionWorkspacePreference": null,
"executionWorkspaceSettings": null,
"goalId": "goal-1",
"hiddenAt": null,
"id": "issue-1",
"identifier": "PAP-1",
"issueNumber": 1,
"labelIds": Array [],
"labels": Array [],
"originFingerprint": "default",
"originId": null,
"originKind": "manual",
"originRunId": null,
"parentId": null,
"priority": "medium",
"projectId": null,
"projectWorkspaceId": null,
"requestDepth": 0,
"startedAt": null,
"status": "todo",
"title": "Issue detail smoke",
"updatedAt": 2026-04-21T00:00:00.000Z,
}
}
onAddSubIssue={[Function anonymous]}
onCheckMonitorNow={[Function onCheckMonitorNow]}
onUpdate={[Function anonymous]}
/>,
]
Number of calls: 1
❯ src/pages/IssueDetail.test.tsx:2301:31
|
|
[@paperclipai/ui] src/pages/IssueDetail.test.tsx > IssueDetail > shows the plan decomposition panel when the experimental flag is enabled:
ui/src/pages/IssueDetail.test.tsx#L2209
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 1 times
Received:
1st vi.fn() call:
Array [
<IssueProperties
checkingMonitorNow={false}
childIssues={Array []}
documentDeepLink={null}
hasActiveRun={false}
issue={
Object {
"ancestors": Array [],
"assigneeAdapterOverrides": null,
"assigneeAgentId": null,
"assigneeUserId": null,
"billingCode": null,
"cancelledAt": null,
"checkoutRunId": null,
"companyId": "company-1",
"completedAt": null,
"createdAt": 2026-04-21T00:00:00.000Z,
"createdByAgentId": null,
"createdByUserId": null,
"currentExecutionWorkspace": null,
"description": "Loads after the initial pending query.",
"documentSummaries": Array [],
"executionAgentNameKey": null,
"executionLockedAt": null,
"executionPolicy": null,
"executionRunId": null,
"executionState": null,
"executionWorkspaceId": null,
"executionWorkspacePreference": null,
"executionWorkspaceSettings": null,
"goalId": "goal-1",
"hiddenAt": null,
"id": "issue-1",
"identifier": "PAP-1",
"issueNumber": 1,
"labelIds": Array [],
"labels": Array [],
"originFingerprint": "default",
"originId": null,
"originKind": "manual",
"originRunId": null,
"parentId": null,
"priority": "medium",
"projectId": null,
"projectWorkspaceId": null,
"requestDepth": 0,
"startedAt": null,
"status": "todo",
"title": "Issue detail smoke",
"updatedAt": 2026-04-21T00:00:00.000Z,
}
}
onAddSubIssue={[Function anonymous]}
onCheckMonitorNow={[Function onCheckMonitorNow]}
onUpdate={[Function anonymous]}
/>,
]
Number of calls: 1
❯ src/pages/IssueDetail.test.tsx:2209:31
|
|
[@paperclipai/ui] src/pages/InviteLanding.test.tsx > InviteLandingPage > refreshes the companies cache with the joined company before redirecting a fresh authenticated invitee:
ui/src/pages/InviteLanding.test.tsx#L638
AssertionError: expected 1 to be greater than 2
❯ src/pages/InviteLanding.test.tsx:638:49
|
|
[@paperclipai/ui] src/pages/CloudUpstream.test.tsx > CloudUpstream > keeps retry only for failed or cancelled runs:
ui/src/pages/CloudUpstream.test.tsx#L319
AssertionError: expected '' to contain 'Retry'
- Expected
+ Received
- Retry
❯ src/pages/CloudUpstream.test.tsx:319:35
|
|
[@paperclipai/ui] src/pages/CloudUpstream.test.tsx > CloudUpstream > does not retry the OAuth callback finish mutation after an error:
ui/src/pages/CloudUpstream.test.tsx#L293
AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times
❯ src/pages/CloudUpstream.test.tsx:293:51
|
|
[@paperclipai/ui] src/pages/CloudUpstream.test.tsx > CloudUpstream > sends a company-prefixed redirectUri when starting Connect:
ui/src/pages/CloudUpstream.test.tsx#L181
AssertionError: expected null to be truthy
- Expected:
true
+ Received:
null
❯ src/pages/CloudUpstream.test.tsx:181:19
|
|
[@paperclipai/ui] src/pages/CloudUpstream.test.tsx > CloudUpstream > binds the succeeded run activation checklist to imported category counts:
ui/src/pages/CloudUpstream.test.tsx#L133
AssertionError: expected '' to contain 'Re-run'
- Expected
+ Received
- Re-run
❯ src/pages/CloudUpstream.test.tsx:133:35
|
|
General tests (server (1/5))
Canceling since a higher priority waiting request for pr-334 exists
|
|
General tests (server (1/5))
The operation was canceled.
|
|
General tests (server (2/5))
Canceling since a higher priority waiting request for pr-334 exists
|
|
General tests (server (2/5))
The operation was canceled.
|
|
General tests (server (4/5))
Canceling since a higher priority waiting request for pr-334 exists
|
|
General tests (server (4/5))
The operation was canceled.
|
|
General tests (server (3/5))
Canceling since a higher priority waiting request for pr-334 exists
|
|
General tests (server (3/5))
The operation was canceled.
|
|
Verify serialized server suites (1/5)
Canceling since a higher priority waiting request for pr-334 exists
|
|
Verify serialized server suites (1/5)
The operation was canceled.
|
|
Canary Dry Run
Canceling since a higher priority waiting request for pr-334 exists
|
|
Canary Dry Run
The operation was canceled.
|
|
Verify serialized server suites (3/5)
Canceling since a higher priority waiting request for pr-334 exists
|
|
Verify serialized server suites (3/5)
The operation was canceled.
|
|
e2e shard (2/3)
Canceling since a higher priority waiting request for pr-334 exists
|
|
e2e shard (2/3)
The operation was canceled.
|
|
General tests (server (5/5))
Canceling since a higher priority waiting request for pr-334 exists
|
|
General tests (server (5/5))
The operation was canceled.
|
|
e2e shard (1/3)
Canceling since a higher priority waiting request for pr-334 exists
|
|
e2e shard (1/3)
The operation was canceled.
|
|
Verify serialized server suites (4/5)
Canceling since a higher priority waiting request for pr-334 exists
|
|
Verify serialized server suites (4/5)
The operation was canceled.
|
|
General tests (workspaces-a (1/2))
Canceling since a higher priority waiting request for pr-334 exists
|
|
General tests (workspaces-a (1/2))
The operation was canceled.
|
|
e2e shard (3/3)
Canceling since a higher priority waiting request for pr-334 exists
|
|
e2e shard (3/3)
The operation was canceled.
|
|
verify
Process completed with exit code 1.
|
|
e2e
Process completed with exit code 1.
|
|
PR
Canceling since a higher priority waiting request for pr-334 exists
|
|
e2e shard (2/3)
No files were found with the provided path: tests/e2e/playwright-report/
tests/e2e/test-results/. No artifacts will be uploaded.
|
|
e2e shard (1/3)
No files were found with the provided path: tests/e2e/playwright-report/
tests/e2e/test-results/. No artifacts will be uploaded.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report-2
|
45.3 KB |
sha256:5e73805f0ad6050df3a01e9d90c29d0e67cc71c59e8c7bd437b9c065c4443d30
|
|
|
pr-lockfile
Expired
|
159 KB |
sha256:6922cfab603a26227dd4cf31b0cacb7c31cf6284ed9aa9b7bcbcf230eb4da7a4
|
|