fix(v2): serve HEAD, advertise PATCH, and document the reachable 403 #26330
ci.yml
on: pull_request
Detect Version
Migrate Dev DB
/
Apply Database Migrations
Detect Desktop Changes
0s
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Test and Build
/
Lint and Test
3m 58s
Test and Build
/
Build App
3m 47s
Check Docs Changes
0s
Matrix: Build Dev ECR
Deploy Trigger.dev (Dev)
0s
Matrix: Create GHCR Manifests
Process Docs
/
Process Documentation Embeddings
Prune Desktop Prereleases
Desktop Release
/
Build, Sign, Notarize
Annotations
4 errors and 6 warnings
|
Test and Build / Lint and Test
Process completed with exit code 1.
|
|
proxy.test.ts > resolveApiCorsPolicy > returns default policy with APP_URL and credentials for other API routes:
apps/sim/proxy.test.ts#L127
AssertionError: expected { Object (origin, credentials, ...) } to deeply equal { Object (origin, credentials, ...) }
- Expected
+ Received
{
"credentials": true,
"headers": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version, X-API-Key, Authorization",
- "methods": "GET,POST,OPTIONS,PUT,DELETE",
+ "methods": "GET,HEAD,POST,PUT,PATCH,DELETE,OPTIONS",
"origin": "https://app.sim.test",
}
❯ proxy.test.ts:127:20
|
|
Test and Build / Lint and Test
sim#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 / 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
|