improvement(self-host): simplify capability setup configuration #24900
ci.yml
on: pull_request
Detect Version
0s
Migrate Dev DB
/
Apply Database Migrations
Detect Desktop Changes
0s
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Test and Build
/
Lint and Test
1m 27s
Test and Build
/
Build App
3m 1s
Check Docs Changes
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
0s
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Prune Desktop Prereleases
0s
Desktop Release
/
Build, Sign, Notarize
Annotations
3 errors and 6 warnings
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
error: expect(received).toMatchObject(expected):
scripts/setup/configuration-sources.test.ts#L59
{
+ "configurationIssues": [
+ "apps/sim/.env: DATABASE_URL is missing, empty, or a placeholder",
+ "apps/sim/.env: BETTER_AUTH_SECRET is missing, empty, or a placeholder",
+ "apps/sim/.env: BETTER_AUTH_URL is missing, empty, or a placeholder",
+ "apps/sim/.env: NEXT_PUBLIC_APP_URL is missing, empty, or a placeholder",
+ "apps/sim/.env: ENCRYPTION_KEY is missing, empty, or a placeholder",
+ "apps/sim/.env: INTERNAL_API_SECRET is missing, empty, or a placeholder",
+ "apps/realtime/.env: DATABASE_URL is missing, empty, or a placeholder",
+ "apps/realtime/.env: BETTER_AUTH_URL is missing, empty, or a placeholder",
+ "apps/realtime/.env: BETTER_AUTH_SECRET is missing, empty, or a placeholder",
+ "apps/realtime/.env: INTERNAL_API_SECRET is missing, empty, or a placeholder",
+ "apps/realtime/.env: NEXT_PUBLIC_APP_URL is missing, empty, or a placeholder",
+ ],
"kind": "dev",
- "managedByCurrentCheckout": true,
+ "label": "Current checkout (development)",
+ "location": "process environment + /tmp/sim-configuration-sources-uL1x0L/apps/sim/.env",
+ "managedByCurrentCheckout": false,
+ "values":
+ Map {
+ "RESEND_API_KEY" => "dev-email",
+ "DATABASE_URL" => "***localhost:5432/simstudio",
+ "NEXT_PUBLIC_APP_URL" => "https://www.sim.ai",
+ "ENCRYPTION_KEY" => "7cf672e460e430c1fba707575c2b0e2ad5a99dddf9b7b7e3b5646e630861db1c",
+ }
+ ,
}
- Expected - 1
+ Received + 24
at <anonymous> (/home/runner/_work/sim/sim/scripts/setup/configuration-sources.test.ts:59:24)
|
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|
|
Test and Build / Lint and Test
Skipping sticky disk commit due to previous step failures
|
|
Test and Build / Lint and Test
Found 2 failed/cancelled steps in previous workflow steps
|