fix(knowledge): make connector syncs resilient to removed credentials, partial outcomes and slow completion counts #32503
ci.yml
on: pull_request
Detect Version
Detect Desktop Changes
Prepare Trigger.dev
Matrix: Build AMD64
Matrix: Build Dev ECR
Matrix: Build ARM64 (GHCR Only)
Matrix: Test and Build / oauth-postgres
Matrix: Test and Build / test-shard
Test and Build
/
Lint and Test
2m 41s
Test and Build
/
Build App
3m 7s
Check Docs Changes
Migrate Dev DB
/
Apply Database Migrations
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Promote Trigger.dev
Prune Desktop Prereleases
0s
Matrix: Attest Images
Desktop Release
/
Build, Sign, Notarize
Annotations
9 errors and 4 warnings
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
Test and Build / PostgreSQL integration (migrate)
Process completed with exit code 1.
|
|
lib/knowledge/__integration__/connector-deferral.integration.ts > durable connector capacity deferrals > the task durably defers admission_unavailable and later resumes the same listing generation:
apps/sim/lib/knowledge/__integration__/connector-deferral.integration.ts#L108
AssertionError: expected { success: false, …(10) } to match object { outcome: 'deferred', …(1) }
(13 matching properties omitted from actual)
- Expected
+ Received
{
- "deferred": {
- "providerId": "github-rest",
- "reason": "admission_unavailable",
- },
- "outcome": "deferred",
+ "outcome": "skipped",
}
❯ lib/knowledge/__integration__/connector-deferral.integration.ts:108:21
|
|
lib/knowledge/__integration__/connector-deferral.integration.ts > durable connector capacity deferrals > the task durably defers admission_timeout and later resumes the same listing generation:
apps/sim/lib/knowledge/__integration__/connector-deferral.integration.ts#L108
AssertionError: expected { success: false, …(10) } to match object { outcome: 'deferred', …(1) }
(13 matching properties omitted from actual)
- Expected
+ Received
{
- "deferred": {
- "providerId": "github-rest",
- "reason": "admission_timeout",
- },
- "outcome": "deferred",
+ "outcome": "skipped",
}
❯ lib/knowledge/__integration__/connector-deferral.integration.ts:108:21
|
|
lib/knowledge/__integration__/connector-deferral.integration.ts > durable connector capacity deferrals > the task durably defers rate_limit and later resumes the same listing generation:
apps/sim/lib/knowledge/__integration__/connector-deferral.integration.ts#L108
AssertionError: expected { success: false, …(10) } to match object { outcome: 'deferred', …(1) }
(13 matching properties omitted from actual)
- Expected
+ Received
{
- "deferred": {
- "providerId": "github-rest",
- "reason": "rate_limit",
- },
- "outcome": "deferred",
+ "outcome": "skipped",
}
❯ lib/knowledge/__integration__/connector-deferral.integration.ts:108:21
|
|
Test and Build / PostgreSQL integration (push)
Process completed with exit code 1.
|
|
lib/knowledge/__integration__/connector-deferral.integration.ts > durable connector capacity deferrals > the task durably defers admission_unavailable and later resumes the same listing generation:
apps/sim/lib/knowledge/__integration__/connector-deferral.integration.ts#L108
AssertionError: expected { success: false, …(10) } to match object { outcome: 'deferred', …(1) }
(13 matching properties omitted from actual)
- Expected
+ Received
{
- "deferred": {
- "providerId": "github-rest",
- "reason": "admission_unavailable",
- },
- "outcome": "deferred",
+ "outcome": "skipped",
}
❯ lib/knowledge/__integration__/connector-deferral.integration.ts:108:21
|
|
lib/knowledge/__integration__/connector-deferral.integration.ts > durable connector capacity deferrals > the task durably defers admission_timeout and later resumes the same listing generation:
apps/sim/lib/knowledge/__integration__/connector-deferral.integration.ts#L108
AssertionError: expected { success: false, …(10) } to match object { outcome: 'deferred', …(1) }
(13 matching properties omitted from actual)
- Expected
+ Received
{
- "deferred": {
- "providerId": "github-rest",
- "reason": "admission_timeout",
- },
- "outcome": "deferred",
+ "outcome": "skipped",
}
❯ lib/knowledge/__integration__/connector-deferral.integration.ts:108:21
|
|
lib/knowledge/__integration__/connector-deferral.integration.ts > durable connector capacity deferrals > the task durably defers rate_limit and later resumes the same listing generation:
apps/sim/lib/knowledge/__integration__/connector-deferral.integration.ts#L108
AssertionError: expected { success: false, …(10) } to match object { outcome: 'deferred', …(1) }
(13 matching properties omitted from actual)
- Expected
+ Received
{
- "deferred": {
- "providerId": "github-rest",
- "reason": "rate_limit",
- },
- "outcome": "deferred",
+ "outcome": "skipped",
}
❯ lib/knowledge/__integration__/connector-deferral.integration.ts:108:21
|
|
Test and Build / PostgreSQL integration (migrate)
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / PostgreSQL integration (migrate)
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / PostgreSQL integration (push)
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / PostgreSQL integration (push)
Found 2 failed/cancelled steps in previous workflow steps
|